View a markdown version of this page

SensitiveDataConfiguration - Amazon Textract

SensitiveDataConfiguration

Controls detection and redaction of sensitive data, such as personally identifiable information (PII), in the output.

Contents

DetectionMode

The detection mode. Valid values:

  • DETECTION - Only detects sensitive data.

  • DETECTION_AND_REDACTION - Detects and redacts sensitive data in the output.

  • DISABLED - Does not detect sensitive data.

Type: String

Valid Values: DETECTION | DETECTION_AND_REDACTION | DISABLED

Required: Yes

PiiEntitiesConfiguration

The configuration that specifies which PII entity types to detect and how to mask them. If you omit it, Amazon Textract detects all PII entity types (ALL) and masks them with ENTITY_TYPE.

Type: PIIEntitiesConfiguration object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: