Interface CfnDataAutomationProject.PIIEntitiesConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataAutomationProject.PIIEntitiesConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataAutomationProject
@Stability(Stable)
public static interface CfnDataAutomationProject.PIIEntitiesConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.bedrock.*;
PIIEntitiesConfigurationProperty pIIEntitiesConfigurationProperty = PIIEntitiesConfigurationProperty.builder()
.piiEntityTypes(List.of("piiEntityTypes"))
.redactionMaskMode("redactionMaskMode")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnDataAutomationProject.PIIEntitiesConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPiiEntityTypes
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.
- See Also:
-
getRedactionMaskMode
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.
- See Also:
-
builder
@Stability(Stable) static CfnDataAutomationProject.PIIEntitiesConfigurationProperty.Builder builder()
-