amazonka-lightsail-2.0: Amazon Lightsail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lightsail.Types.InstanceAccessDetails

Description

 
Synopsis

Documentation

data InstanceAccessDetails Source #

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

See: newInstanceAccessDetails smart constructor.

Constructors

InstanceAccessDetails' 

Fields

  • certKey :: Maybe Text

    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 :: Maybe POSIX

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

  • hostKeys :: Maybe [HostKeyAttributes]

    Describes the public SSH host keys or the RDP certificate.

  • instanceName :: Maybe Text

    The name of this Amazon Lightsail instance.

  • ipAddress :: Maybe Text

    The public IP address of the Amazon Lightsail instance.

  • password :: Maybe Text

    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 :: Maybe 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 :: Maybe Text

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

  • protocol :: Maybe InstanceAccessProtocol

    The protocol for these Amazon Lightsail instance access details.

  • username :: Maybe Text

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

Instances

Instances details
FromJSON InstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceAccessDetails

Generic InstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceAccessDetails

Associated Types

type Rep InstanceAccessDetails :: Type -> Type #

Read InstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceAccessDetails

Show InstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceAccessDetails

NFData InstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceAccessDetails

Methods

rnf :: InstanceAccessDetails -> () #

Eq InstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceAccessDetails

Hashable InstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceAccessDetails

type Rep InstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.Types.InstanceAccessDetails

newInstanceAccessDetails :: InstanceAccessDetails Source #

Create a value of InstanceAccessDetails with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:certKey:InstanceAccessDetails', instanceAccessDetails_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.

$sel:expiresAt:InstanceAccessDetails', instanceAccessDetails_expiresAt - For SSH access, the date on which the temporary keys expire.

$sel:hostKeys:InstanceAccessDetails', instanceAccessDetails_hostKeys - Describes the public SSH host keys or the RDP certificate.

$sel:instanceName:InstanceAccessDetails', instanceAccessDetails_instanceName - The name of this Amazon Lightsail instance.

$sel:ipAddress:InstanceAccessDetails', instanceAccessDetails_ipAddress - The public IP address of the Amazon Lightsail instance.

$sel:password:InstanceAccessDetails', instanceAccessDetails_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 (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.

$sel:passwordData:InstanceAccessDetails', instanceAccessDetails_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.

$sel:privateKey:InstanceAccessDetails', instanceAccessDetails_privateKey - For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH), you should save this value to tempkey).

$sel:protocol:InstanceAccessDetails', instanceAccessDetails_protocol - The protocol for these Amazon Lightsail instance access details.

$sel:username:InstanceAccessDetails', instanceAccessDetails_username - The user name to use when logging in to the Amazon Lightsail instance.

instanceAccessDetails_certKey :: Lens' InstanceAccessDetails (Maybe Text) Source #

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.

instanceAccessDetails_expiresAt :: Lens' InstanceAccessDetails (Maybe UTCTime) Source #

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

instanceAccessDetails_hostKeys :: Lens' InstanceAccessDetails (Maybe [HostKeyAttributes]) Source #

Describes the public SSH host keys or the RDP certificate.

instanceAccessDetails_instanceName :: Lens' InstanceAccessDetails (Maybe Text) Source #

The name of this Amazon Lightsail instance.

instanceAccessDetails_ipAddress :: Lens' InstanceAccessDetails (Maybe Text) Source #

The public IP address of the Amazon Lightsail instance.

instanceAccessDetails_password :: Lens' InstanceAccessDetails (Maybe Text) Source #

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.

instanceAccessDetails_passwordData :: Lens' InstanceAccessDetails (Maybe PasswordData) Source #

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.

instanceAccessDetails_privateKey :: Lens' InstanceAccessDetails (Maybe Text) Source #

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

instanceAccessDetails_protocol :: Lens' InstanceAccessDetails (Maybe InstanceAccessProtocol) Source #

The protocol for these Amazon Lightsail instance access details.

instanceAccessDetails_username :: Lens' InstanceAccessDetails (Maybe Text) Source #

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