Class: Aws::WAFV2::Types::SingleHeader

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

Overview

Note:

When making an API call, you may pass SingleHeader data as a hash:

{
  name: "FieldToMatchData", # required
}

Inspect one of the headers in the web request, identified by name, for example, User-Agent or Referer. The name isn't case sensitive.

You can filter and inspect all headers with the FieldToMatch setting Headers.

This is used to indicate the web request component to inspect, in the FieldToMatch specification.

Example JSON: "SingleHeader": \{ "Name": "haystack" \}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the query header to inspect.

Returns:

  • (String)


11050
11051
11052
11053
11054
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 11050

class SingleHeader < Struct.new(
  :name)
  SENSITIVE = []
  include Aws::Structure
end