Class CfnDataProtectionSettingsProps
Properties for defining a CfnDataProtectionSettings.
Implements
Inherited Members
Namespace: Amazon.CDK.AwsWorkspacesweb
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDataProtectionSettingsProps : ICfnDataProtectionSettingsProps
Syntax (vb)
Public Class CfnDataProtectionSettingsProps Implements ICfnDataProtectionSettingsProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Aws_workspacesweb;
var cfnDataProtectionSettingsProps = new CfnDataProtectionSettingsProps {
AdditionalEncryptionContext = new Dictionary<string, string> {
{ "additionalEncryptionContextKey", "additionalEncryptionContext" }
},
CustomerManagedKey = "customerManagedKey",
Description = "description",
DisplayName = "displayName",
InlineRedactionConfiguration = new InlineRedactionConfigurationProperty {
InlineRedactionPatterns = new [] { new InlineRedactionPatternProperty {
RedactionPlaceHolder = new RedactionPlaceHolderProperty {
RedactionPlaceHolderType = "redactionPlaceHolderType",
// the properties below are optional
RedactionPlaceHolderText = "redactionPlaceHolderText"
},
// the properties below are optional
BuiltInPatternId = "builtInPatternId",
ConfidenceLevel = 123,
CustomPattern = new CustomPatternProperty {
PatternName = "patternName",
PatternRegex = "patternRegex",
// the properties below are optional
KeywordRegex = "keywordRegex",
PatternDescription = "patternDescription"
},
EnforcedUrls = new [] { "enforcedUrls" },
ExemptUrls = new [] { "exemptUrls" }
} },
// the properties below are optional
GlobalConfidenceLevel = 123,
GlobalEnforcedUrls = new [] { "globalEnforcedUrls" },
GlobalExemptUrls = new [] { "globalExemptUrls" }
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnDataProtectionSettingsProps() | Properties for defining a |
Properties
| AdditionalEncryptionContext | The additional encryption context of the data protection settings. |
| CustomerManagedKey | The customer managed key used to encrypt sensitive information in the data protection settings. |
| Description | The description of the data protection settings. |
| DisplayName | The display name of the data protection settings. |
| InlineRedactionConfiguration | The inline redaction configuration for the data protection settings. |
| Tags | The tags of the data protection settings. |
Constructors
CfnDataProtectionSettingsProps()
Properties for defining a CfnDataProtectionSettings.
public CfnDataProtectionSettingsProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Aws_workspacesweb;
var cfnDataProtectionSettingsProps = new CfnDataProtectionSettingsProps {
AdditionalEncryptionContext = new Dictionary<string, string> {
{ "additionalEncryptionContextKey", "additionalEncryptionContext" }
},
CustomerManagedKey = "customerManagedKey",
Description = "description",
DisplayName = "displayName",
InlineRedactionConfiguration = new InlineRedactionConfigurationProperty {
InlineRedactionPatterns = new [] { new InlineRedactionPatternProperty {
RedactionPlaceHolder = new RedactionPlaceHolderProperty {
RedactionPlaceHolderType = "redactionPlaceHolderType",
// the properties below are optional
RedactionPlaceHolderText = "redactionPlaceHolderText"
},
// the properties below are optional
BuiltInPatternId = "builtInPatternId",
ConfidenceLevel = 123,
CustomPattern = new CustomPatternProperty {
PatternName = "patternName",
PatternRegex = "patternRegex",
// the properties below are optional
KeywordRegex = "keywordRegex",
PatternDescription = "patternDescription"
},
EnforcedUrls = new [] { "enforcedUrls" },
ExemptUrls = new [] { "exemptUrls" }
} },
// the properties below are optional
GlobalConfidenceLevel = 123,
GlobalEnforcedUrls = new [] { "globalEnforcedUrls" },
GlobalExemptUrls = new [] { "globalExemptUrls" }
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
AdditionalEncryptionContext
The additional encryption context of the data protection settings.
public object? AdditionalEncryptionContext { get; set; }
Property Value
Remarks
Type union: either Dictionary<string, string> or IResolvable
CustomerManagedKey
The customer managed key used to encrypt sensitive information in the data protection settings.
public string? CustomerManagedKey { get; set; }
Property Value
Remarks
Description
The description of the data protection settings.
public string? Description { get; set; }
Property Value
Remarks
DisplayName
The display name of the data protection settings.
public string? DisplayName { get; set; }
Property Value
Remarks
InlineRedactionConfiguration
The inline redaction configuration for the data protection settings.
public object? InlineRedactionConfiguration { get; set; }
Property Value
Remarks
Tags
The tags of the data protection settings.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]