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
}

One of the headers in a web request, identified by name, for example, User-Agent or Referer. This setting isn't case sensitive.

This is used only to indicate the web request component for WAF 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)


8896
8897
8898
8899
8900
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 8896

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