KeyPair

class KeyPair

Describes an SSH key pair.

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 key pair (arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).

Link copied to clipboard

The timestamp when the key pair was created (1479816991.349).

Link copied to clipboard

The RSA fingerprint of the key pair.

Link copied to clipboard

The region name and Availability Zone where the key pair was created.

Link copied to clipboard
val name: String?

The friendly name of the SSH key pair.

Link copied to clipboard

The resource type (usually KeyPair).

Link copied to clipboard

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. 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: KeyPair.Builder.() -> Unit = {}): KeyPair
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