public static final class CfnWebACL.HeadersProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnWebACL.HeadersProperty
CfnWebACL.HeadersProperty
CfnWebACL.HeadersProperty.Builder, CfnWebACL.HeadersProperty.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 headers to inspect in a web request.
|
java.lang.String |
getMatchScope()
The parts of the headers to match with the rule inspection criteria.
|
java.lang.String |
getOversizeHandling()
What AWS WAF should do if the headers 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.HeadersProperty
You must specify exactly one setting: either All
, IncludedHeaders
, or ExcludedHeaders
.
Example JSON: "MatchPattern": { "ExcludedHeaders": {"KeyToExclude1", "KeyToExclude2"} }
getMatchPattern
in interface CfnWebACL.HeadersProperty
public final java.lang.String getMatchScope()
CfnWebACL.HeadersProperty
If you specify All
, AWS WAF inspects both keys and values.
getMatchScope
in interface CfnWebACL.HeadersProperty
public final java.lang.String getOversizeHandling()
CfnWebACL.HeadersProperty
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 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.getOversizeHandling
in interface CfnWebACL.HeadersProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()