This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
See https://www.paws-r-sdk.com/docs/waf_update_web_acl/ for full documentation.
waf_update_web_acl(WebACLId, ChangeToken, Updates = NULL, DefaultAction = NULL)
[required] The WebACLId
of the WebACL that you want to update. WebACLId
is
returned by create_web_acl
and by
list_web_ac_ls
.
[required] The value returned by the most recent call to
get_change_token
.
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
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.