AWS Security ChangesHomeSearch

AWS AWSCloudFormation: WAF AssociationConfig adds ALB body size customization

Service: AWSCloudFormation · 2026-11-22 · Documentation medium

File: AWSCloudFormation/latest/TemplateReference/aws-properties-wafv2-webacl-associationconfig.md · Type: network

Summary

Added Application Load Balancer to the resource types whose forwarded body size can be customized, documented the 8 KB ALB default vs 16 KB for others, and updated the example JSON with APPLICATION_LOAD_BALANCER: KB_16.

Security assessment

Documents a new configurable WAF body-forwarding size for ALB, directly controlling how much request body WAF can inspect for malicious payloads; this is security-relevant configuration guidance, not a fix for a specific vulnerability.

Evidence

+Use this to customize the maximum size of the request body that your protected resources forward to AWS WAF for inspection. You can customize this setting for Application Load Balancer, CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 8 KB (8,192 bytes) for Application Load Balancer and 16 KB (16,384 bytes) for the other resource types. 

Diff

diff --git a/AWSCloudFormation/latest/TemplateReference/aws-properties-wafv2-webacl-associationconfig.md b/AWSCloudFormation/latest/TemplateReference/aws-properties-wafv2-webacl-associationconfig.md
index 0f95c9e..9530cf4 100644
--- a//AWSCloudFormation/latest/TemplateReference/aws-properties-wafv2-webacl-associationconfig.md
+++ b//AWSCloudFormation/latest/TemplateReference/aws-properties-wafv2-webacl-associationconfig.md
@@ -13 +13 @@ Specifies custom configurations for the associations between the web ACL and pro
-Use this to customize the maximum size of the request body that your protected resources forward to AWS WAF for inspection. You can customize this setting for CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 16 KB (16,384 bytes). 
+Use this to customize the maximum size of the request body that your protected resources forward to AWS WAF for inspection. You can customize this setting for Application Load Balancer, CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 8 KB (8,192 bytes) for Application Load Balancer and 16 KB (16,384 bytes) for the other resource types. 
@@ -19 +19 @@ You are charged additional fees when your protected resources forward body sizes
-For Application Load Balancer and AWS AppSync, the limit is fixed at 8 KB (8,192 bytes).
+For AWS AppSync, the limit is fixed at 8 KB (8,192 bytes).
@@ -81 +81 @@ _Update requires_ : [No interruption](https://docs.aws.amazon.com/AWSCloudFormat
-Customizes the maximum size of the request body that your protected CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to AWS WAF for inspection. The default size is 16 KB (16,384 bytes). You can change the setting for any of the available resource types. 
+Customizes the maximum size of the request body that your protected Application Load Balancer, CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to AWS WAF for inspection. The default size is 8 KB (8,192 bytes) for Application Load Balancer and 16 KB (16,384 bytes) for the other resource types. You can change the setting for any of the available resource types. 
@@ -87 +87 @@ You are charged additional fees when your protected resources forward body sizes
-Example JSON: ` { "API_GATEWAY": "KB_48", "APP_RUNNER_SERVICE": "KB_32" }`
+Example JSON: ` { "API_GATEWAY": "KB_48", "APP_RUNNER_SERVICE": "KB_32", "APPLICATION_LOAD_BALANCER": "KB_16" }`
@@ -89 +89 @@ Example JSON: ` { "API_GATEWAY": "KB_48", "APP_RUNNER_SERVICE": "KB_32" }`
-For Application Load Balancer and AWS AppSync, the limit is fixed at 8 KB (8,192 bytes).
+For AWS AppSync, the limit is fixed at 8 KB (8,192 bytes).