Class: Aws::WAFV2::Types::FieldToProtect

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#field_keysArray<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.

Returns:

  • (Array<String>)


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_typeString

Specifies the web request component type to protect.

Returns:

  • (String)


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