v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142021,119944.8 KB

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.

post/#X-Amz-Target=AWSGlue.CreateCustomEntityType

Headers

X-Amz-Target'AWSGlue.CreateCustomEntityType' required

Request body

Namestring required

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

RegexStringstring required

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

ContextWordsNameString[]
<p>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.</p> <p>If no context words are passed only a regular expression is checked.</p>

Response

Success

Namestring

The name of the custom pattern you created.