Struct aws_sdk_wafv2::model::ActionCondition
source · #[non_exhaustive]pub struct ActionCondition { /* private fields */ }
Expand description
A single action condition for a Condition
in a logging filter.
Implementations§
source§impl ActionCondition
impl ActionCondition
sourcepub fn action(&self) -> Option<&ActionValue>
pub fn action(&self) -> Option<&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() -> Builder
pub fn builder() -> Builder
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ActionCondition
impl Debug for ActionCondition
source§impl PartialEq<ActionCondition> for ActionCondition
impl PartialEq<ActionCondition> for ActionCondition
source§fn eq(&self, other: &ActionCondition) -> bool
fn eq(&self, other: &ActionCondition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.