opsworks_set_permission: Specifies a user's permissions

View source: R/opsworks_operations.R

opsworks_set_permissionR Documentation

Specifies a user's permissions

Description

Specifies a user's permissions. For more information, see Security and Permissions.

See https://www.paws-r-sdk.com/docs/opsworks_set_permission/ for full documentation.

Usage

opsworks_set_permission(
  StackId,
  IamUserArn,
  AllowSsh = NULL,
  AllowSudo = NULL,
  Level = NULL
)

Arguments

StackId

[required] The stack ID.

IamUserArn

[required] The user's IAM ARN. This can also be a federated user's ARN.

AllowSsh

The user is allowed to use SSH to communicate with the instance.

AllowSudo

The user is allowed to use sudo to elevate privileges.

Level

The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level.

  • deny

  • show

  • deploy

  • manage

  • iam_only

For more information about the permissions associated with these levels, see Managing User Permissions.


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.