Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data SetPermission
- setPermission :: Text -> Text -> SetPermission
- spAllowSsh :: Lens' SetPermission (Maybe Bool)
- spAllowSudo :: Lens' SetPermission (Maybe Bool)
- spIamUserArn :: Lens' SetPermission Text
- spLevel :: Lens' SetPermission (Maybe Text)
- spStackId :: Lens' SetPermission Text
- data SetPermissionResponse
- setPermissionResponse :: SetPermissionResponse
Request
data SetPermission Source
Request constructor
SetPermission
constructor.
The fields accessible through corresponding lenses are:
spAllowSsh
::
Maybe
Bool
spAllowSudo
::
Maybe
Bool
spIamUserArn
::
Text
spLevel
::
Maybe
Text
spStackId
::
Text
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
setPermissionResponse :: SetPermissionResponse Source
SetPermissionResponse
constructor.