opsworks_grant_access: This action can be used only with Windows stacks

Description Usage Arguments Value Request syntax

View source: R/opsworks_operations.R

Description

This action can be used only with Windows stacks.

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

Usage

1
opsworks_grant_access(InstanceId, ValidForInMinutes)

Arguments

InstanceId

[required] The instance's AWS OpsWorks Stacks ID.

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 the user is logged in at the time, he or she automatically will be logged out.

Value

A list with the following syntax:

1
2
3
4
5
6
7
8
list(
  TemporaryCredential = list(
    Username = "string",
    Password = "string",
    ValidForInMinutes = 123,
    InstanceId = "string"
  )
)

Request syntax

1
2
3
4
svc$grant_access(
  InstanceId = "string",
  ValidForInMinutes = 123
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.