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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateLoadBalancerTlsCertificateRequest as input to an Aws::Client method, you can use a vanilla 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>)

    An array of strings listing alternative domains and subdomains for your SSL/TLS certificate.

#certificate_domain_nameString

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

Returns:

  • (String)

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

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

    The SSL/TLS certificate name.

#load_balancer_nameString

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

Returns:

  • (String)

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

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

  • (Array<Types::Tag>)

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