Certificate

Describes the full details of an Amazon Lightsail SSL/TLS certificate.

To get a summary of a certificate, use the GetCertificates action and omit includeCertificateDetails from your request. The response will include only the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String?

The Amazon Resource Name (ARN) of the certificate.

Link copied to clipboard

The timestamp when the certificate was created.

Link copied to clipboard

The domain name of the certificate.

Link copied to clipboard

An array of objects that describe the domain validation records of the certificate.

Link copied to clipboard

The renewal eligibility of the certificate.

Link copied to clipboard

The number of Lightsail resources that the certificate is attached to.

Link copied to clipboard

The timestamp when the certificate was issued.

Link copied to clipboard

The certificate authority that issued the certificate.

Link copied to clipboard

The algorithm used to generate the key pair (the public and private key) of the certificate.

Link copied to clipboard
val name: String?

The name of the certificate (my-certificate).

Link copied to clipboard

The timestamp when the certificate expires.

Link copied to clipboard

The timestamp when the certificate is first valid.

Link copied to clipboard

An object that describes the status of the certificate renewal managed by Lightsail.

Link copied to clipboard

The validation failure reason, if any, of the certificate.

Link copied to clipboard

The reason the certificate was revoked. This value is present only when the certificate status is REVOKED.

Link copied to clipboard

The timestamp when the certificate was revoked. This value is present only when the certificate status is REVOKED.

Link copied to clipboard

The serial number of the certificate.

Link copied to clipboard

The validation status of the certificate.

Link copied to clipboard

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

Link copied to clipboard

The support code. Include this code in your email to support when you have questions about your Lightsail certificate. This code enables our support team to look up your Lightsail information more easily.

Link copied to clipboard
val tags: List<Tag>?

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

Functions

Link copied to clipboard
inline fun copy(block: Certificate.Builder.() -> Unit = {}): Certificate
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String