Class CfnDataProtectionSettings
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.workspacesweb.CfnDataProtectionSettings
- All Implemented Interfaces:
IInspectable,ITaggableV2,IDataProtectionSettingsRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:50.702Z")
@Stability(Stable)
public class CfnDataProtectionSettings
extends CfnResource
implements IInspectable, IDataProtectionSettingsRef, ITaggableV2
The data protection settings resource that can be associated with a web portal.
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.workspacesweb.*;
CfnDataProtectionSettings cfnDataProtectionSettings = CfnDataProtectionSettings.Builder.create(this, "MyCfnDataProtectionSettings")
.additionalEncryptionContext(Map.of(
"additionalEncryptionContextKey", "additionalEncryptionContext"))
.customerManagedKey("customerManagedKey")
.description("description")
.displayName("displayName")
.inlineRedactionConfiguration(InlineRedactionConfigurationProperty.builder()
.inlineRedactionPatterns(List.of(InlineRedactionPatternProperty.builder()
.redactionPlaceHolder(RedactionPlaceHolderProperty.builder()
.redactionPlaceHolderType("redactionPlaceHolderType")
// the properties below are optional
.redactionPlaceHolderText("redactionPlaceHolderText")
.build())
// the properties below are optional
.builtInPatternId("builtInPatternId")
.confidenceLevel(123)
.customPattern(CustomPatternProperty.builder()
.patternName("patternName")
.patternRegex("patternRegex")
// the properties below are optional
.keywordRegex("keywordRegex")
.patternDescription("patternDescription")
.build())
.enforcedUrls(List.of("enforcedUrls"))
.exemptUrls(List.of("exemptUrls"))
.build()))
// the properties below are optional
.globalConfidenceLevel(123)
.globalEnforcedUrls(List.of("globalEnforcedUrls"))
.globalExemptUrls(List.of("globalExemptUrls"))
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDataProtectionSettings.static interfaceThe pattern configuration for redacting custom data types in session.static interfaceThe configuration for in-session inline redaction.static interfaceThe set of patterns that determine the data types redacted in session.static interfaceThe redaction placeholder that will replace the redacted text in session.Nested 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.services.workspacesweb.IDataProtectionSettingsRef
IDataProtectionSettingsRef.Jsii$Default, IDataProtectionSettingsRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnDataProtectionSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDataProtectionSettings(software.amazon.jsii.JsiiObjectRef objRef) CfnDataProtectionSettings(software.constructs.Construct scope, String id) CfnDataProtectionSettings(software.constructs.Construct scope, String id, CfnDataProtectionSettingsProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe additional encryption context of the data protection settings.A list of web portal ARNs that this data protection settings resource is associated with.The creation date timestamp of the data protection settings.The ARN of the data protection settings resource.Tag Manager which manages the tags for this resource.The customer managed key used to encrypt sensitive information in the data protection settings.A reference to a DataProtectionSettings resource.The description of the data protection settings.The display name of the data protection settings.The inline redaction configuration for the data protection settings.getTags()The tags of the data protection settings.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidThe additional encryption context of the data protection settings.voidThe additional encryption context of the data protection settings.voidsetCustomerManagedKey(String value) The customer managed key used to encrypt sensitive information in the data protection settings.voidsetDescription(String value) The description of the data protection settings.voidsetDisplayName(String value) The display name of the data protection settings.voidThe inline redaction configuration for the data protection settings.voidsetInlineRedactionConfiguration(CfnDataProtectionSettings.InlineRedactionConfigurationProperty value) The inline redaction configuration for the data protection settings.voidThe tags of the data protection settings.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.constructs.IConstruct
getNodeMethods 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
-
CfnDataProtectionSettings
protected CfnDataProtectionSettings(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDataProtectionSettings
protected CfnDataProtectionSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDataProtectionSettings
@Stability(Stable) public CfnDataProtectionSettings(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnDataProtectionSettingsProps 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.
-
CfnDataProtectionSettings
@Stability(Stable) public CfnDataProtectionSettings(@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.
-
getAttrAssociatedPortalArns
A list of web portal ARNs that this data protection settings resource is associated with. -
getAttrCreationDate
The creation date timestamp of the data protection settings. -
getAttrDataProtectionSettingsArn
The ARN of the data protection settings resource. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDataProtectionSettingsRef
A reference to a DataProtectionSettings resource.- Specified by:
getDataProtectionSettingsRefin interfaceIDataProtectionSettingsRef
-
getAdditionalEncryptionContext
The additional encryption context of the data protection settings.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable -
setAdditionalEncryptionContext
The additional encryption context of the data protection settings. -
setAdditionalEncryptionContext
The additional encryption context of the data protection settings. -
getCustomerManagedKey
The customer managed key used to encrypt sensitive information in the data protection settings. -
setCustomerManagedKey
The customer managed key used to encrypt sensitive information in the data protection settings. -
getDescription
The description of the data protection settings. -
setDescription
The description of the data protection settings. -
getDisplayName
The display name of the data protection settings. -
setDisplayName
The display name of the data protection settings. -
getInlineRedactionConfiguration
The inline redaction configuration for the data protection settings.Returns union: either
IResolvableorCfnDataProtectionSettings.InlineRedactionConfigurationProperty -
setInlineRedactionConfiguration
The inline redaction configuration for the data protection settings. -
setInlineRedactionConfiguration
@Stability(Stable) public void setInlineRedactionConfiguration(@Nullable CfnDataProtectionSettings.InlineRedactionConfigurationProperty value) The inline redaction configuration for the data protection settings. -
getTags
The tags of the data protection settings. -
setTags
The tags of the data protection settings.
-