CfnCustomEntityTypeProps

class aws_cdk.aws_glue.CfnCustomEntityTypeProps(*, context_words=None, name=None, regex_string=None, tags=None)

Bases: object

Properties for defining a CfnCustomEntityType.

Parameters:
  • context_words (Optional[Sequence[str]]) – 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.

  • name (Optional[str]) – A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per AWS account.

  • regex_string (Optional[str]) – A regular expression string that is used for detecting sensitive data in a custom pattern.

  • tags (Optional[Any]) – AWS tags that contain a key value pair and may be searched by console, command line, or API.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-customentitytype.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue

# tags: Any

cfn_custom_entity_type_props = glue.CfnCustomEntityTypeProps(
    context_words=["contextWords"],
    name="name",
    regex_string="regexString",
    tags=tags
)

Attributes

context_words

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-customentitytype.html#cfn-glue-customentitytype-contextwords

name

A name for the custom pattern that allows it to be retrieved or deleted later.

This name must be unique per AWS account.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-customentitytype.html#cfn-glue-customentitytype-name

regex_string

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-customentitytype.html#cfn-glue-customentitytype-regexstring

tags

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-customentitytype.html#cfn-glue-customentitytype-tags