You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SingleHeader as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "FieldToMatchData", # required
}

This is the latest version of AWS WAF, named AWS WAFV2, released in November, 2019. For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF Developer Guide.

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 AWS WAF to inspect, in the FieldToMatch specification.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the query header to inspect.

Returns:

  • (String)

    The name of the query header to inspect.