Skip to content

Describe Permissions

opsworks_describe_permissions R Documentation

Describes the permissions for a specified stack

Description

Describes the permissions for a specified stack.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Usage

opsworks_describe_permissions(IamUserArn, StackId)

Arguments

IamUserArn

The user's IAM ARN. This can also be a federated user's ARN. For more information about IAM ARNs, see Using Identifiers.

StackId

The stack ID.

Value

A list with the following syntax:

list(
  Permissions = list(
    list(
      StackId = "string",
      IamUserArn = "string",
      AllowSsh = TRUE|FALSE,
      AllowSudo = TRUE|FALSE,
      Level = "string"
    )
  )
)

Request syntax

svc$describe_permissions(
  IamUserArn = "string",
  StackId = "string"
)