Interface CfnRuleGroup.JsonMatchPatternProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRuleGroup.JsonMatchPatternProperty.Jsii$Proxy
Enclosing class:
CfnRuleGroup

@Stability(Stable) public static interface CfnRuleGroup.JsonMatchPatternProperty extends software.amazon.jsii.JsiiSerializable
The patterns to look for in the JSON body.

AWS WAF inspects the results of these pattern matches against the rule inspection criteria. This is used with the FieldToMatch option JsonBody .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.wafv2.*;
 Object all;
 JsonMatchPatternProperty jsonMatchPatternProperty = JsonMatchPatternProperty.builder()
         .all(all)
         .includedPaths(List.of("includedPaths"))
         .build();
 

See Also: