Struct rusoto_securityhub::WafAction [−][src]
Expand description
Details about the action that CloudFront or AWS WAF takes when a web request matches the conditions in the rule.
Fields
type_: Option<String>
Specifies how you want AWS WAF to respond to requests that match the settings in a rule.
Valid settings include the following:
-
ALLOW
- AWS WAF allows requests -
BLOCK
- AWS WAF blocks requests -
COUNT
- AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specifyCOUNT
for the default action for a WebACL.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for WafAction
impl UnwindSafe for WafAction
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self