Interface CfnDataProtectionSettings.ICustomPatternProperty
The pattern configuration for redacting custom data types in session.
Namespace: Amazon.CDK.AwsWorkspacesweb
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICustomPatternProperty
Syntax (vb)
Public Interface ICustomPatternProperty
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 customPatternProperty = new CustomPatternProperty {
PatternName = "patternName",
PatternRegex = "patternRegex",
// the properties below are optional
KeywordRegex = "keywordRegex",
PatternDescription = "patternDescription"
};
Synopsis
Properties
KeywordRegex | The keyword regex for the customer pattern. |
PatternDescription | The pattern description for the customer pattern. |
PatternName | The pattern name for the custom pattern. |
PatternRegex | The pattern regex for the customer pattern. |
Properties
KeywordRegex
The keyword regex for the customer pattern.
virtual string KeywordRegex { get; }
Property Value
System.String
Remarks
After there is a match to the pattern regex, the keyword regex is used to search within the proximity of the match. If there is a keyword match, then the match is confirmed. If no keyword regex is provided, the pattern regex match will automatically be confirmed. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example, “/ab+c/gi”
PatternDescription
The pattern description for the customer pattern.
virtual string PatternDescription { get; }
Property Value
System.String
Remarks
PatternName
The pattern name for the custom pattern.
string PatternName { get; }
Property Value
System.String
Remarks
PatternRegex
The pattern regex for the customer pattern.
string PatternRegex { get; }
Property Value
System.String
Remarks
The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example: “/ab+c/gi”.