Interface CfnWebACL.RateBasedStatementCustomKeyProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnWebACL.RateBasedStatementCustomKeyProperty.Jsii$Proxy
Enclosing class:
CfnWebACL

@Stability(Stable) public static interface CfnWebACL.RateBasedStatementCustomKeyProperty extends software.amazon.jsii.JsiiSerializable
Specifies a single custom aggregate key for a rate-base rule.

Web requests that are missing any of the components specified in the aggregation keys are omitted from the rate-based rule evaluation and handling.

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.wafv2.*;
 Object forwardedIp;
 Object httpMethod;
 Object ip;
 RateBasedStatementCustomKeyProperty rateBasedStatementCustomKeyProperty = RateBasedStatementCustomKeyProperty.builder()
         .cookie(RateLimitCookieProperty.builder()
                 .name("name")
                 .textTransformations(List.of(TextTransformationProperty.builder()
                         .priority(123)
                         .type("type")
                         .build()))
                 .build())
         .forwardedIp(forwardedIp)
         .header(RateLimitHeaderProperty.builder()
                 .name("name")
                 .textTransformations(List.of(TextTransformationProperty.builder()
                         .priority(123)
                         .type("type")
                         .build()))
                 .build())
         .httpMethod(httpMethod)
         .ip(ip)
         .labelNamespace(RateLimitLabelNamespaceProperty.builder()
                 .namespace("namespace")
                 .build())
         .queryArgument(RateLimitQueryArgumentProperty.builder()
                 .name("name")
                 .textTransformations(List.of(TextTransformationProperty.builder()
                         .priority(123)
                         .type("type")
                         .build()))
                 .build())
         .queryString(RateLimitQueryStringProperty.builder()
                 .textTransformations(List.of(TextTransformationProperty.builder()
                         .priority(123)
                         .type("type")
                         .build()))
                 .build())
         .uriPath(RateLimitUriPathProperty.builder()
                 .textTransformations(List.of(TextTransformationProperty.builder()
                         .priority(123)
                         .type("type")
                         .build()))
                 .build())
         .build();
 

See Also: