CmdID / aws / aws cloudfront
aws cloudfront associate-alias
The AssociateAlias API operation only supports standard distributions. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--aliasThe alias (also known as a CNAME) to add to the target standard distribution.--target-distribution-idThe ID of the standard distribution that you're associating the alias with.