Interface CfnWebACL.CookiesProperty

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

@Stability(Stable) public static interface CfnWebACL.CookiesProperty extends software.amazon.jsii.JsiiSerializable
Inspect the cookies in the web request.

You can specify the parts of the cookies to inspect and you can narrow the set of cookies to inspect by including or excluding specific keys.

This is used to indicate the web request component to inspect, in the FieldToMatch specification.

Example JSON: "Cookies": { "MatchPattern": { "All": {} }, "MatchScope": "KEY", "OversizeHandling": "MATCH" }

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;
 CookiesProperty cookiesProperty = CookiesProperty.builder()
         .matchPattern(CookieMatchPatternProperty.builder()
                 .all(all)
                 .excludedCookies(List.of("excludedCookies"))
                 .includedCookies(List.of("includedCookies"))
                 .build())
         .matchScope("matchScope")
         .oversizeHandling("oversizeHandling")
         .build();
 

See Also: