Interface CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty.Jsii$Proxy
- Enclosing class:
CfnWebACL
@Stability(Stable)
public static interface CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty
extends software.amazon.jsii.JsiiSerializable
Customizes the maximum size of the request body that your protected CloudFront distributions forward to AWS WAF for inspection.
The default size 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 .
This is used in the AssociationConfig of the web ACL.
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.*;
RequestBodyAssociatedResourceTypeConfigProperty requestBodyAssociatedResourceTypeConfigProperty = RequestBodyAssociatedResourceTypeConfigProperty.builder()
.defaultSizeInspectionLimit("defaultSizeInspectionLimit")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Specifies the maximum size of the web request body component that an associated CloudFront distribution should send to AWS WAF for inspection.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDefaultSizeInspectionLimit
Specifies the maximum size of the web request body component that an associated CloudFront distribution should send to AWS WAF for inspection.This applies to statements in the web ACL that inspect the body or JSON body.
Default:
16 KB (16,384 bytes)- See Also:
-
builder
@Stability(Stable) static CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty.Builder builder()
-