You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::WAFV2::Types::RuleAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFV2::Types::RuleAction
- Defined in:
- (unknown)
Overview
When passing RuleAction as input to an Aws::Client method, you can use a vanilla Hash:
{
block: {
},
allow: {
},
count: {
},
}
This is the latest version of AWS WAF, named AWS WAFV2, released in November, 2019. For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF Developer Guide.
The action that AWS WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.
Returned by:
Instance Attribute Summary collapse
-
#allow ⇒ Types::AllowAction
Instructs AWS WAF to allow the web request.
-
#block ⇒ Types::BlockAction
Instructs AWS WAF to block the web request.
-
#count ⇒ Types::CountAction
Instructs AWS WAF to count the web request and allow it.
Instance Attribute Details
#allow ⇒ Types::AllowAction
Instructs AWS WAF to allow the web request.
#block ⇒ Types::BlockAction
Instructs AWS WAF to block the web request.
#count ⇒ Types::CountAction
Instructs AWS WAF to count the web request and allow it.