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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allow_sshBoolean

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

Returns:

  • (Boolean)


4701
4702
4703
4704
4705
4706
4707
4708
4709
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4701

class SetPermissionRequest < Struct.new(
  :stack_id,
  :iam_user_arn,
  :allow_ssh,
  :allow_sudo,
  :level)
  SENSITIVE = []
  include Aws::Structure
end

#allow_sudoBoolean

The user is allowed to use sudo to elevate privileges.

Returns:

  • (Boolean)


4701
4702
4703
4704
4705
4706
4707
4708
4709
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4701

class SetPermissionRequest < Struct.new(
  :stack_id,
  :iam_user_arn,
  :allow_ssh,
  :allow_sudo,
  :level)
  SENSITIVE = []
  include Aws::Structure
end

#iam_user_arnString

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

Returns:

  • (String)


4701
4702
4703
4704
4705
4706
4707
4708
4709
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4701

class SetPermissionRequest < Struct.new(
  :stack_id,
  :iam_user_arn,
  :allow_ssh,
  :allow_sudo,
  :level)
  SENSITIVE = []
  include Aws::Structure
end

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


4701
4702
4703
4704
4705
4706
4707
4708
4709
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4701

class SetPermissionRequest < Struct.new(
  :stack_id,
  :iam_user_arn,
  :allow_ssh,
  :allow_sudo,
  :level)
  SENSITIVE = []
  include Aws::Structure
end

#stack_idString

The stack ID.

Returns:

  • (String)


4701
4702
4703
4704
4705
4706
4707
4708
4709
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4701

class SetPermissionRequest < Struct.new(
  :stack_id,
  :iam_user_arn,
  :allow_ssh,
  :allow_sudo,
  :level)
  SENSITIVE = []
  include Aws::Structure
end