InstanceAccessDetails class

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

Constructors

InstanceAccessDetails({String? certKey, DateTime? expiresAt, List<HostKeyAttributes>? hostKeys, String? instanceName, String? ipAddress, String? password, PasswordData? passwordData, String? privateKey, InstanceAccessProtocol? protocol, String? username})
InstanceAccessDetails.fromJson(Map<String, dynamic> json)
factory

Properties

certKey String?
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.
final
expiresAt DateTime?
For SSH access, the date on which the temporary keys expire.
final
hashCode int
The hash code for this object.
no setterinherited
hostKeys List<HostKeyAttributes>?
Describes the public SSH host keys or the RDP certificate.
final
instanceName String?
The name of this Amazon Lightsail instance.
final
ipAddress String?
The public IP address of the Amazon Lightsail instance.
final
password String?
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.
final
passwordData PasswordData?
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.
final
privateKey String?
For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH), you should save this value to tempkey).
final
protocol InstanceAccessProtocol?
The protocol for these Amazon Lightsail instance access details.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String?
The user name to use when logging in to the Amazon Lightsail instance.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited