Interface CfnWebACL.AssociationConfigProperty

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

@Stability(Stable) public static interface CfnWebACL.AssociationConfigProperty extends software.amazon.jsii.JsiiSerializable
Specifies custom configurations for the associations between the web ACL and protected resources.

Use this to customize the maximum size of the request body that your protected CloudFront distributions forward to AWS WAF for inspection. The default is 16 KB (16,384 bytes).

You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see AWS WAF Pricing .

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.*;
 AssociationConfigProperty associationConfigProperty = AssociationConfigProperty.builder()
         .requestBody(Map.of(
                 "requestBodyKey", RequestBodyAssociatedResourceTypeConfigProperty.builder()
                         .defaultSizeInspectionLimit("defaultSizeInspectionLimit")
                         .build()))
         .build();
 

See Also: