Interface CfnRateBasedRuleProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRateBasedRuleProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:25.803Z") @Stability(Stable) public interface CfnRateBasedRuleProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnRateBasedRule.

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();
 

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for CfnRateBasedRuleProps
    static final class 
    An implementation for CfnRateBasedRuleProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default Object
    The Predicates object contains one Predicate element for each ByteMatchSet , IPSet , or SqlInjectionMatchSet> object that you want to include in a RateBasedRule .
    A name for the metrics for a RateBasedRule .
    A friendly name or description for a RateBasedRule .
    The field that AWS WAF uses to determine if requests are likely arriving from single source and thus subject to rate monitoring.
    The maximum number of requests, which have an identical value in the field specified by the RateKey , allowed in a five-minute period.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson