You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lightsail::Types::AttachCertificateToDistributionRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AttachCertificateToDistributionRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#certificate_nameString

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.

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.

Returns:

  • (String)

    The name of the certificate to attach to a distribution.

#distribution_nameString

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.

Returns:

  • (String)

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