@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:08.217Z") @Stability(value=Stable) public interface CfnRateBasedRuleProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.waf.regional.*;
CfnRateBasedRuleProps cfnRateBasedRuleProps = CfnRateBasedRuleProps.builder()
.metricName("metricName")
.name("name")
.rateKey("rateKey")
.rateLimit(123)
// the properties below are optional
.matchPredicates(List.of(PredicateProperty.builder()
.dataId("dataId")
.negated(false)
.type("type")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRateBasedRuleProps.Builder
A builder for
CfnRateBasedRuleProps |
static class |
CfnRateBasedRuleProps.Jsii$Proxy
An implementation for
CfnRateBasedRuleProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnRateBasedRuleProps.Builder |
builder() |
default Object |
getMatchPredicates()
`AWS::WAFRegional::RateBasedRule.MatchPredicates`.
|
String |
getMetricName()
`AWS::WAFRegional::RateBasedRule.MetricName`.
|
String |
getName()
`AWS::WAFRegional::RateBasedRule.Name`.
|
String |
getRateKey()
`AWS::WAFRegional::RateBasedRule.RateKey`.
|
Number |
getRateLimit()
`AWS::WAFRegional::RateBasedRule.RateLimit`.
|
@Stability(value=Stable) @Nullable default Object getMatchPredicates()
@Stability(value=Stable) @NotNull String getMetricName()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull String getRateKey()
@Stability(value=Stable) @NotNull Number getRateLimit()
@Stability(value=Stable) static CfnRateBasedRuleProps.Builder builder()
CfnRateBasedRuleProps.Builder of CfnRateBasedRulePropsCopyright © 2021. All rights reserved.