Skip to content

Create Custom Entity Type

glue_create_custom_entity_type R Documentation

Creates a custom pattern that is used to detect sensitive data across the columns and rows of your structured data

Description

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.

Usage

glue_create_custom_entity_type(Name, RegexString, ContextWords, Tags)

Arguments

Name

[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.

RegexString

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

ContextWords

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.

Tags

A list of tags applied to the custom entity type.

Value

A list with the following syntax:

list(
  Name = "string"
)

Request syntax

svc$create_custom_entity_type(
  Name = "string",
  RegexString = "string",
  ContextWords = list(
    "string"
  ),
  Tags = list(
    "string"
  )
)