Syntax

JSON

YAML

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.