Class: Aws::WAFV2::Types::AssociationConfig

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

Overview

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 resources forward to 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).

<note markdown=“1”> You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see [WAF Pricing].

</note>

For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).

[1]: aws.amazon.com/waf/pricing/

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#request_bodyHash<String,Types::RequestBodyAssociatedResourceTypeConfig>

Customizes the maximum size of the request body that your protected CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to WAF for inspection. The default size is 16 KB (16,384 bytes). You can change the setting for any of the available resource types.

<note markdown=“1”> You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see [WAF Pricing].

</note>

Example JSON: ‘ { “API_GATEWAY”: “KB_48”, “APP_RUNNER_SERVICE”: “KB_32” }`

For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).

[1]: aws.amazon.com/waf/pricing/



460
461
462
463
464
# File 'lib/aws-sdk-wafv2/types.rb', line 460

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