NAME

Paws::Lightsail::InstanceAccessDetails

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Lightsail::InstanceAccessDetails object:

$service_obj->Method(Att1 => { CertKey => $value, ..., Username => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::InstanceAccessDetails object:

$result = $service_obj->Method(...);
$result->Att1->CertKey

DESCRIPTION

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

ATTRIBUTES

CertKey => Str

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.

ExpiresAt => Str

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

HostKeys => ArrayRef[Paws::Lightsail::HostKeyAttributes]

Describes the public SSH host keys or the RDP certificate.

InstanceName => Str

The name of this Amazon Lightsail instance.

IpAddress => Str

The public IP address of the Amazon Lightsail instance.

Password => Str

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 (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.

PasswordData => Paws::Lightsail::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.

PrivateKey => Str

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

Protocol => Str

The protocol for these Amazon Lightsail instance access details.

Username => Str

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

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Lightsail

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues