interface PIIEntitiesConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.CfnDataAutomationProject.PIIEntitiesConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnDataAutomationProject_PIIEntitiesConfigurationProperty |
Java | software.amazon.awscdk.services.bedrock.CfnDataAutomationProject.PIIEntitiesConfigurationProperty |
Python | aws_cdk.aws_bedrock.CfnDataAutomationProject.PIIEntitiesConfigurationProperty |
TypeScript | aws-cdk-lib » aws_bedrock » CfnDataAutomationProject » PIIEntitiesConfigurationProperty |
Configuration for detecting and redacting Personally Identifiable Information (PII) entities.
Specify which PII entity types to detect and the redaction mask mode. If not provided, defaults to ALL entity types with ENTITY_TYPE redaction mask mode.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const pIIEntitiesConfigurationProperty: bedrock.CfnDataAutomationProject.PIIEntitiesConfigurationProperty = {
piiEntityTypes: ['piiEntityTypes'],
redactionMaskMode: 'redactionMaskMode',
};
Properties
| Name | Type | Description |
|---|---|---|
| pii | string[] | List of PII entity types to detect/redact in the output. |
| redaction | string | Defines how detected PII entities are masked in redacted output files. |
piiEntityTypes?
Type:
string[]
(optional)
List of PII entity types to detect/redact in the output.
Choose from specific entity types (such as ADDRESS, NAME, EMAIL, PHONE, US_SOCIAL_SECURITY_NUMBER) or specify ALL to detect all supported PII types. If not specified, defaults to ALL.
redactionMaskMode?
Type:
string
(optional)
Defines how detected PII entities are masked in redacted output files.
Set to PII to replace all detected entities with a generic [PII] marker regardless of entity type. Set to ENTITY_TYPE to replace each detected entity with its specific type marker (for example, [NAME], [EMAIL], [ADDRESS]). This setting only applies when detectionMode is set to DETECTION_AND_REDACTION. If not specified, defaults to ENTITY_TYPE.

.NET
Go
Java
Python
TypeScript