public static final class CfnRuleGroup.RateBasedStatementProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRuleGroup.RateBasedStatementProperty
CfnRuleGroup.RateBasedStatementProperty
CfnRuleGroup.RateBasedStatementProperty.Builder, CfnRuleGroup.RateBasedStatementProperty.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.String |
getAggregateKeyType()
Setting that indicates how to aggregate the request counts.
|
java.lang.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.
|
java.lang.Number |
getLimit()
The limit on requests per 5-minute period for a single originating IP address.
|
java.lang.Object |
getScopeDownStatement()
An optional nested statement that narrows the scope of the web requests that are evaluated by the rate-based statement.
|
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.String getAggregateKeyType()
CfnRuleGroup.RateBasedStatementProperty
ForwardedIPConfig
, to specify the header to use.getAggregateKeyType
in interface CfnRuleGroup.RateBasedStatementProperty
public final java.lang.Number getLimit()
CfnRuleGroup.RateBasedStatementProperty
If the statement includes a ScopeDownStatement
, this limit is applied only to the requests that match the statement.
getLimit
in interface CfnRuleGroup.RateBasedStatementProperty
public final java.lang.Object getForwardedIpConfig()
CfnRuleGroup.RateBasedStatementProperty
Commonly, 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 CfnRuleGroup.RateBasedStatementProperty
public final java.lang.Object getScopeDownStatement()
CfnRuleGroup.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 CfnRuleGroup.RateBasedStatementProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()