Learn R Programming

paws.compute (version 0.7.0)

lightsail_attach_certificate_to_distribution: Attaches an SSL/TLS certificate to your Amazon Lightsail content delivery network (CDN) distribution

Description

Attaches an SSL/TLS certificate to your Amazon Lightsail content delivery network (CDN) distribution.

See https://www.paws-r-sdk.com/docs/lightsail_attach_certificate_to_distribution/ for full documentation.

Usage

lightsail_attach_certificate_to_distribution(distributionName, certificateName)

Arguments

distributionName

[required] The name of the distribution that the certificate will be attached to.

Use the get_distributions action to get a list of distribution names that you can specify.

certificateName

[required] The name of the certificate to attach to a distribution.

Only certificates with a status of ISSUED can be attached to a distribution.

Use the get_certificates action to get a list of certificate names that you can specify.

This is the name of the certificate resource type and is used only to reference the certificate in other API actions. It can be different than the domain name of the certificate. For example, your certificate name might be WordPress-Blog-Certificate and the domain name of the certificate might be example.com.