Class: Aws::WAFV2::Types::FieldToProtect
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFV2::Types::FieldToProtect
- Defined in:
- gems/aws-sdk-wafv2/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.
3993 3994 3995 3996 3997 3998 |
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 3993 class FieldToProtect < Struct.new( :field_type, :field_keys) SENSITIVE = [] include Aws::Structure end |
#field_type ⇒ String
Specifies the web request component type to protect.
3993 3994 3995 3996 3997 3998 |
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 3993 class FieldToProtect < Struct.new( :field_type, :field_keys) SENSITIVE = [] include Aws::Structure end |