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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb

Overview

Describes stack or user permissions.

Instance Attribute Summary collapse

Instance Attribute Details

#allow_sshBoolean

Whether the user can use SSH.

Returns:

  • (Boolean)


4603
4604
4605
4606
4607
4608
4609
4610
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4603

class Permission < Struct.new(
  :stack_id,
  :iam_user_arn,
  :allow_ssh,
  :allow_sudo,
  :level)
  include Aws::Structure
end

#allow_sudoBoolean

Whether the user can use sudo.

Returns:

  • (Boolean)


4603
4604
4605
4606
4607
4608
4609
4610
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4603

class Permission < Struct.new(
  :stack_id,
  :iam_user_arn,
  :allow_ssh,
  :allow_sudo,
  :level)
  include Aws::Structure
end

#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)


4603
4604
4605
4606
4607
4608
4609
4610
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4603

class Permission < Struct.new(
  :stack_id,
  :iam_user_arn,
  :allow_ssh,
  :allow_sudo,
  :level)
  include Aws::Structure
end

#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)


4603
4604
4605
4606
4607
4608
4609
4610
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4603

class Permission < Struct.new(
  :stack_id,
  :iam_user_arn,
  :allow_ssh,
  :allow_sudo,
  :level)
  include Aws::Structure
end

#stack_idString

A stack ID.

Returns:

  • (String)


4603
4604
4605
4606
4607
4608
4609
4610
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4603

class Permission < Struct.new(
  :stack_id,
  :iam_user_arn,
  :allow_ssh,
  :allow_sudo,
  :level)
  include Aws::Structure
end