Class CfnRateBasedRuleProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.waf.regional.CfnRateBasedRuleProps.Jsii$Proxy
- All Implemented Interfaces:
CfnRateBasedRuleProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnRateBasedRuleProps
@Stability(Stable)
@Internal
public static final class CfnRateBasedRuleProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnRateBasedRuleProps
An implementation for
CfnRateBasedRuleProps
-
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.waf.regional.CfnRateBasedRuleProps
CfnRateBasedRuleProps.Builder, CfnRateBasedRuleProps.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Jsii$Proxy
(CfnRateBasedRuleProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnRateBasedRuleProps.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 Object
ThePredicates
object contains onePredicate
element for eachByteMatchSet
,IPSet
, orSqlInjectionMatchSet>
object that you want to include in aRateBasedRule
.final String
A name for the metrics for aRateBasedRule
.final String
getName()
A friendly name or description for aRateBasedRule
.final String
The field that AWS WAF uses to determine if requests are likely arriving from single source and thus subject to rate monitoring.final Number
The maximum number of requests, which have an identical value in the field specified by theRateKey
, allowed in a five-minute period.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 theCfnRateBasedRuleProps.Builder
.
-
-
Method Details
-
getMetricName
Description copied from interface:CfnRateBasedRuleProps
A name for the metrics for aRateBasedRule
.The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF , including "All" and "Default_Action." You can't change the name of the metric after you create the
RateBasedRule
.- Specified by:
getMetricName
in interfaceCfnRateBasedRuleProps
-
getName
Description copied from interface:CfnRateBasedRuleProps
A friendly name or description for aRateBasedRule
.You can't change the name of a
RateBasedRule
after you create it.- Specified by:
getName
in interfaceCfnRateBasedRuleProps
-
getRateKey
Description copied from interface:CfnRateBasedRuleProps
The field that AWS WAF uses to determine if requests are likely arriving from single source and thus subject to rate monitoring.The only valid value for
RateKey
isIP
.IP
indicates that requests arriving from the same IP address are subject to theRateLimit
that is specified in theRateBasedRule
.- Specified by:
getRateKey
in interfaceCfnRateBasedRuleProps
-
getRateLimit
Description copied from interface:CfnRateBasedRuleProps
The maximum number of requests, which have an identical value in the field specified by theRateKey
, allowed in a five-minute period.If the number of requests exceeds the
RateLimit
and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule.- Specified by:
getRateLimit
in interfaceCfnRateBasedRuleProps
-
getMatchPredicates
Description copied from interface:CfnRateBasedRuleProps
ThePredicates
object contains onePredicate
element for eachByteMatchSet
,IPSet
, orSqlInjectionMatchSet>
object that you want to include in aRateBasedRule
.- Specified by:
getMatchPredicates
in interfaceCfnRateBasedRuleProps
-
$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()
-