UpdateWebACLRequest
¶
Source code in docs_src/capo_waf/types/update_web_acl_request.py
change_token
instance-attribute
¶
change_token: ChangeToken
The value returned by the most recent call to GetChangeToken.
default_action
instance-attribute
¶
default_action: NotRequired[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.
updates
instance-attribute
¶
updates: NotRequired[WebACLUpdates]
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
ActionandActivatedRule -
ActivatedRule: Contains
Action,OverrideAction,Priority,RuleId, andType.ActivatedRule|OverrideActionapplies only when updating or adding aRuleGroupto aWebACL. In this case, you do not useActivatedRule|Action. For all other update requests,ActivatedRule|Actionis used instead ofActivatedRule|OverrideAction. -
WafAction: Contains
Type
web_acl_id
instance-attribute
¶
web_acl_id: ResourceId
The WebACLId of the WebACL that you want to update. WebACLId is returned by CreateWebACL and by ListWebACLs.