Class CfnRuleGroup.CookiesProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnRuleGroup.CookiesProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnRuleGroup.CookiesProperty
CfnRuleGroup.CookiesProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.wafv2.CfnRuleGroup.CookiesProperty
CfnRuleGroup.CookiesProperty.Builder, CfnRuleGroup.CookiesProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnRuleGroup.CookiesProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectThe filter to use to identify the subset of cookies to inspect in a web request.final StringThe parts of the cookies to inspect with the rule inspection criteria.final StringWhat AWS WAF should do if the cookies of the request are more numerous or larger than AWS WAF can inspect.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnRuleGroup.CookiesProperty.Builder.
-
-
Method Details
-
getMatchPattern
Description copied from interface:CfnRuleGroup.CookiesPropertyThe filter to use to identify the subset of cookies to inspect in a web request.You must specify exactly one setting: either
All,IncludedCookies, orExcludedCookies.Example JSON:
"MatchPattern": { "IncludedCookies": [ "session-id-time", "session-id" ] }Returns union: either
IResolvableorCfnRuleGroup.CookieMatchPatternProperty- Specified by:
getMatchPatternin interfaceCfnRuleGroup.CookiesProperty- See Also:
-
getMatchScope
Description copied from interface:CfnRuleGroup.CookiesPropertyThe parts of the cookies to inspect with the rule inspection criteria.If you specify
ALL, AWS WAF inspects both keys and values.Alldoes not require a match to be found in the keys and a match to be found in the values. It requires a match to be found in the keys or the values or both. To require a match in the keys and in the values, use a logicalANDstatement to combine two match rules, one that inspects the keys and another that inspects the values.- Specified by:
getMatchScopein interfaceCfnRuleGroup.CookiesProperty- See Also:
-
getOversizeHandling
Description copied from interface:CfnRuleGroup.CookiesPropertyWhat AWS WAF should do if the cookies of the request are more numerous or larger than AWS WAF can inspect.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 available 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.
- Specified by:
getOversizeHandlingin interfaceCfnRuleGroup.CookiesProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-