Class CfnWebACL.HeadersProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.wafv2.CfnWebACL.HeadersProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnWebACL.HeadersProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnWebACL.HeadersProperty
@Stability(Stable)
@Internal
public static final class CfnWebACL.HeadersProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnWebACL.HeadersProperty
An implementation for
CfnWebACL.HeadersProperty-
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.CfnWebACL.HeadersProperty
CfnWebACL.HeadersProperty.Builder, CfnWebACL.HeadersProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnWebACL.HeadersProperty.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 headers to inspect in a web request.final StringThe parts of the headers to match with the rule inspection criteria.final StringWhat AWS WAF should do if the headers 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 theCfnWebACL.HeadersProperty.Builder.
-
-
Method Details
-
getMatchPattern
Description copied from interface:CfnWebACL.HeadersPropertyThe filter to use to identify the subset of headers to inspect in a web request.You must specify exactly one setting: either
All,IncludedHeaders, orExcludedHeaders.Example JSON:
"MatchPattern": { "ExcludedHeaders": {"KeyToExclude1", "KeyToExclude2"} }- Specified by:
getMatchPatternin interfaceCfnWebACL.HeadersProperty
-
getMatchScope
Description copied from interface:CfnWebACL.HeadersPropertyThe parts of the headers to match with the rule inspection criteria.If you specify
All, AWS WAF inspects both keys and values.- Specified by:
getMatchScopein interfaceCfnWebACL.HeadersProperty
-
getOversizeHandling
Description copied from interface:CfnWebACL.HeadersPropertyWhat AWS WAF should do if the headers of the request are more numerous or larger than AWS WAF can inspect.AWS WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to AWS WAF .
The options for oversize handling are the following:
CONTINUE- Inspect the available headers 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 interfaceCfnWebACL.HeadersProperty
-
$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()
-