You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::OpsWorks::Types::SetPermissionRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SetPermissionRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#allow_sshBoolean

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

Returns:

  • (Boolean)

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

#allow_sudoBoolean

The user is allowed to use sudo to elevate privileges.

Returns:

  • (Boolean)

    The user is allowed to use sudo to elevate privileges.

#iam_user_arnString

The user\'s IAM ARN. This can also be a federated user\'s ARN.

Returns:

  • (String)

    The user\'s IAM ARN.

#levelString

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.

Returns:

  • (String)

    The user\'s permission level, which must be set to one of the following strings.

#stack_idString

The stack ID.

Returns:

  • (String)

    The stack ID.