AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Glue::CustomEntityType

CfnCustomEntityType

Creates a custom pattern that is used to detect sensitive data across the columns and rows of your structured data. Each custom pattern you create specifies a regular expression and an optional list of context words. If no context words are passed only a regular expression is checked.

Import

import { CfnCustomEntityType } from 'aws-cdk-lib/aws-glue';

Or use the module namespace:

import * as glue from 'aws-cdk-lib/aws-glue';
// glue.CfnCustomEntityType

Properties

Configuration passed to the constructor as CfnCustomEntityTypeProps.

contextWordsOptional
string[]

A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data. If no context words are passed only a regular expression is checked.

nameOptional
string

A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per AWS account.

regexStringOptional
string

A regular expression string that is used for detecting sensitive data in a custom pattern.

tagsOptional
any

AWS tags that contain a key value pair and may be searched by console, command line, or API.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter