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.
opsworks_describe_permissions(IamUserArn, StackId)
A list with the following syntax:
list(
Permissions = list(
list(
StackId = "string",
IamUserArn = "string",
AllowSsh = TRUE|FALSE,
AllowSudo = TRUE|FALSE,
Level = "string"
)
)
)
The user's IAM ARN. This can also be a federated user's ARN. For more information about IAM ARNs, see Using Identifiers.
The stack ID.
svc$describe_permissions(
IamUserArn = "string",
StackId = "string"
)