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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.wafv2.CfnWebACL.RateBasedStatementProperty
CfnWebACL.RateBasedStatementProperty.Builder, CfnWebACL.RateBasedStatementProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnWebACL.RateBasedStatementProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringSetting that indicates how to aggregate the request counts.final ObjectThe 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 NumbergetLimit()The limit on requests per 5-minute period for a single originating IP address.final ObjectAn optional nested statement that narrows the scope of the web requests that are evaluated by the rate-based statement.final inthashCode()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.RateBasedStatementPropertySetting 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
IPandFORWARDED_IPkey types.- Specified by:
getAggregateKeyTypein interfaceCfnWebACL.RateBasedStatementProperty
-
getLimit
Description copied from interface:CfnWebACL.RateBasedStatementPropertyThe 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:
getLimitin interfaceCfnWebACL.RateBasedStatementProperty
-
getForwardedIpConfig
Description copied from interface:CfnWebACL.RateBasedStatementPropertyThe 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:
getForwardedIpConfigin interfaceCfnWebACL.RateBasedStatementProperty
-
getScopeDownStatement
Description copied from interface:CfnWebACL.RateBasedStatementPropertyAn 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
Statementin the scope-down statement, and you can nest statements at any level, the same as you can for a rule statement.- Specified by:
getScopeDownStatementin interfaceCfnWebACL.RateBasedStatementProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-