Class: Aws::WAF::Types::RuleUpdate

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

Overview

<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>

Specifies a Predicate (such as an IPSet) and indicates whether you want to add it to a Rule or delete it from a Rule.

[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

#actionString

Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule.

Returns:

  • (String)


4411
4412
4413
4414
4415
4416
# File 'lib/aws-sdk-waf/types.rb', line 4411

class RuleUpdate < Struct.new(
  :action,
  :predicate)
  SENSITIVE = []
  include Aws::Structure
end

#predicateTypes::Predicate

The ID of the Predicate (such as an IPSet) that you want to add to a Rule.

Returns:



4411
4412
4413
4414
4415
4416
# File 'lib/aws-sdk-waf/types.rb', line 4411

class RuleUpdate < Struct.new(
  :action,
  :predicate)
  SENSITIVE = []
  include Aws::Structure
end