You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::WAFV2::Types::RuleGroupReferenceStatement

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RuleGroupReferenceStatement as input to an Aws::Client method, you can use a vanilla Hash:

{
  arn: "ResourceArn", # 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 RuleGroup. To use this, create a rule group with your rules, then provide the ARN of the rule group in this statement.

You cannot nest a RuleGroupReferenceStatement, 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

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the entity.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the entity.

#excluded_rulesArray<Types::ExcludedRule>

The names of rules that are in the referenced rule group, but that you want AWS WAF to exclude from processing for this rule statement.

Returns:

  • (Array<Types::ExcludedRule>)

    The names of rules that are in the referenced rule group, but that you want AWS WAF to exclude from processing for this rule statement.