Menu
Amazon Lightsail
REST API Reference (API Version 2016-11-28)

KeyPair

Describes the SSH key pair.

Contents

arn

The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-1:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).

Type: String

Pattern: .*\S.*

Required: No

createdAt

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

Type: Timestamp

Required: No

fingerprint

The RSA fingerprint of the key pair.

Type: String

Required: No

location

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

Type: ResourceLocation object

Required: No

name

The friendly name of the SSH key pair.

Type: String

Pattern: \w[\w\-]*\w

Required: No

resourceType

The resource type (usually KeyPair).

Type: String

Valid Values: Instance | StaticIp | KeyPair | InstanceSnapshot | Domain | PeeredVpc

Required: No

supportCode

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.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: