aws-cdk-lib.aws_wafv2.CfnWebACL.AssociationConfigProperty

interface AssociationConfigProperty

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

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

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 associationConfigProperty: wafv2.CfnWebACL.AssociationConfigProperty = {
  requestBody: {
    requestBodyKey: {
      defaultSizeInspectionLimit: 'defaultSizeInspectionLimit',
    },
  },
};

Properties

NameTypeDescription
requestBody?IResolvable | { [string]: IResolvable | RequestBodyAssociatedResourceTypeConfigProperty }Customizes the maximum size of the request body that your protected CloudFront distributions forward to AWS WAF for inspection.

requestBody?

Type: IResolvable | { [string]: IResolvable | RequestBodyAssociatedResourceTypeConfigProperty } (optional)

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 .