Using Console
Using CLI
YOUR_DISTRIBUTION_ID
with the ID of your CloudFront distribution.YOUR_SSL_CERTIFICATE_ARN
with the ARN of the SSL certificate you noted down earlier.true
.Using Python
YOUR_DISTRIBUTION_ID
with the actual CloudFront distribution ID.YOUR_CERTIFICATE_ARN
with the ARN of your custom SSL certificate.YOUR_DOMAIN_NAME
, YOUR_ORIGIN_ID
, YOUR_ORIGIN_DOMAIN_NAME
, YOUR_CALLER_REFERENCE
, YOUR_COMMENT
, and YOUR_DISTRIBUTION_ETAG
with actual values.update_cloudfront_ssl.py
) and run it using Python: