Struct aws_sdk_wafv2::types::ActionCondition
source · #[non_exhaustive]pub struct ActionCondition {
pub action: ActionValue,
}
Expand description
A single action condition for a Condition
in a logging filter.
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.action: ActionValue
The action setting that a log record must contain in order to meet the condition. This is the action that WAF applied to the web request.
For rule groups, this is either the configured rule action setting, or if you've applied a rule action override to the rule, it's the override action. The value EXCLUDED_AS_COUNT
matches on excluded rules and also on rules that have a rule action override of Count.
Implementations§
source§impl ActionCondition
impl ActionCondition
sourcepub fn action(&self) -> &ActionValue
pub fn action(&self) -> &ActionValue
The action setting that a log record must contain in order to meet the condition. This is the action that WAF applied to the web request.
For rule groups, this is either the configured rule action setting, or if you've applied a rule action override to the rule, it's the override action. The value EXCLUDED_AS_COUNT
matches on excluded rules and also on rules that have a rule action override of Count.
source§impl ActionCondition
impl ActionCondition
sourcepub fn builder() -> ActionConditionBuilder
pub fn builder() -> ActionConditionBuilder
Creates a new builder-style object to manufacture ActionCondition
.
Trait Implementations§
source§impl Clone for ActionCondition
impl Clone for ActionCondition
source§fn clone(&self) -> ActionCondition
fn clone(&self) -> ActionCondition
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ActionCondition
impl Debug for ActionCondition
source§impl PartialEq for ActionCondition
impl PartialEq for ActionCondition
source§fn eq(&self, other: &ActionCondition) -> bool
fn eq(&self, other: &ActionCondition) -> bool
self
and other
values to be equal, and is used
by ==
.