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
- Struct
- Aws::Lightsail::Types::AttachCertificateToDistributionRequest
- Defined in:
- (unknown)
Overview
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
-
#certificate_name ⇒ String
The name of the certificate to attach to a distribution.
-
#distribution_name ⇒ String
The name of the distribution that the certificate will be attached to.
Instance Attribute Details
#certificate_name ⇒ String
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.
WordPress-Blog-Certificate
and the domain name of the
certificate might be example.com
.
#distribution_name ⇒ String
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.