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 TemporaryCredential = TemporaryCredential' {}
- newTemporaryCredential :: TemporaryCredential
- temporaryCredential_instanceId :: Lens' TemporaryCredential (Maybe Text)
- temporaryCredential_username :: Lens' TemporaryCredential (Maybe Text)
- temporaryCredential_password :: Lens' TemporaryCredential (Maybe Text)
- temporaryCredential_validForInMinutes :: Lens' TemporaryCredential (Maybe Int)
Documentation
data TemporaryCredential Source #
Contains the data needed by RDP clients such as the Microsoft Remote Desktop Connection to log in to the instance.
See: newTemporaryCredential
smart constructor.
TemporaryCredential' | |
|
Instances
newTemporaryCredential :: TemporaryCredential Source #
Create a value of TemporaryCredential
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:instanceId:TemporaryCredential'
, temporaryCredential_instanceId
- The instance's AWS OpsWorks Stacks ID.
$sel:username:TemporaryCredential'
, temporaryCredential_username
- The user name.
$sel:password:TemporaryCredential'
, temporaryCredential_password
- The password.
$sel:validForInMinutes:TemporaryCredential'
, temporaryCredential_validForInMinutes
- The length of time (in minutes) that the grant is valid. When the grant
expires, at the end of this period, the user will no longer be able to
use the credentials to log in. If they are logged in at the time, they
will be automatically logged out.
temporaryCredential_instanceId :: Lens' TemporaryCredential (Maybe Text) Source #
The instance's AWS OpsWorks Stacks ID.
temporaryCredential_username :: Lens' TemporaryCredential (Maybe Text) Source #
The user name.
temporaryCredential_password :: Lens' TemporaryCredential (Maybe Text) Source #
The password.
temporaryCredential_validForInMinutes :: Lens' TemporaryCredential (Maybe Int) Source #
The length of time (in minutes) that the grant is valid. When the grant expires, at the end of this period, the user will no longer be able to use the credentials to log in. If they are logged in at the time, they will be automatically logged out.