CmdID / aws / aws cloudfront
aws cloudfront disassociate-distribution-tenant-web-acl
Disassociates a distribution tenant from the WAF web ACL. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To disassociate a web ACL from a distribution tenant
The following disassociate-distribution-tenant-web-acl example disassociates a web ACL from a distribution tenant with ETag E1PA6795UKMABC.
aws cloudfront disassociate-distribution-tenant-web-acl --id dt_2wjDZi3hD1ivOXf6rpZJOSNE1AB --if-match E1PA6795UKMABCIdentify--idThe ID of the distribution tenant.--if-matchThe current version of the distribution tenant that you're disassociating from the WAF web ACL.Its output
{
"ETag": "E13V1IB3VIYABC",
"Id": "dt_2wjDZi3hD1ivOXf6rpZJOSNE1AB"
}For more information, see Disable AWS WAF security protections in the Amazon CloudFront Developer Guide.
Options
--idThe ID of the distribution tenant.--if-matchThe current version of the distribution tenant that you're disassociating from the WAF web ACL.