Interface CfnDataProtectionSettings.IInlineRedactionPatternProperty
The set of patterns that determine the data types redacted in session.
Namespace: Amazon.CDK.AwsWorkspacesweb
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IInlineRedactionPatternProperty
Syntax (vb)
Public Interface IInlineRedactionPatternProperty
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 inlineRedactionPatternProperty = 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" }
};
Synopsis
Properties
BuiltInPatternId | The built-in pattern from the list of preconfigured patterns. |
ConfidenceLevel | The confidence level for inline redaction pattern. |
CustomPattern | The configuration for a custom pattern. |
EnforcedUrls | The enforced URL configuration for the inline redaction pattern. |
ExemptUrls | The exempt URL configuration for the inline redaction pattern. |
RedactionPlaceHolder | The redaction placeholder that will replace the redacted text in session for the inline redaction pattern. |
Properties
BuiltInPatternId
The built-in pattern from the list of preconfigured patterns.
virtual string BuiltInPatternId { get; }
Property Value
System.String
Remarks
Either a customPattern or builtInPatternId is required. To view the entire list of data types and their corresponding built-in pattern IDs, see Base inline redaction .
ConfidenceLevel
The confidence level for inline redaction pattern.
virtual Nullable<double> ConfidenceLevel { get; }
Property Value
System.Nullable<System.Double>
Remarks
This indicates the certainty of data type matches in the redaction process. Confidence level 3 means high confidence, and requires a formatted text pattern match in order for content to be redacted. Confidence level 2 means medium confidence, and redaction considers both formatted and unformatted text, and adds keyword associate to the logic. Confidence level 1 means low confidence, and redaction is enforced for both formatted pattern + unformatted pattern without keyword. This overrides the global confidence level.
CustomPattern
The configuration for a custom pattern.
virtual object CustomPattern { get; }
Property Value
System.Object
Remarks
Either a customPattern or builtInPatternId is required.
EnforcedUrls
The enforced URL configuration for the inline redaction pattern.
virtual string[] EnforcedUrls { get; }
Property Value
System.String[]
Remarks
This will override the global enforced URL configuration.
ExemptUrls
The exempt URL configuration for the inline redaction pattern.
virtual string[] ExemptUrls { get; }
Property Value
System.String[]
Remarks
This will override the global exempt URL configuration for the inline redaction pattern.
RedactionPlaceHolder
The redaction placeholder that will replace the redacted text in session for the inline redaction pattern.
object RedactionPlaceHolder { get; }
Property Value
System.Object