Class: Aws::Textract::Types::SensitiveDataConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#detection_mode ⇒ String

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.

Returns:

  • (String)


3658
3659
3660
3661
3662
3663
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 3658

class SensitiveDataConfiguration < Struct.new(
  :detection_mode,
  :pii_entities_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#pii_entities_configuration ⇒ Types::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.



3658
3659
3660
3661
3662
3663
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 3658

class SensitiveDataConfiguration < Struct.new(
  :detection_mode,
  :pii_entities_configuration)
  SENSITIVE = []
  include Aws::Structure
end