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,ICustomEntityTypeRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-09T14:39:11.824Z")
@Stability(Stable)
public class CfnCustomEntityType
extends CfnResource
implements IInspectable, ICustomEntityTypeRef, 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.interfaces.glue.ICustomEntityTypeRef
ICustomEntityTypeRef.Jsii$Default, ICustomEntityTypeRef.Jsii$ProxyNested 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) Create a newAWS::Glue::CustomEntityType.CfnCustomEntityType(software.constructs.Construct scope, String id, CfnCustomEntityTypeProps props) Create a newAWS::Glue::CustomEntityType. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForCustomEntityType(ICustomEntityTypeRef resource) static ICustomEntityTypeReffromCustomEntityTypeId(software.constructs.Construct scope, String id, String customEntityTypeId) Creates a new ICustomEntityTypeRef from a customEntityTypeId.Tag Manager which manages the tags for this resource.A list of context words.A reference to a CustomEntityType resource.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.static BooleanChecks whether the given object is a CfnCustomEntityType.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, getEnv, 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.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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) Create a newAWS::Glue::CustomEntityType.- 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) Create a newAWS::Glue::CustomEntityType.- 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
-
arnForCustomEntityType
@Stability(Stable) @NotNull public static String arnForCustomEntityType(@NotNull ICustomEntityTypeRef resource) - Parameters:
resource- This parameter is required.
-
fromCustomEntityTypeId
@Stability(Stable) @NotNull public static ICustomEntityTypeRef fromCustomEntityTypeId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String customEntityTypeId) Creates a new ICustomEntityTypeRef from a customEntityTypeId.- Parameters:
scope- This parameter is required.id- This parameter is required.customEntityTypeId- This parameter is required.
-
isCfnCustomEntityType
Checks whether the given object is a CfnCustomEntityType.- Parameters:
x- This parameter is required.
-
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
-
getCustomEntityTypeRef
A reference to a CustomEntityType resource.- Specified by:
getCustomEntityTypeRefin interfaceICustomEntityTypeRef
-
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.
-