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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafv2/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:

  • (Types::All)


3588
3589
3590
3591
3592
3593
3594
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 3588

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>)


3588
3589
3590
3591
3592
3593
3594
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 3588

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>)


3588
3589
3590
3591
3592
3593
3594
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 3588

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