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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.waf.regional.CfnRateBasedRuleProps
CfnRateBasedRuleProps.Builder, CfnRateBasedRuleProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnRateBasedRuleProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnRateBasedRuleProps.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 ObjectThePredicatesobject contains onePredicateelement for eachByteMatchSet,IPSet, orSqlInjectionMatchSet>object that you want to include in aRateBasedRule.final StringA name for the metrics for aRateBasedRule.final StringgetName()A friendly name or description for aRateBasedRule.final StringThe field that AWS WAF uses to determine if requests are likely arriving from single source and thus subject to rate monitoring.final NumberThe maximum number of requests, which have an identical value in the field specified by theRateKey, allowed in a five-minute period.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 theCfnRateBasedRuleProps.Builder.
-
-
Method Details
-
getMetricName
Description copied from interface:CfnRateBasedRulePropsA 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:
getMetricNamein interfaceCfnRateBasedRuleProps
-
getName
Description copied from interface:CfnRateBasedRulePropsA friendly name or description for aRateBasedRule.You can't change the name of a
RateBasedRuleafter you create it.- Specified by:
getNamein interfaceCfnRateBasedRuleProps
-
getRateKey
Description copied from interface:CfnRateBasedRulePropsThe 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
RateKeyisIP.IPindicates that requests arriving from the same IP address are subject to theRateLimitthat is specified in theRateBasedRule.- Specified by:
getRateKeyin interfaceCfnRateBasedRuleProps
-
getRateLimit
Description copied from interface:CfnRateBasedRulePropsThe 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
RateLimitand the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule.- Specified by:
getRateLimitin interfaceCfnRateBasedRuleProps
-
getMatchPredicates
Description copied from interface:CfnRateBasedRulePropsThePredicatesobject contains onePredicateelement for eachByteMatchSet,IPSet, orSqlInjectionMatchSet>object that you want to include in aRateBasedRule.- Specified by:
getMatchPredicatesin interfaceCfnRateBasedRuleProps
-
$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()
-