Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Specifies a user's permissions. For more information, see Security and Permissions.
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 User Permissions.
See: AWS API Reference for SetPermission.
- setPermission :: Text -> Text -> SetPermission
- data SetPermission
- spAllowSudo :: Lens' SetPermission (Maybe Bool)
- spLevel :: Lens' SetPermission (Maybe Text)
- spAllowSSH :: Lens' SetPermission (Maybe Bool)
- spStackId :: Lens' SetPermission Text
- spIAMUserARN :: Lens' SetPermission Text
- setPermissionResponse :: SetPermissionResponse
- data SetPermissionResponse
Creating a Request
Creates a value of SetPermission
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SetPermission Source
See: setPermission
smart constructor.
Request Lenses
spAllowSudo :: Lens' SetPermission (Maybe Bool) Source
The user is allowed to use sudo to elevate privileges.
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.
spAllowSSH :: Lens' SetPermission (Maybe Bool) Source
The user is allowed to use SSH to communicate with the instance.
spStackId :: Lens' SetPermission Text Source
The stack ID.
spIAMUserARN :: Lens' SetPermission Text Source
The user's IAM ARN.
Destructuring the Response
setPermissionResponse :: SetPermissionResponse Source
Creates a value of SetPermissionResponse
with the minimum fields required to make a request.