amazonka-opsworks-0.3.2: Amazon OpsWorks SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.SetPermission

Contents

Description

Specifies a user's permissions. For more information, see Security andPermissions.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing UserPermissions.

http://docs.aws.amazon.com/opsworks/latest/APIReference/API_SetPermission.html

Synopsis

Request

Request constructor

setPermission Source

Arguments

:: Text

spStackId

-> Text

spIamUserArn

-> SetPermission 

SetPermission constructor.

The fields accessible through corresponding lenses are:

Request lenses

spAllowSsh :: Lens' SetPermission (Maybe Bool) Source

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

spAllowSudo :: Lens' SetPermission (Maybe Bool) Source

The user is allowed to use sudo to elevate privileges.

spIamUserArn :: Lens' SetPermission Text Source

The user's IAM ARN.

spLevel :: Lens' SetPermission (Maybe Text) Source

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 on the permissions associated with these levels, see Managing User Permissions

spStackId :: Lens' SetPermission Text Source

The stack ID.

Response

Response constructor