Class: Aws::OpsWorks::Types::Permission
- Inherits:
-
Struct
- Object
- Struct
- Aws::OpsWorks::Types::Permission
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-opsworks/types.rb
Overview
Describes stack or user permissions.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#allow_ssh ⇒ Boolean
Whether the user can use SSH.
-
#allow_sudo ⇒ Boolean
Whether the user can use sudo.
-
#iam_user_arn ⇒ String
The Amazon Resource Name (ARN) for an Identity and Access Management (IAM) role.
-
#level ⇒ String
The user’s permission level, which must be the following:.
-
#stack_id ⇒ String
A stack ID.
Instance Attribute Details
#allow_ssh ⇒ Boolean
Whether the user can use SSH.
4146 4147 4148 4149 4150 4151 4152 4153 4154 |
# File 'lib/aws-sdk-opsworks/types.rb', line 4146 class Permission < Struct.new( :stack_id, :iam_user_arn, :allow_ssh, :allow_sudo, :level) SENSITIVE = [] include Aws::Structure end |
#allow_sudo ⇒ Boolean
Whether the user can use sudo.
4146 4147 4148 4149 4150 4151 4152 4153 4154 |
# File 'lib/aws-sdk-opsworks/types.rb', line 4146 class Permission < Struct.new( :stack_id, :iam_user_arn, :allow_ssh, :allow_sudo, :level) SENSITIVE = [] include Aws::Structure end |
#iam_user_arn ⇒ String
The Amazon Resource Name (ARN) for an Identity and Access Management (IAM) role. For more information about IAM ARNs, see [Using Identifiers].
[1]: docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html
4146 4147 4148 4149 4150 4151 4152 4153 4154 |
# File 'lib/aws-sdk-opsworks/types.rb', line 4146 class Permission < Struct.new( :stack_id, :iam_user_arn, :allow_ssh, :allow_sudo, :level) SENSITIVE = [] include Aws::Structure end |
#level ⇒ String
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]
[1]: docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html
4146 4147 4148 4149 4150 4151 4152 4153 4154 |
# File 'lib/aws-sdk-opsworks/types.rb', line 4146 class Permission < Struct.new( :stack_id, :iam_user_arn, :allow_ssh, :allow_sudo, :level) SENSITIVE = [] include Aws::Structure end |
#stack_id ⇒ String
A stack ID.
4146 4147 4148 4149 4150 4151 4152 4153 4154 |
# File 'lib/aws-sdk-opsworks/types.rb', line 4146 class Permission < Struct.new( :stack_id, :iam_user_arn, :allow_ssh, :allow_sudo, :level) SENSITIVE = [] include Aws::Structure end |