Class CfnRuleGroup.HeadersProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.wafv2.CfnRuleGroup.HeadersProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnRuleGroup.HeadersProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnRuleGroup.HeadersProperty
@Stability(Stable)
@Internal
public static final class CfnRuleGroup.HeadersProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnRuleGroup.HeadersProperty
An implementation for
CfnRuleGroup.HeadersProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.wafv2.CfnRuleGroup.HeadersProperty
CfnRuleGroup.HeadersProperty.Builder, CfnRuleGroup.HeadersProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnRuleGroup.HeadersProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final Object
The filter to use to identify the subset of headers to inspect in a web request.final String
The parts of the headers to match with the rule inspection criteria.final String
What AWS WAF should do if the headers of the request are more numerous or larger than AWS WAF can inspect.final int
hashCode()
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.HeadersProperty.Builder
.
-
-
Method Details
-
getMatchPattern
Description copied from interface:CfnRuleGroup.HeadersProperty
The 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:
getMatchPattern
in interfaceCfnRuleGroup.HeadersProperty
-
getMatchScope
Description copied from interface:CfnRuleGroup.HeadersProperty
The parts of the headers to match with the rule inspection criteria.If you specify
All
, AWS WAF inspects both keys and values.- Specified by:
getMatchScope
in interfaceCfnRuleGroup.HeadersProperty
-
getOversizeHandling
Description copied from interface:CfnRuleGroup.HeadersProperty
What 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:
getOversizeHandling
in interfaceCfnRuleGroup.HeadersProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-