Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS WAF ByteMatchSet ByteMatchTuples FieldToMatch

FieldToMatch is a property of the AWS WAF ByteMatchSet ByteMatchTuples property that specifies the part of a web request that you want AWS WAF to search, such as a specific header or a query string.

Syntax

JSON

Copy
{ "Data" : String, "Type" : String }

YAML

Copy
Data: String Type: String

Properties

Data

If you specify HEADER for the Type property, the name of the header that AWS WAF searches for, such as User-Agent or Referer. If you specify any other value for the Type property, do not specify this property.

Required: Conditional

Type: String

Type

The part of the web request in which AWS WAF searches for the target string. For valid values, see FieldToMatch in the AWS WAF API Reference.

Required: Yes

Type: String

On this page: