CmdID / aws / aws cloudfront
aws cloudfront create-monitoring-subscription
Enables or disables additional Amazon CloudWatch metrics for the specified CloudFront distribution. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--distribution-idThe ID of the distribution that you are enabling metrics for.--monitoring-subscriptionA monitoring subscription.