class Aws::Lightsail::Types::InstanceAccessDetails

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

@!attribute [rw] cert_key

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`.
@return [String]

@!attribute [rw] expires_at

For SSH access, the date on which the temporary keys expire.
@return [Time]

@!attribute [rw] ip_address

The public IP address of the Amazon Lightsail instance.
@return [String]

@!attribute [rw] 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.

<note markdown="1"> If you create an instance using any key pair other than the default
(`LightsailDefaultKeyPair`), `password` will always be an empty
string.

 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.

 </note>
@return [String]

@!attribute [rw] password_data

For a Windows Server-based instance, an object with the data you can
use to retrieve your password. This is only needed if `password` is
empty and the instance is not new (and therefore the password is not
ready yet). When you create an instance, it can take up to 15
minutes for the instance to be ready.
@return [Types::PasswordData]

@!attribute [rw] private_key

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

@!attribute [rw] protocol

The protocol for these Amazon Lightsail instance access details.
@return [String]

@!attribute [rw] instance_name

The name of this Amazon Lightsail instance.
@return [String]

@!attribute [rw] username

The user name to use when logging in to the Amazon Lightsail
instance.
@return [String]

@!attribute [rw] host_keys

Describes the public SSH host keys or the RDP certificate.
@return [Array<Types::HostKeyAttributes>]

@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceAccessDetails AWS API Documentation

Constants

SENSITIVE