KeyPair - Amazon Lightsail

KeyPair

Describes an SSH key pair.

Contents

arn

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

Type: String

Pattern: .*\S.*

Required: No

createdAt

The timestamp when the key pair was created (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: ContainerService | Instance | StaticIp | KeyPair | InstanceSnapshot | Domain | PeeredVpc | LoadBalancer | LoadBalancerTlsCertificate | Disk | DiskSnapshot | RelationalDatabase | RelationalDatabaseSnapshot | ExportSnapshotRecord | CloudFormationStackRecord | Alarm | ContactMethod | Distribution | Certificate | Bucket

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

tags

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

Type: Array of Tag objects

Required: No

See Also

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