AWS::WAFv2::WebACL FieldToProtect - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::WAFv2::WebACL FieldToProtect

Specifies a field type and keys to protect in stored web request data. This is part of the data protection configuration for a web ACL.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "FieldKeys" : [ String, ... ], "FieldType" : String }

YAML

FieldKeys: - String FieldType: String

Properties

FieldKeys

Specifies the keys to protect for the specified field type. If you don't specify any key, then all keys for the field type are protected.

Required: No

Type: Array of String

Maximum: 100

Update requires: No interruption

FieldType

Specifies the web request component type to protect.

Required: Yes

Type: String

Allowed values: SINGLE_HEADER | SINGLE_COOKIE | SINGLE_QUERY_ARGUMENT | QUERY_STRING | BODY

Update requires: No interruption