public static final class CfnWebACL.CookiesProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnWebACL.CookiesProperty
CfnWebACL.CookiesProperty
CfnWebACL.CookiesProperty.Builder, CfnWebACL.CookiesProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getMatchPattern()
The filter to use to identify the subset of cookies to inspect in a web request.
|
java.lang.String |
getMatchScope()
The parts of the cookies to inspect with the rule inspection criteria.
|
java.lang.String |
getOversizeHandling()
What AWS WAF should do if the cookies of the request are larger than AWS WAF can inspect.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Object getMatchPattern()
CfnWebACL.CookiesProperty
You must specify exactly one setting: either All
, IncludedCookies
, or ExcludedCookies
.
Example JSON: "MatchPattern": { "IncludedCookies": {"KeyToInclude1", "KeyToInclude2", "KeyToInclude3"} }
getMatchPattern
in interface CfnWebACL.CookiesProperty
public final java.lang.String getMatchScope()
CfnWebACL.CookiesProperty
If you specify All
, AWS WAF inspects both keys and values.
getMatchScope
in interface CfnWebACL.CookiesProperty
public final java.lang.String getOversizeHandling()
CfnWebACL.CookiesProperty
AWS WAF does not support inspecting the entire contents of request cookies when they exceed 8 KB (8192 bytes) or 200 total cookies. The underlying host service forwards a maximum of 200 cookies and at most 8 KB of cookie contents to AWS WAF .
The options for oversize handling are the following:
CONTINUE
- Inspect the cookies normally, according to the rule inspection criteria.MATCH
- Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request.NO_MATCH
- Treat the web request as not matching the rule statement.getOversizeHandling
in interface CfnWebACL.CookiesProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()