Using Console
Using CLI
--change-token
parameter is required for all WAF operations that change the service. The get-change-token
command retrieves a change token that you can use in your command. Replace --region
with your region.
<Your-WebACL-ID>
with the ID of your WebACL and <Your-Rule-ID>
with the ID of the rule you just created. Again, replace --region
with your region.
Using Python
'string'
in ChangeToken
and DataId
with your own values. ChangeToken
is a value returned by a previous call to get a change token, and DataId
is the ID of the IPSet that you want to use in the rule.
'string'
in WebACLId
, ChangeToken
, and RuleId
with your own values. WebACLId
is the ID of the WebACL that you want to update, ChangeToken
is the same as before, and RuleId
is the ID of the rule that you created before.