AWS::WAFv2::LoggingConfiguration MatchPattern

The patterns to look for in the JSON body. AWS WAF inspects the results of these pattern matches against the rule inspection criteria.

Syntax

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

JSON

{ "All" : Json, "IncludedPaths" : [ String, ... ] }

YAML

All: Json IncludedPaths: - String

Properties

All

Match all of the elements.

You must specify either this setting or the IncludedPaths setting, but not both.

Required: No

Type: Json

Update requires: No interruption

IncludedPaths

Match only the specified include paths.

Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.

You must specify either this setting or the All setting, but not both.

Note

Don't use this option to include all paths. Instead, use the All setting.

Required: No

Type: List of String

Update requires: No interruption