v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1474216311.3 KB

<note> <p>This action can be used only with Windows stacks.</p> </note> <p>Grants RDP access to a Windows instance for a specified time period.</p>

post/#X-Amz-Target=OpsWorks_20130218.GrantAccess

Headers

X-Amz-Target'OpsWorks_20130218.GrantAccess' required

Request body

InstanceIdstring required

The instance's AWS OpsWorks Stacks ID.

ValidForInMinutesinteger

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.

Response

Success