AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::WAFRegional::Types::WafOverrideAction

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

Overview

Note:

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

{
  type: "NONE", # required, accepts NONE, COUNT
}

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

The action to take if any rule within the RuleGroup matches a request.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#typeString

COUNT overrides the action specified by the individual rule within a RuleGroup . If set to NONE, the rule\'s action will take place.

Possible values:

  • NONE
  • COUNT

Returns:

  • (String)

    COUNT overrides the action specified by the individual rule within a RuleGroup .