Class: Aws::WAFV2::Types::RequestBodyAssociatedResourceTypeConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb

Overview

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

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

Example JSON: { "API_GATEWAY": "KB_48", "APP_RUNNER_SERVICE": "KB_32", "APPLICATION_LOAD_BALANCER": "KB_16" }

For AppSync, the limit is fixed at 8 KB (8,192 bytes).

This is used in the AssociationConfig of the web ACL.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default_size_inspection_limit ⇒ String

Specifies the maximum size of the web request body component that an associated Application Load Balancer, CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resource should send to WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body.

You can specify KB_8 only for Application Load Balancer, with the APPLICATION_LOAD_BALANCER resource type.

Default: 8 KB (8,192 bytes) for Application Load Balancer and 16 KB (16,384 bytes) for the other resource types

Returns:

  • (String)


9924
9925
9926
9927
9928
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 9924

class RequestBodyAssociatedResourceTypeConfig < Struct.new(
  :default_size_inspection_limit)
  SENSITIVE = []
  include Aws::Structure
end