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

Class: Aws::Lightsail::Types::CreateCertificateRequest

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

Overview

Note:

When passing CreateCertificateRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  certificate_name: "CertificateName", # required
  domain_name: "DomainName", # required
  subject_alternative_names: ["DomainName"],
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#certificate_nameString

The name for the certificate.

Returns:

  • (String)

    The name for the certificate.

#domain_nameString

The domain name (e.g., example.com) for the certificate.

Returns:

  • (String)

    The domain name (e.g., example.com) for the certificate.

#subject_alternative_namesArray<String>

An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate.

You can specify a maximum of nine alternate domains (in addition to the primary domain name).

Wildcard domain entries (e.g., *.example.com) are not supported.

Returns:

  • (Array<String>)

    An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate.

#tagsArray<Types::Tag>

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

Use the TagResource action to tag a resource after it\'s created.

Returns:

  • (Array<Types::Tag>)

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