AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes the SSH key pair.

Inheritance Hierarchy

System.Object
  Amazon.Lightsail.Model.KeyPair

Namespace: Amazon.Lightsail.Model
Assembly: AWSSDK.Lightsail.dll
Version: 3.x.y.z

Syntax

C#
public class KeyPair

The KeyPair type exposes the following members

Constructors

NameDescription
Public Method KeyPair()

Properties

NameTypeDescription
Public Property Arn System.String

Gets and sets the property 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).

Public Property CreatedAt System.DateTime

Gets and sets the property CreatedAt.

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

Public Property Fingerprint System.String

Gets and sets the property Fingerprint.

The RSA fingerprint of the key pair.

Public Property Location Amazon.Lightsail.Model.ResourceLocation

Gets and sets the property Location.

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

Public Property Name System.String

Gets and sets the property Name.

The friendly name of the SSH key pair.

Public Property ResourceType Amazon.Lightsail.ResourceType

Gets and sets the property ResourceType.

The resource type (usually KeyPair).

Public Property SupportCode System.String

Gets and sets the property 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.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms