class Aws::Lightsail::Types::AttachCertificateToDistributionRequest

@note When making an API call, you may pass AttachCertificateToDistributionRequest

data as a hash:

    {
      distribution_name: "ResourceName", # required
      certificate_name: "ResourceName", # required
    }

@!attribute [rw] distribution_name

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

Use the `GetDistributions` action to get a list of distribution
names that you can specify.
@return [String]

@!attribute [rw] certificate_name

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 `GetCertificates` action to get a list of certificate names
that you can specify.

<note markdown="1"> 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`.

 </note>
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachCertificateToDistributionRequest AWS API Documentation

Constants

SENSITIVE