aws-cdk-lib.aws_wafv2.CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty

interface RequestBodyAssociatedResourceTypeConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.WAFv2.CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awswafv2#CfnWebACL_RequestBodyAssociatedResourceTypeConfigProperty
Javasoftware.amazon.awscdk.services.wafv2.CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty
Pythonaws_cdk.aws_wafv2.CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty
TypeScript aws-cdk-lib » aws_wafv2 » CfnWebACL » RequestBodyAssociatedResourceTypeConfigProperty

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 kilobytes).

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 { aws_wafv2 as wafv2 } from 'aws-cdk-lib';
const requestBodyAssociatedResourceTypeConfigProperty: wafv2.CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty = {
  defaultSizeInspectionLimit: 'defaultSizeInspectionLimit',
};

Properties

NameTypeDescription
defaultSizeInspectionLimitstringSpecifies the maximum size of the web request body component that an associated CloudFront distribution should send to AWS WAF for inspection.

defaultSizeInspectionLimit

Type: string

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 kilobytes)