Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data InstanceAccessDetails = InstanceAccessDetails' {}
- newInstanceAccessDetails :: InstanceAccessDetails
- instanceAccessDetails_hostKeys :: Lens' InstanceAccessDetails (Maybe [HostKeyAttributes])
- instanceAccessDetails_certKey :: Lens' InstanceAccessDetails (Maybe Text)
- instanceAccessDetails_ipAddress :: Lens' InstanceAccessDetails (Maybe Text)
- instanceAccessDetails_privateKey :: Lens' InstanceAccessDetails (Maybe Text)
- instanceAccessDetails_expiresAt :: Lens' InstanceAccessDetails (Maybe UTCTime)
- instanceAccessDetails_username :: Lens' InstanceAccessDetails (Maybe Text)
- instanceAccessDetails_protocol :: Lens' InstanceAccessDetails (Maybe InstanceAccessProtocol)
- instanceAccessDetails_passwordData :: Lens' InstanceAccessDetails (Maybe PasswordData)
- instanceAccessDetails_password :: Lens' InstanceAccessDetails (Maybe Text)
- instanceAccessDetails_instanceName :: Lens' InstanceAccessDetails (Maybe Text)
Documentation
data InstanceAccessDetails Source #
The parameters for gaining temporary access to one of your Amazon Lightsail instances.
See: newInstanceAccessDetails
smart constructor.
InstanceAccessDetails' | |
|
Instances
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:hostKeys:InstanceAccessDetails'
, instanceAccessDetails_hostKeys
- Describes the public SSH host keys or the RDP certificate.
$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:ipAddress:InstanceAccessDetails'
, instanceAccessDetails_ipAddress
- The public IP address of the Amazon Lightsail instance.
$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:expiresAt:InstanceAccessDetails'
, instanceAccessDetails_expiresAt
- For SSH access, the date on which the temporary keys expire.
$sel:username:InstanceAccessDetails'
, instanceAccessDetails_username
- The user name to use when logging in to the Amazon Lightsail instance.
$sel:protocol:InstanceAccessDetails'
, instanceAccessDetails_protocol
- The protocol for these Amazon Lightsail instance access details.
$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: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:instanceName:InstanceAccessDetails'
, instanceAccessDetails_instanceName
- The name of this Amazon Lightsail instance.
instanceAccessDetails_hostKeys :: Lens' InstanceAccessDetails (Maybe [HostKeyAttributes]) Source #
Describes the public SSH host keys or the RDP certificate.
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_ipAddress :: Lens' InstanceAccessDetails (Maybe Text) Source #
The public IP address of the Amazon Lightsail instance.
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_expiresAt :: Lens' InstanceAccessDetails (Maybe UTCTime) Source #
For SSH access, the date on which the temporary keys expire.
instanceAccessDetails_username :: Lens' InstanceAccessDetails (Maybe Text) Source #
The user name to use when logging in to the Amazon Lightsail instance.
instanceAccessDetails_protocol :: Lens' InstanceAccessDetails (Maybe InstanceAccessProtocol) Source #
The protocol for these Amazon Lightsail instance access details.
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_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_instanceName :: Lens' InstanceAccessDetails (Maybe Text) Source #
The name of this Amazon Lightsail instance.