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

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#certificate_nameString

The name for the certificate.

Returns:

  • (String)


1755
1756
1757
1758
1759
1760
1761
1762
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1755

class CreateCertificateRequest < Struct.new(
  :certificate_name,
  :domain_name,
  :subject_alternative_names,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#domain_nameString

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

Returns:

  • (String)


1755
1756
1757
1758
1759
1760
1761
1762
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1755

class CreateCertificateRequest < Struct.new(
  :certificate_name,
  :domain_name,
  :subject_alternative_names,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

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


1755
1756
1757
1758
1759
1760
1761
1762
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1755

class CreateCertificateRequest < Struct.new(
  :certificate_name,
  :domain_name,
  :subject_alternative_names,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

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



1755
1756
1757
1758
1759
1760
1761
1762
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1755

class CreateCertificateRequest < Struct.new(
  :certificate_name,
  :domain_name,
  :subject_alternative_names,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end