public static interface CfnWebACL.CookieMatchPatternProperty
You must specify exactly one setting: either All
, IncludedCookies
, or ExcludedCookies
.
Example JSON: "MatchPattern": { "IncludedCookies": {"KeyToInclude1", "KeyToInclude2", "KeyToInclude3"} }
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; CookieMatchPatternProperty cookieMatchPatternProperty = CookieMatchPatternProperty.builder() .all(all) .excludedCookies(List.of("excludedCookies")) .includedCookies(List.of("includedCookies")) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnWebACL.CookieMatchPatternProperty.Builder
A builder for
CfnWebACL.CookieMatchPatternProperty |
static class |
CfnWebACL.CookieMatchPatternProperty.Jsii$Proxy
An implementation for
CfnWebACL.CookieMatchPatternProperty |
Modifier and Type | Method and Description |
---|---|
static CfnWebACL.CookieMatchPatternProperty.Builder |
builder() |
default java.lang.Object |
getAll()
Inspect all cookies.
|
default java.util.List<java.lang.String> |
getExcludedCookies()
Inspect only the cookies whose keys don't match any of the strings specified here.
|
default java.util.List<java.lang.String> |
getIncludedCookies()
Inspect only the cookies that have a key that matches one of the strings specified here.
|
default java.lang.Object getAll()
default java.util.List<java.lang.String> getExcludedCookies()
default java.util.List<java.lang.String> getIncludedCookies()
static CfnWebACL.CookieMatchPatternProperty.Builder builder()