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

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

Overview

Note:

When making an API call, you may pass AttachCertificateToDistributionRequest data as a hash:

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

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)


387
388
389
390
391
392
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 387

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)


387
388
389
390
391
392
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 387

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