@Stability(value=Stable) @Internal public static final class CfnWebACL.RateBasedStatementProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnWebACL.RateBasedStatementProperty
CfnWebACL.RateBasedStatementPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnWebACL.RateBasedStatementProperty.Builder, CfnWebACL.RateBasedStatementProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnWebACL.RateBasedStatementProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnWebACL.AllowActionProperty.Builder. |
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(Object o) |
String |
getAggregateKeyType()
Setting that indicates how to aggregate the request counts.
|
Object |
getForwardedIpConfig()
The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin.
|
Number |
getLimit()
The limit on requests per 5-minute period for a single originating IP address.
|
Object |
getScopeDownStatement()
An optional nested statement that narrows the scope of the web requests that are evaluated by the rate-based statement.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnWebACL.RateBasedStatementProperty.Builder builder)
CfnWebACL.AllowActionProperty.Builder.public final String getAggregateKeyType()
CfnWebACL.RateBasedStatementProperty
ForwardedIPConfig , to specify the header to use.getAggregateKeyType in interface CfnWebACL.RateBasedStatementPropertypublic final Number getLimit()
CfnWebACL.RateBasedStatementProperty
If the statement includes a ScopeDownStatement , this limit is applied only to the requests that match the statement.
getLimit in interface CfnWebACL.RateBasedStatementPropertypublic final Object getForwardedIpConfig()
CfnWebACL.RateBasedStatementPropertyCommonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.
If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all.
This is required if AggregateKeyType is set to FORWARDED_IP .
getForwardedIpConfig in interface CfnWebACL.RateBasedStatementPropertypublic final Object getScopeDownStatement()
CfnWebACL.RateBasedStatementProperty
Requests are only tracked by the rate-based statement if they match the scope-down statement. You can use any nestable Statement in the scope-down statement, and you can nest statements at any level, the same as you can for a rule statement.
getScopeDownStatement in interface CfnWebACL.RateBasedStatementProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.