Class: Aws::WAFV2::Types::HeaderMatchPattern

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

Overview

The filter to use to identify the subset of headers to inspect in a web request.

You must specify exactly one setting: either ‘All`, `IncludedHeaders`, or `ExcludedHeaders`.

Example JSON: ‘“MatchPattern”: { “ExcludedHeaders”: [ “KeyToExclude1”, “KeyToExclude2” ] }`

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allTypes::All

Inspect all headers.

Returns:



3648
3649
3650
3651
3652
3653
3654
# File 'lib/aws-sdk-wafv2/types.rb', line 3648

class HeaderMatchPattern < Struct.new(
  :all,
  :included_headers,
  :excluded_headers)
  SENSITIVE = []
  include Aws::Structure
end

#excluded_headersArray<String>

Inspect only the headers whose keys don’t match any of the strings specified here.

Returns:

  • (Array<String>)


3648
3649
3650
3651
3652
3653
3654
# File 'lib/aws-sdk-wafv2/types.rb', line 3648

class HeaderMatchPattern < Struct.new(
  :all,
  :included_headers,
  :excluded_headers)
  SENSITIVE = []
  include Aws::Structure
end

#included_headersArray<String>

Inspect only the headers that have a key that matches one of the strings specified here.

Returns:

  • (Array<String>)


3648
3649
3650
3651
3652
3653
3654
# File 'lib/aws-sdk-wafv2/types.rb', line 3648

class HeaderMatchPattern < Struct.new(
  :all,
  :included_headers,
  :excluded_headers)
  SENSITIVE = []
  include Aws::Structure
end