CmdID

CmdID / aws / aws cloudfront

aws cloudfront disassociate-distribution-web-acl

Disassociates a distribution from the WAF web ACL. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To disassociate a web ACL from a CloudFront distribution

The following disassociate-distribution-web-acl example removes the association between a web ACL and a CloudFront distribution with ETag E13V1IB3VIYABC.

aws cloudfront disassociate-distribution-web-acl --id E1XNX8R2GOAABC --if-match EEZQ9Z24VM1ABCIdentify
--idThe ID of the distribution.
--if-matchThe value of the ETag header that you received when retrieving the distribution that you're disassociating from the WAF web ACL.
Its output
{
    "ETag": "E2YWS1C2J3OABC",
    "Id": "E1XNX8R2GOAABC"
}

For more information, see Disable AWS WAF security protections in the Amazon CloudFront Developer Guide.

Options

2 in the AWS CLI reference
--idThe ID of the distribution.
--if-matchThe value of the ETag header that you received when retrieving the distribution that you're disassociating from the WAF web ACL.