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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

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)


662
663
664
665
666
667
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 662

class AttachCertificateToDistributionRequest < Struct.new(
  :distribution_name,
  :certificate_name)
  SENSITIVE = []
  include Aws::Structure
end

#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)


662
663
664
665
666
667
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 662

class AttachCertificateToDistributionRequest < Struct.new(
  :distribution_name,
  :certificate_name)
  SENSITIVE = []
  include Aws::Structure
end