interface CustomPatternProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.WorkSpacesWeb.Mixins.CfnDataProtectionSettingsPropsMixin.CustomPatternProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsworkspacesweb/mixins#CfnDataProtectionSettingsPropsMixin_CustomPatternProperty |
Java | software.amazon.awscdk.mixins.preview.services.workspacesweb.mixins.CfnDataProtectionSettingsPropsMixin.CustomPatternProperty |
Python | aws_cdk.mixins_preview.aws_workspacesweb.mixins.CfnDataProtectionSettingsPropsMixin.CustomPatternProperty |
TypeScript | @aws-cdk/mixins-preview » aws_workspacesweb » mixins » CfnDataProtectionSettingsPropsMixin » CustomPatternProperty |
The pattern configuration for redacting custom data types in session.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as workspacesweb_mixins } from '@aws-cdk/mixins-preview/aws-workspacesweb';
const customPatternProperty: workspacesweb_mixins.CfnDataProtectionSettingsPropsMixin.CustomPatternProperty = {
keywordRegex: 'keywordRegex',
patternDescription: 'patternDescription',
patternName: 'patternName',
patternRegex: 'patternRegex',
};
Properties
| Name | Type | Description |
|---|---|---|
| keyword | string | The keyword regex for the customer pattern. |
| pattern | string | The pattern description for the customer pattern. |
| pattern | string | The pattern name for the custom pattern. |
| pattern | string | The pattern regex for the customer pattern. |
keywordRegex?
Type:
string
(optional)
The keyword regex for the customer pattern.
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?
Type:
string
(optional)
The pattern description for the customer pattern.
patternName?
Type:
string
(optional)
The pattern name for the custom pattern.
patternRegex?
Type:
string
(optional)
The pattern regex for the customer pattern.
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”.

.NET
Go
Java
Python
TypeScript