Struct aws_sdk_wafv2::types::AssociationConfig
source · #[non_exhaustive]pub struct AssociationConfig {
pub request_body: Option<HashMap<AssociatedResourceType, RequestBodyAssociatedResourceTypeConfig>>,
}
Expand description
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).
You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see WAF Pricing.
For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.request_body: Option<HashMap<AssociatedResourceType, 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.
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" }
For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).
Implementations§
source§impl AssociationConfig
impl AssociationConfig
sourcepub fn request_body(
&self
) -> Option<&HashMap<AssociatedResourceType, RequestBodyAssociatedResourceTypeConfig>>
pub fn request_body( &self ) -> Option<&HashMap<AssociatedResourceType, 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.
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" }
For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).
source§impl AssociationConfig
impl AssociationConfig
sourcepub fn builder() -> AssociationConfigBuilder
pub fn builder() -> AssociationConfigBuilder
Creates a new builder-style object to manufacture AssociationConfig
.
Trait Implementations§
source§impl Clone for AssociationConfig
impl Clone for AssociationConfig
source§fn clone(&self) -> AssociationConfig
fn clone(&self) -> AssociationConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssociationConfig
impl Debug for AssociationConfig
source§impl PartialEq for AssociationConfig
impl PartialEq for AssociationConfig
source§fn eq(&self, other: &AssociationConfig) -> bool
fn eq(&self, other: &AssociationConfig) -> bool
self
and other
values to be equal, and is used
by ==
.