CmdID / aws / aws lightsail
aws lightsail attach-certificate-to-distribution
Attaches an SSL/TLS certificate to your Amazon Lightsail content delivery network (CDN) distribution. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--certificate-nameThe name of the certificate to attach to a distribution.--distribution-nameThe name of the distribution that the certificate will be attached to.