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"],
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

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


1359
1360
1361
1362
1363
1364
1365
1366
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1359

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

#certificate_domain_nameString

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

Returns:

  • (String)


1359
1360
1361
1362
1363
1364
1365
1366
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1359

class CreateLoadBalancerTlsCertificateRequest < Struct.new(
  :load_balancer_name,
  :certificate_name,
  :certificate_domain_name,
  :certificate_alternative_names,
  :tags)
  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)


1359
1360
1361
1362
1363
1364
1365
1366
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1359

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

#load_balancer_nameString

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

Returns:

  • (String)


1359
1360
1361
1362
1363
1364
1365
1366
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1359

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

#tagsArray<Types::Tag>

The tag keys and optional values to add to the resource during create.

To tag a resource after it has been created, see the tag resource operation.

Returns:



1359
1360
1361
1362
1363
1364
1365
1366
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1359

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