You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::WAFV2::Types::ManagedRuleGroupStatement
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFV2::Types::ManagedRuleGroupStatement
- Defined in:
- (unknown)
Overview
When passing ManagedRuleGroupStatement as input to an Aws::Client method, you can use a vanilla Hash:
{
vendor_name: "VendorName", # required
name: "EntityName", # required
excluded_rules: [
{
name: "EntityName", # required
},
],
}
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.
A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling ListAvailableManagedRuleGroups.
You can't nest a ManagedRuleGroupStatement
, for example for use inside a NotStatement
or OrStatement
. It can only be referenced as a top-level statement within a rule.
Returned by:
Instance Attribute Summary collapse
-
#excluded_rules ⇒ Array<Types::ExcludedRule>
The rules whose actions are set to
COUNT
by the web ACL, regardless of the action that is set on the rule. -
#name ⇒ String
The name of the managed rule group.
-
#vendor_name ⇒ String
The name of the managed rule group vendor.
Instance Attribute Details
#excluded_rules ⇒ Array<Types::ExcludedRule>
The rules whose actions are set to COUNT
by the web ACL, regardless of
the action that is set on the rule. This effectively excludes the rule
from acting on web requests.
#name ⇒ String
The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.
#vendor_name ⇒ String
The name of the managed rule group vendor. You use this, along with the rule group name, to identify the rule group.