Class: Aws::OpsWorks::Types::SetPermissionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::OpsWorks::Types::SetPermissionRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-opsworks/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#allow_ssh ⇒ Boolean
The user is allowed to use SSH to communicate with the instance.
-
#allow_sudo ⇒ Boolean
The user is allowed to use sudo to elevate privileges.
-
#iam_user_arn ⇒ String
The user’s IAM ARN.
-
#level ⇒ String
The user’s permission level, which must be set to one of the following strings.
-
#stack_id ⇒ String
The stack ID.
Instance Attribute Details
#allow_ssh ⇒ Boolean
The user is allowed to use SSH to communicate with the instance.
4721 4722 4723 4724 4725 4726 4727 4728 4729 |
# File 'lib/aws-sdk-opsworks/types.rb', line 4721 class SetPermissionRequest < Struct.new( :stack_id, :iam_user_arn, :allow_ssh, :allow_sudo, :level) SENSITIVE = [] include Aws::Structure end |
#allow_sudo ⇒ Boolean
The user is allowed to use sudo to elevate privileges.
4721 4722 4723 4724 4725 4726 4727 4728 4729 |
# File 'lib/aws-sdk-opsworks/types.rb', line 4721 class SetPermissionRequest < Struct.new( :stack_id, :iam_user_arn, :allow_ssh, :allow_sudo, :level) SENSITIVE = [] include Aws::Structure end |
#iam_user_arn ⇒ String
The user’s IAM ARN. This can also be a federated user’s ARN.
4721 4722 4723 4724 4725 4726 4727 4728 4729 |
# File 'lib/aws-sdk-opsworks/types.rb', line 4721 class SetPermissionRequest < 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 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].
[1]: docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html
4721 4722 4723 4724 4725 4726 4727 4728 4729 |
# File 'lib/aws-sdk-opsworks/types.rb', line 4721 class SetPermissionRequest < Struct.new( :stack_id, :iam_user_arn, :allow_ssh, :allow_sudo, :level) SENSITIVE = [] include Aws::Structure end |
#stack_id ⇒ String
The stack ID.
4721 4722 4723 4724 4725 4726 4727 4728 4729 |
# File 'lib/aws-sdk-opsworks/types.rb', line 4721 class SetPermissionRequest < Struct.new( :stack_id, :iam_user_arn, :allow_ssh, :allow_sudo, :level) SENSITIVE = [] include Aws::Structure end |