Class CfnCustomEntityType

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-09-11T18:01:16.615Z") @Stability(Stable) public class CfnCustomEntityType extends CfnResource implements IInspectable, ITaggableV2
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.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.glue.*;
 Object tags;
 CfnCustomEntityType cfnCustomEntityType = CfnCustomEntityType.Builder.create(this, "MyCfnCustomEntityType")
         .contextWords(List.of("contextWords"))
         .name("name")
         .regexString("regexString")
         .tags(tags)
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnCustomEntityType

      protected CfnCustomEntityType(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnCustomEntityType

      protected CfnCustomEntityType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnCustomEntityType

      @Stability(Stable) public CfnCustomEntityType(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnCustomEntityTypeProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnCustomEntityType

      @Stability(Stable) public CfnCustomEntityType(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getContextWords

      @Stability(Stable) @Nullable public List<String> getContextWords()
      A list of context words.
    • setContextWords

      @Stability(Stable) public void setContextWords(@Nullable List<String> value)
      A list of context words.
    • getName

      @Stability(Stable) @Nullable public String getName()
      A name for the custom pattern that allows it to be retrieved or deleted later.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      A name for the custom pattern that allows it to be retrieved or deleted later.
    • getRegexString

      @Stability(Stable) @Nullable public String getRegexString()
      A regular expression string that is used for detecting sensitive data in a custom pattern.
    • setRegexString

      @Stability(Stable) public void setRegexString(@Nullable String value)
      A regular expression string that is used for detecting sensitive data in a custom pattern.
    • getTags

      @Stability(Stable) @Nullable public Object getTags()
      AWS tags that contain a key value pair and may be searched by console, command line, or API.
    • setTags

      @Stability(Stable) public void setTags(@Nullable Object value)
      AWS tags that contain a key value pair and may be searched by console, command line, or API.