AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::OpsWorks::Types::Permission

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

Overview

Describes stack or user permissions.

Instance Attribute Summary collapse

Instance Attribute Details

#allow_sshBoolean

Whether the user can use SSH.

Returns:

  • (Boolean)

    Whether the user can use SSH.

#allow_sudoBoolean

Whether the user can use sudo.

Returns:

  • (Boolean)

    Whether the user can use sudo.

#iam_user_arnString

The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.

Returns:

  • (String)

    The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role.

#levelString

The user\'s permission level, which must be the following:

  • deny

  • show

  • deploy

  • manage

  • iam_only

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

Returns:

  • (String)

    The user\'s permission level, which must be the following:.

#stack_idString

A stack ID.

Returns:

  • (String)

    A stack ID.