class Aws::OpsWorks::Types::SetPermissionRequest

@note When making an API call, you may pass SetPermissionRequest

data as a hash:

    {
      stack_id: "String", # required
      iam_user_arn: "String", # required
      allow_ssh: false,
      allow_sudo: false,
      level: "String",
    }

@!attribute [rw] stack_id

The stack ID.
@return [String]

@!attribute [rw] iam_user_arn

The user's IAM ARN. This can also be a federated user's ARN.
@return [String]

@!attribute [rw] allow_ssh

The user is allowed to use SSH to communicate with the instance.
@return [Boolean]

@!attribute [rw] allow_sudo

The user is allowed to use **sudo** to elevate privileges.
@return [Boolean]

@!attribute [rw] 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][1].

[1]: https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermissionRequest AWS API Documentation

Constants

SENSITIVE