CmdID / aws / aws cloudfront
aws cloudfront delete-connection-group
Deletes a connection group. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To delete a connection group
The following delete-connection-group example deletes a connection group. The connection group must be disabled and can't be associated with any CloudFront resources.
aws cloudfront delete-connection-group --id cg_2wjLpjbHkLUdhWAjHllcOeABC --if-match ETVPDKIKX0DABCIdentify--idThe ID of the connection group to delete.--if-matchThe value of the ETag header that you received when retrieving the connection group to delete.This command produces no output.
For more information about managing connection groups, see Create custom connection group (optional) in the Amazon CloudFront Developer Guide.
Options
--idThe ID of the connection group to delete.--if-matchThe value of the ETag header that you received when retrieving the connection group to delete.