Class: Aws::WorkSpacesWeb::Types::CustomPattern
- Inherits:
-
Struct
- Object
- Struct
- Aws::WorkSpacesWeb::Types::CustomPattern
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-workspacesweb/types.rb
Overview
The pattern configuration for redacting custom data types in session.
Constant Summary collapse
- SENSITIVE =
[:pattern_name, :pattern_regex, :pattern_description, :keyword_regex]
Instance Attribute Summary collapse
-
#keyword_regex ⇒ String
The keyword regex for the customer pattern.
-
#pattern_description ⇒ String
The pattern description for the customer pattern.
-
#pattern_name ⇒ String
The pattern name for the custom pattern.
-
#pattern_regex ⇒ String
The pattern regex for the customer pattern.
Instance Attribute Details
#keyword_regex ⇒ String
The keyword regex for the customer pattern. After there is a match to the pattern regex, the keyword regex is used to search within the proximity of the match. If there is a keyword match, then the match is confirmed. If no keyword regex is provided, the pattern regex match will automatically be confirmed. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example, “/ab+c/gi”
1436 1437 1438 1439 1440 1441 1442 1443 |
# File 'lib/aws-sdk-workspacesweb/types.rb', line 1436 class CustomPattern < Struct.new( :pattern_name, :pattern_regex, :pattern_description, :keyword_regex) SENSITIVE = [:pattern_name, :pattern_regex, :pattern_description, :keyword_regex] include Aws::Structure end |
#pattern_description ⇒ String
The pattern description for the customer pattern.
1436 1437 1438 1439 1440 1441 1442 1443 |
# File 'lib/aws-sdk-workspacesweb/types.rb', line 1436 class CustomPattern < Struct.new( :pattern_name, :pattern_regex, :pattern_description, :keyword_regex) SENSITIVE = [:pattern_name, :pattern_regex, :pattern_description, :keyword_regex] include Aws::Structure end |
#pattern_name ⇒ String
The pattern name for the custom pattern.
1436 1437 1438 1439 1440 1441 1442 1443 |
# File 'lib/aws-sdk-workspacesweb/types.rb', line 1436 class CustomPattern < Struct.new( :pattern_name, :pattern_regex, :pattern_description, :keyword_regex) SENSITIVE = [:pattern_name, :pattern_regex, :pattern_description, :keyword_regex] include Aws::Structure end |
#pattern_regex ⇒ String
The pattern regex for the customer pattern. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example: “/ab+c/gi”.
1436 1437 1438 1439 1440 1441 1442 1443 |
# File 'lib/aws-sdk-workspacesweb/types.rb', line 1436 class CustomPattern < Struct.new( :pattern_name, :pattern_regex, :pattern_description, :keyword_regex) SENSITIVE = [:pattern_name, :pattern_regex, :pattern_description, :keyword_regex] include Aws::Structure end |