interface SensitiveDataConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnDataAutomationProjectPropsMixin_SensitiveDataConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnDataAutomationProjectPropsMixin » SensitiveDataConfigurationProperty |
Configuration for detecting and redacting sensitive data in content.
Use this to control whether sensitive data is detected only or both detected and redacted, specify the scope of detection (standard output, custom output, or both), and configure specific PII entity types to detect along with how they should be masked when redacted.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const sensitiveDataConfigurationProperty: bedrock_mixins.CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty = {
detectionMode: 'detectionMode',
detectionScope: ['detectionScope'],
piiEntitiesConfiguration: {
piiEntityTypes: ['piiEntityTypes'],
redactionMaskMode: 'redactionMaskMode',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| detection | string | Specifies the mode for handling sensitive data detection. |
| detection | string[] | Defines which BDA output types to apply sensitive data detection to. |
| pii | IResolvable | PIIEntities | Configuration for detecting and redacting Personally Identifiable Information (PII) entities. |
detectionMode?
Type:
string
(optional)
Specifies the mode for handling sensitive data detection.
Set to DETECTION to only identify sensitive data without modifying content - this produces one output file per detection scope containing detection information with original unredacted content. Set to DETECTION_AND_REDACTION to both identify and mask sensitive data - this produces two output files per detection scope: one unredacted file with detection information and one redacted file with masking applied to sensitive content. For example, if detectionScope includes both STANDARD and CUSTOM with DETECTION_AND_REDACTION mode, four output files will be generated (two for standard output and two for custom output).
detectionScope?
Type:
string[]
(optional)
Defines which BDA output types to apply sensitive data detection to.
Specify STANDARD to detect sensitive data in standard output, CUSTOM to detect in custom output (blueprint-based extraction), or both to apply detection to both output types. If not specified, defaults to both STANDARD and CUSTOM. The number of output files generated depends on both the detection mode and the scopes selected - each scope specified will produce its own set of output files according to the detection mode configured.
piiEntitiesConfiguration?
Type:
IResolvable | PIIEntities
(optional)
Configuration for detecting and redacting Personally Identifiable Information (PII) entities.

.NET
Go
Java
Python
TypeScript