Provides configuration parameters for PII entity redaction.

interface RedactionConfig {
    MaskCharacter?: string;
    MaskMode?: PiiEntitiesDetectionMaskMode;
    PiiEntityTypes?: PiiEntityType[];
}

Properties

MaskCharacter?: string

A character that replaces each character in the redacted PII entity.

Specifies whether the PII entity is redacted with the mask character or the entity type.

PiiEntityTypes?: PiiEntityType[]

An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.