Class CfnWebACL.RateBasedStatementProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.wafv2.CfnWebACL.RateBasedStatementProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnWebACL.RateBasedStatementProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnWebACL.RateBasedStatementProperty
@Stability(Stable)
@Internal
public static final class CfnWebACL.RateBasedStatementProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnWebACL.RateBasedStatementProperty
An implementation for
CfnWebACL.RateBasedStatementProperty
-
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.CfnWebACL.RateBasedStatementProperty
CfnWebACL.RateBasedStatementProperty.Builder, CfnWebACL.RateBasedStatementProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnWebACL.RateBasedStatementProperty.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 String
Setting that indicates how to aggregate the request counts.final Object
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.final Number
getLimit()
The limit on requests per 5-minute period for a single originating IP address.final Object
An optional nested statement that narrows the scope of the web requests that are evaluated by the rate-based statement.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 theCfnWebACL.RateBasedStatementProperty.Builder
.
-
-
Method Details
-
getAggregateKeyType
Description copied from interface:CfnWebACL.RateBasedStatementProperty
Setting that indicates how to aggregate the request counts. The options are the following:.IP
- Aggregate the request counts on the IP address from the web request origin.FORWARDED_IP
- Aggregate the request counts on the first IP address in an HTTP header. If you use this, configure theForwardedIPConfig
, to specify the header to use.
You can only use the
IP
andFORWARDED_IP
key types.- Specified by:
getAggregateKeyType
in interfaceCfnWebACL.RateBasedStatementProperty
-
getLimit
Description copied from interface:CfnWebACL.RateBasedStatementProperty
The limit on requests per 5-minute period for a single originating IP address.If the statement includes a
ScopeDownStatement
, this limit is applied only to the requests that match the statement.- Specified by:
getLimit
in interfaceCfnWebACL.RateBasedStatementProperty
-
getForwardedIpConfig
Description copied from interface:CfnWebACL.RateBasedStatementProperty
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.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 you specify a forwarded IP in the rule's aggregate key settings.
- Specified by:
getForwardedIpConfig
in interfaceCfnWebACL.RateBasedStatementProperty
-
getScopeDownStatement
Description copied from interface:CfnWebACL.RateBasedStatementProperty
An optional nested statement that narrows the scope of the web requests that are evaluated by the rate-based statement.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.- Specified by:
getScopeDownStatement
in interfaceCfnWebACL.RateBasedStatementProperty
-
$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()
-