Class: Aws::WorkSpacesWeb::Types::InlineRedactionPattern

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-workspacesweb/types.rb

Overview

The set of patterns that determine the data types redacted in session.

Constant Summary collapse

SENSITIVE =
[:built_in_pattern_id, :enforced_urls, :exempt_urls]

Instance Attribute Summary collapse

Instance Attribute Details

#built_in_pattern_idString

The built-in pattern from the list of preconfigured patterns. Either a customPattern or builtInPatternId is required.

Returns:

  • (String)


2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
# File 'lib/aws-sdk-workspacesweb/types.rb', line 2028

class InlineRedactionPattern < Struct.new(
  :built_in_pattern_id,
  :confidence_level,
  :custom_pattern,
  :enforced_urls,
  :exempt_urls,
  :redaction_place_holder)
  SENSITIVE = [:built_in_pattern_id, :enforced_urls, :exempt_urls]
  include Aws::Structure
end

#confidence_levelInteger

The confidence level for inline redaction pattern. This indicates the certainty of data type matches in the redaction process. Confidence level 3 means high confidence, and requires a formatted text pattern match in order for content to be redacted. Confidence level 2 means medium confidence, and redaction considers both formatted and unformatted text, and adds keyword associate to the logic. Confidence level 1 means low confidence, and redaction is enforced for both formatted pattern + unformatted pattern without keyword. This overrides the global confidence level.

Returns:

  • (Integer)


2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
# File 'lib/aws-sdk-workspacesweb/types.rb', line 2028

class InlineRedactionPattern < Struct.new(
  :built_in_pattern_id,
  :confidence_level,
  :custom_pattern,
  :enforced_urls,
  :exempt_urls,
  :redaction_place_holder)
  SENSITIVE = [:built_in_pattern_id, :enforced_urls, :exempt_urls]
  include Aws::Structure
end

#custom_patternTypes::CustomPattern

&gt;The configuration for a custom pattern. Either a customPattern or builtInPatternId is required.



2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
# File 'lib/aws-sdk-workspacesweb/types.rb', line 2028

class InlineRedactionPattern < Struct.new(
  :built_in_pattern_id,
  :confidence_level,
  :custom_pattern,
  :enforced_urls,
  :exempt_urls,
  :redaction_place_holder)
  SENSITIVE = [:built_in_pattern_id, :enforced_urls, :exempt_urls]
  include Aws::Structure
end

#enforced_urlsArray<String>

The enforced URL configuration for the inline redaction pattern. This will override the global enforced URL configuration.

Returns:

  • (Array<String>)


2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
# File 'lib/aws-sdk-workspacesweb/types.rb', line 2028

class InlineRedactionPattern < Struct.new(
  :built_in_pattern_id,
  :confidence_level,
  :custom_pattern,
  :enforced_urls,
  :exempt_urls,
  :redaction_place_holder)
  SENSITIVE = [:built_in_pattern_id, :enforced_urls, :exempt_urls]
  include Aws::Structure
end

#exempt_urlsArray<String>

The exempt URL configuration for the inline redaction pattern. This will override the global exempt URL configuration for the inline redaction pattern.

Returns:

  • (Array<String>)


2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
# File 'lib/aws-sdk-workspacesweb/types.rb', line 2028

class InlineRedactionPattern < Struct.new(
  :built_in_pattern_id,
  :confidence_level,
  :custom_pattern,
  :enforced_urls,
  :exempt_urls,
  :redaction_place_holder)
  SENSITIVE = [:built_in_pattern_id, :enforced_urls, :exempt_urls]
  include Aws::Structure
end

#redaction_place_holderTypes::RedactionPlaceHolder

The redaction placeholder that will replace the redacted text in session for the inline redaction pattern.



2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
# File 'lib/aws-sdk-workspacesweb/types.rb', line 2028

class InlineRedactionPattern < Struct.new(
  :built_in_pattern_id,
  :confidence_level,
  :custom_pattern,
  :enforced_urls,
  :exempt_urls,
  :redaction_place_holder)
  SENSITIVE = [:built_in_pattern_id, :enforced_urls, :exempt_urls]
  include Aws::Structure
end