Struct aws_sdk_wafv2::model::LoggingFilter
source · [−]#[non_exhaustive]pub struct LoggingFilter {
pub filters: Option<Vec<Filter>>,
pub default_behavior: Option<FilterBehavior>,
}
Expand description
Filtering that specifies which web requests are kept in the logs and which are dropped, defined for a web ACL's LoggingConfiguration
.
You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.
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.filters: Option<Vec<Filter>>
The filters that you want to apply to the logs.
default_behavior: Option<FilterBehavior>
Default handling for logs that don't match any of the specified filtering conditions.
Implementations
Default handling for logs that don't match any of the specified filtering conditions.
Creates a new builder-style object to manufacture LoggingFilter
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LoggingFilter
impl Send for LoggingFilter
impl Sync for LoggingFilter
impl Unpin for LoggingFilter
impl UnwindSafe for LoggingFilter
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more