Class: Aws::WAFRegional::Types::UpdateWebACLRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#change_tokenString

The value returned by the most recent call to GetChangeToken.

Returns:

  • (String)


5860
5861
5862
5863
5864
5865
5866
5867
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 5860

class UpdateWebACLRequest < Struct.new(
  :web_acl_id,
  :change_token,
  :updates,
  :default_action)
  SENSITIVE = []
  include Aws::Structure
end

#default_actionTypes::WafAction

A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL.

Returns:



5860
5861
5862
5863
5864
5865
5866
5867
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 5860

class UpdateWebACLRequest < Struct.new(
  :web_acl_id,
  :change_token,
  :updates,
  :default_action)
  SENSITIVE = []
  include Aws::Structure
end

#updatesArray<Types::WebACLUpdate>

An array of updates to make to the WebACL.

An array of WebACLUpdate objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:

  • WebACLUpdate: Contains Action and ActivatedRule

  • ActivatedRule: Contains Action, OverrideAction, Priority, RuleId, and Type. ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL. In this case, you do not use ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction.

  • WafAction: Contains Type

Returns:



5860
5861
5862
5863
5864
5865
5866
5867
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 5860

class UpdateWebACLRequest < Struct.new(
  :web_acl_id,
  :change_token,
  :updates,
  :default_action)
  SENSITIVE = []
  include Aws::Structure
end

#web_acl_idString

The WebACLId of the WebACL that you want to update. WebACLId is returned by CreateWebACL and by ListWebACLs.

Returns:

  • (String)


5860
5861
5862
5863
5864
5865
5866
5867
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 5860

class UpdateWebACLRequest < Struct.new(
  :web_acl_id,
  :change_token,
  :updates,
  :default_action)
  SENSITIVE = []
  include Aws::Structure
end