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.
Namespace: Amazon.Lightsail.Model
Assembly: AWSSDK.Lightsail.dll
Version: 3.x.y.z
public class InstanceAccessDetails
The InstanceAccessDetails type exposes the following members
Name | Description | |
---|---|---|
InstanceAccessDetails() |
Name | Type | Description | |
---|---|---|---|
CertKey | System.String |
Gets and sets the property CertKey.
For SSH access, the public key to use when accessing your instance For OpenSSH clients
(command line SSH), you should save this value to |
|
ExpiresAt | System.DateTime |
Gets and sets the property ExpiresAt. For SSH access, the date on which the temporary keys expire. |
|
HostKeys | System.Collections.Generic.List<Amazon.Lightsail.Model.HostKeyAttributes> |
Gets and sets the property HostKeys. Describes the public SSH host keys or the RDP certificate. |
|
InstanceName | System.String |
Gets and sets the property InstanceName. The name of this Amazon Lightsail instance. |
|
IpAddress | System.String |
Gets and sets the property IpAddress. The public IP address of the Amazon Lightsail instance. |
|
Ipv6Addresses | System.Collections.Generic.List<System.String> |
Gets and sets the property Ipv6Addresses. The IPv6 address of the Amazon Lightsail instance. |
|
Password | System.String |
Gets and sets the property Password. For RDP access, the password for your Amazon Lightsail instance. Password will be an empty string if the password for your new instance is not ready yet. When you create an instance, it can take up to 15 minutes for the instance to be ready.
If you create an instance using any key pair other than the default ( If you change the Administrator password on the instance, Lightsail will continue to return the original password value. When accessing the instance using RDP, you need to manually enter the Administrator password after changing it from the default. |
|
PasswordData | Amazon.Lightsail.Model.PasswordData |
Gets and sets the property PasswordData.
For a Windows Server-based instance, an object with the data you can use to retrieve
your password. This is only needed if |
|
PrivateKey | System.String |
Gets and sets the property PrivateKey.
For SSH access, the temporary private key. For OpenSSH clients (command line SSH),
you should save this value to |
|
Protocol | Amazon.Lightsail.InstanceAccessProtocol |
Gets and sets the property Protocol. The protocol for these Amazon Lightsail instance access details. |
|
Username | System.String |
Gets and sets the property Username. The user name to use when logging in to the Amazon Lightsail instance. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5