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 CloudFront distributions forward to WAF for inspection. The default 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.
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 distributions forward to WAF for inspection. The default size 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.
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 distributions forward to WAF for inspection. The default size 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.
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 ==
.