class Aws::WAFV2::Types::JsonMatchPattern
The patterns to look for in the JSON body. WAF inspects the results of these pattern matches against the rule inspection criteria. This is used with the FieldToMatch
option `JsonBody`.
@note When making an API call, you may pass JsonMatchPattern
data as a hash: { all: { }, included_paths: ["JsonPointerPath"], }
@!attribute [rw] all
Match all of the elements. See also `MatchScope` in JsonBody. You must specify either this setting or the `IncludedPaths` setting, but not both. @return [Types::All]
@!attribute [rw] included_paths
Match only the specified include paths. See also `MatchScope` in JsonBody. 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][1]. You must specify either this setting or the `All` setting, but not both. <note markdown="1"> Don't use this option to include all paths. Instead, use the `All` setting. </note> [1]: https://tools.ietf.org/html/rfc6901 @return [Array<String>]
@see docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/JsonMatchPattern AWS API Documentation
Constants
- SENSITIVE