@Stability(value=Stable)
public static interface CfnRuleGroup.CookieMatchPatternProperty
extends software.amazon.jsii.JsiiSerializable
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 |
CfnRuleGroup.CookieMatchPatternProperty.Builder
A builder for
CfnRuleGroup.CookieMatchPatternProperty |
static class |
CfnRuleGroup.CookieMatchPatternProperty.Jsii$Proxy
An implementation for
CfnRuleGroup.CookieMatchPatternProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRuleGroup.CookieMatchPatternProperty.Builder |
builder() |
default Object |
getAll()
Inspect all cookies.
|
default List<String> |
getExcludedCookies()
Inspect only the cookies whose keys don't match any of the strings specified here.
|
default List<String> |
getIncludedCookies()
Inspect only the cookies that have a key that matches one of the strings specified here.
|
@Stability(value=Stable) @Nullable default Object getAll()
@Stability(value=Stable) @Nullable default List<String> getExcludedCookies()
@Stability(value=Stable) @Nullable default List<String> getIncludedCookies()
@Stability(value=Stable) static CfnRuleGroup.CookieMatchPatternProperty.Builder builder()
Copyright © 2022. All rights reserved.