#[non_exhaustive]pub struct RequestBodyAssociatedResourceTypeConfig {
pub default_size_inspection_limit: SizeInspectionLimit,
}
Expand description
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.
This is used in the AssociationConfig
of the web ACL.
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.default_size_inspection_limit: SizeInspectionLimit
Specifies the maximum size of the web request body component that an associated CloudFront distribution should send to WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body.
Default: 16 KB (16,384 bytes)
Implementations§
source§impl RequestBodyAssociatedResourceTypeConfig
impl RequestBodyAssociatedResourceTypeConfig
sourcepub fn default_size_inspection_limit(&self) -> &SizeInspectionLimit
pub fn default_size_inspection_limit(&self) -> &SizeInspectionLimit
Specifies the maximum size of the web request body component that an associated CloudFront distribution should send to WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body.
Default: 16 KB (16,384 bytes)
source§impl RequestBodyAssociatedResourceTypeConfig
impl RequestBodyAssociatedResourceTypeConfig
sourcepub fn builder() -> RequestBodyAssociatedResourceTypeConfigBuilder
pub fn builder() -> RequestBodyAssociatedResourceTypeConfigBuilder
Creates a new builder-style object to manufacture RequestBodyAssociatedResourceTypeConfig
.
Trait Implementations§
source§impl Clone for RequestBodyAssociatedResourceTypeConfig
impl Clone for RequestBodyAssociatedResourceTypeConfig
source§fn clone(&self) -> RequestBodyAssociatedResourceTypeConfig
fn clone(&self) -> RequestBodyAssociatedResourceTypeConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for RequestBodyAssociatedResourceTypeConfig
impl PartialEq for RequestBodyAssociatedResourceTypeConfig
source§fn eq(&self, other: &RequestBodyAssociatedResourceTypeConfig) -> bool
fn eq(&self, other: &RequestBodyAssociatedResourceTypeConfig) -> bool
self
and other
values to be equal, and is used
by ==
.