amazonka-opsworks-1.3.4: Amazon OpsWorks SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.GrantAccess

Contents

Description

This action can be used only with Windows stacks.

Grants RDP access to a Windows instance for a specified time period.

See: AWS API Reference for GrantAccess.

Synopsis

Creating a Request

grantAccess Source

Creates a value of GrantAccess with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

gaValidForInMinutes :: Lens' GrantAccess (Maybe Natural) 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 the user is logged in at the time, he or she automatically will be logged out.

gaInstanceId :: Lens' GrantAccess Text Source

The instance's AWS OpsWorks ID.

Destructuring the Response

grantAccessResponse Source

Creates a value of GrantAccessResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

garsTemporaryCredential :: Lens' GrantAccessResponse (Maybe TemporaryCredential) Source

A TemporaryCredential object that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.