Class: Aws::WAFV2::Types::FieldToProtect
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFV2::Types::FieldToProtect
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-wafv2/types.rb
Overview
Specifies a field type and keys to protect in stored web request data. This is part of the data protection configuration for a web ACL.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#field_keys ⇒ Array<String>
Specifies the keys to protect for the specified field type.
-
#field_type ⇒ String
Specifies the web request component type to protect.
Instance Attribute Details
#field_keys ⇒ Array<String>
Specifies the keys to protect for the specified field type.
Required for SINGLE_HEADER, SINGLE_COOKIE, and
SINGLE_QUERY_ARGUMENT: provide a non-empty array naming the
specific headers, cookies, or query arguments to protect. There is
no option to protect all keys of these field types, so enumerate
each key you intend to protect.
Must be omitted for QUERY_STRING and BODY: the entire component
is protected and these field types take no keys. Supplying
FieldKeys for them is rejected.
3189 3190 3191 3192 3193 3194 |
# File 'lib/aws-sdk-wafv2/types.rb', line 3189 class FieldToProtect < Struct.new( :field_type, :field_keys) SENSITIVE = [] include Aws::Structure end |
#field_type ⇒ String
Specifies the web request component type to protect.
3189 3190 3191 3192 3193 3194 |
# File 'lib/aws-sdk-wafv2/types.rb', line 3189 class FieldToProtect < Struct.new( :field_type, :field_keys) SENSITIVE = [] include Aws::Structure end |