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.

The parameters for gaining temporary access to one of your Amazon Lightsail instances.

Inheritance Hierarchy

System.Object
  Amazon.Lightsail.Model.InstanceAccessDetails

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

Syntax

C#
public class InstanceAccessDetails

The InstanceAccessDetails type exposes the following members

Constructors

NameDescription
Public Method InstanceAccessDetails()

Properties

NameTypeDescription
Public Property CertKey System.String

Gets and sets the property CertKey.

For SSH access, the public key to use when accessing your instance For OpenSSH clients (e.g., command line SSH), you should save this value to tempkey-cert.pub.

Public Property ExpiresAt System.DateTime

Gets and sets the property ExpiresAt.

For SSH access, the date on which the temporary keys expire.

Public Property InstanceName System.String

Gets and sets the property InstanceName.

The name of this Amazon Lightsail instance.

Public Property IpAddress System.String

Gets and sets the property IpAddress.

The public IP address of the Amazon Lightsail instance.

Public Property Password System.String

Gets and sets the property Password.

For RDP access, the temporary password of the Amazon EC2 instance.

Public Property PrivateKey System.String

Gets and sets the property PrivateKey.

For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH), you should save this value to tempkey).

Public Property Protocol Amazon.Lightsail.InstanceAccessProtocol

Gets and sets the property Protocol.

The protocol for these Amazon Lightsail instance access details.

Public Property Username System.String

Gets and sets the property Username.

The user name to use when logging in to the Amazon Lightsail instance.

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