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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-wafregional/types.rb

Overview

Note:

When making an API call, you may pass WafOverrideAction data as a hash:

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

<note markdown=“1”> This is **AWS WAF Classic** documentation. For more information, see

AWS WAF Classic][1

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.

</note>

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

[1]: docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html [2]: docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html

Constant Summary collapse

SENSITIVE =
[]

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.

Returns:

  • (String)

7510
7511
7512
7513
7514
# File 'lib/aws-sdk-wafregional/types.rb', line 7510

class WafOverrideAction < Struct.new(
  :type)
  SENSITIVE = []
  include Aws::Structure
end