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

Class: Aws::Lightsail::Types::CreateLoadBalancerTlsCertificateRequest

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 CreateLoadBalancerTlsCertificateRequest data as a hash:

{
  load_balancer_name: "ResourceName", # required
  certificate_name: "ResourceName", # required
  certificate_domain_name: "DomainName", # required
  certificate_alternative_names: ["DomainName"],
}

Instance Attribute Summary collapse

Instance Attribute Details

#certificate_alternative_namesArray<String>

An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 alternative names (in addition to the 1 primary domain). We do not support wildcards (e.g., *.example.com).

Returns:

  • (Array<String>)


1024
1025
1026
1027
1028
1029
1030
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1024

class CreateLoadBalancerTlsCertificateRequest < Struct.new(
  :load_balancer_name,
  :certificate_name,
  :certificate_domain_name,
  :certificate_alternative_names)
  include Aws::Structure
end

#certificate_domain_nameString

The domain name (e.g., example.com) for your SSL/TLS certificate.

Returns:

  • (String)


1024
1025
1026
1027
1028
1029
1030
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1024

class CreateLoadBalancerTlsCertificateRequest < Struct.new(
  :load_balancer_name,
  :certificate_name,
  :certificate_domain_name,
  :certificate_alternative_names)
  include Aws::Structure
end

#certificate_nameString

The SSL/TLS certificate name.

You can have up to 10 certificates in your account at one time. Each Lightsail load balancer can have up to 2 certificates associated with it at one time. There is also an overall limit to the number of certificates that can be issue in a 365-day period. For more information, see Limits.

Returns:

  • (String)


1024
1025
1026
1027
1028
1029
1030
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1024

class CreateLoadBalancerTlsCertificateRequest < Struct.new(
  :load_balancer_name,
  :certificate_name,
  :certificate_domain_name,
  :certificate_alternative_names)
  include Aws::Structure
end

#load_balancer_nameString

The load balancer name where you want to create the SSL/TLS certificate.

Returns:

  • (String)


1024
1025
1026
1027
1028
1029
1030
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1024

class CreateLoadBalancerTlsCertificateRequest < Struct.new(
  :load_balancer_name,
  :certificate_name,
  :certificate_domain_name,
  :certificate_alternative_names)
  include Aws::Structure
end