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 |
Documentation
data InstanceCredentials Source #
Set of credentials required to remotely access a fleet instance. Access credentials are requested by calling GetInstanceAccess and returned in an InstanceAccess object.
See: newInstanceCredentials
smart constructor.
Instances
newInstanceCredentials :: InstanceCredentials Source #
Create a value of InstanceCredentials
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:userName:InstanceCredentials'
, instanceCredentials_userName
- User login string.
$sel:secret:InstanceCredentials'
, instanceCredentials_secret
- Secret string. For Windows instances, the secret is a password for use
with Windows Remote Desktop. For Linux instances, it is a private key
(which must be saved as a .pem
file) for use with SSH.
instanceCredentials_userName :: Lens' InstanceCredentials (Maybe Text) Source #
User login string.
instanceCredentials_secret :: Lens' InstanceCredentials (Maybe Text) Source #
Secret string. For Windows instances, the secret is a password for use
with Windows Remote Desktop. For Linux instances, it is a private key
(which must be saved as a .pem
file) for use with SSH.