interface InlineRedactionPatternProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.WorkSpacesWeb.Mixins.CfnDataProtectionSettingsPropsMixin.InlineRedactionPatternProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsworkspacesweb/mixins#CfnDataProtectionSettingsPropsMixin_InlineRedactionPatternProperty |
Java | software.amazon.awscdk.mixins.preview.services.workspacesweb.mixins.CfnDataProtectionSettingsPropsMixin.InlineRedactionPatternProperty |
Python | aws_cdk.mixins_preview.aws_workspacesweb.mixins.CfnDataProtectionSettingsPropsMixin.InlineRedactionPatternProperty |
TypeScript | @aws-cdk/mixins-preview » aws_workspacesweb » mixins » CfnDataProtectionSettingsPropsMixin » InlineRedactionPatternProperty |
The set of patterns that determine the data types redacted 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 inlineRedactionPatternProperty: workspacesweb_mixins.CfnDataProtectionSettingsPropsMixin.InlineRedactionPatternProperty = {
builtInPatternId: 'builtInPatternId',
confidenceLevel: 123,
customPattern: {
keywordRegex: 'keywordRegex',
patternDescription: 'patternDescription',
patternName: 'patternName',
patternRegex: 'patternRegex',
},
enforcedUrls: ['enforcedUrls'],
exemptUrls: ['exemptUrls'],
redactionPlaceHolder: {
redactionPlaceHolderText: 'redactionPlaceHolderText',
redactionPlaceHolderType: 'redactionPlaceHolderType',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| built | string | The built-in pattern from the list of preconfigured patterns. |
| confidence | number | The confidence level for inline redaction pattern. |
| custom | IResolvable | Custom | The configuration for a custom pattern. |
| enforced | string[] | The enforced URL configuration for the inline redaction pattern. |
| exempt | string[] | The exempt URL configuration for the inline redaction pattern. |
| redaction | IResolvable | Redaction | The redaction placeholder that will replace the redacted text in session for the inline redaction pattern. |
builtInPatternId?
Type:
string
(optional)
The built-in pattern from the list of preconfigured patterns.
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?
Type:
number
(optional)
The confidence level for inline redaction pattern.
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?
Type:
IResolvable | Custom
(optional)
The configuration for a custom pattern.
Either a customPattern or builtInPatternId is required.
enforcedUrls?
Type:
string[]
(optional)
The enforced URL configuration for the inline redaction pattern.
This will override the global enforced URL configuration.
exemptUrls?
Type:
string[]
(optional)
The exempt URL configuration for the inline redaction pattern.
This will override the global exempt URL configuration for the inline redaction pattern.
redactionPlaceHolder?
Type:
IResolvable | Redaction
(optional)
The redaction placeholder that will replace the redacted text in session for the inline redaction pattern.

.NET
Go
Java
Python
TypeScript