@Stability(value=Stable) @Internal public static final class CfnRateBasedRuleProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRateBasedRuleProps
CfnRateBasedRulePropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnRateBasedRuleProps.Builder, CfnRateBasedRuleProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnRateBasedRuleProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnRateBasedRuleProps.Builder. |
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(Object o) |
Object |
getMatchPredicates()
The `Predicates` object contains one `Predicate` element for each `ByteMatchSet` , `IPSet` , or `SqlInjectionMatchSet>` object that you want to include in a `RateBasedRule` .
|
String |
getMetricName()
A name for the metrics for a `RateBasedRule` .
|
String |
getName()
A friendly name or description for a `RateBasedRule` .
|
String |
getRateKey()
The field that AWS WAF uses to determine if requests are likely arriving from single source and thus subject to rate monitoring.
|
Number |
getRateLimit()
The maximum number of requests, which have an identical value in the field specified by the `RateKey` , allowed in a five-minute period.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnRateBasedRuleProps.Builder builder)
CfnRateBasedRuleProps.Builder.public final String getMetricName()
CfnRateBasedRuleProps
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 .
getMetricName in interface CfnRateBasedRulePropspublic final String getName()
CfnRateBasedRuleProps
You can't change the name of a RateBasedRule after you create it.
getName in interface CfnRateBasedRulePropspublic final String getRateKey()
CfnRateBasedRuleProps
The only valid value for RateKey is IP . IP indicates that requests arriving from the same IP address are subject to the RateLimit that is specified in the RateBasedRule .
getRateKey in interface CfnRateBasedRulePropspublic final Number getRateLimit()
CfnRateBasedRuleProps
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.
getRateLimit in interface CfnRateBasedRulePropspublic final Object getMatchPredicates()
CfnRateBasedRulePropsgetMatchPredicates in interface CfnRateBasedRuleProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.