Class CfnCustomEntityType
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.glue.CfnCustomEntityType
- All Implemented Interfaces:
IInspectable,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.110.0 (build 336b265)",
date="2025-04-22T23:08:14.092Z")
@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:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnCustomEntityType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCustomEntityType(software.amazon.jsii.JsiiObjectRef objRef) CfnCustomEntityType(software.constructs.Construct scope, String id) CfnCustomEntityType(software.constructs.Construct scope, String id, CfnCustomEntityTypeProps props) -
Method Summary
Modifier and TypeMethodDescriptionTag Manager which manages the tags for this resource.A list of context words.getName()A name for the custom pattern that allows it to be retrieved or deleted later.A regular expression string that is used for detecting sensitive data in a custom pattern.getTags()AWS tags that contain a key value pair and may be searched by console, command line, or API.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetContextWords(List<String> value) A list of context words.voidA name for the custom pattern that allows it to be retrieved or deleted later.voidsetRegexString(String value) A regular expression string that is used for detecting sensitive data in a custom pattern.voidAWS tags that contain a key value pair and may be searched by console, command line, or API.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrId
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getContextWords
A list of context words. -
setContextWords
A list of context words. -
getName
A name for the custom pattern that allows it to be retrieved or deleted later. -
setName
A name for the custom pattern that allows it to be retrieved or deleted later. -
getRegexString
A regular expression string that is used for detecting sensitive data in a custom pattern. -
setRegexString
A regular expression string that is used for detecting sensitive data in a custom pattern. -
getTags
AWS tags that contain a key value pair and may be searched by console, command line, or API. -
setTags
AWS tags that contain a key value pair and may be searched by console, command line, or API.
-