Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Permission = Permission' {}
- newPermission :: Permission
- permission_iamUserArn :: Lens' Permission (Maybe Text)
- permission_allowSudo :: Lens' Permission (Maybe Bool)
- permission_stackId :: Lens' Permission (Maybe Text)
- permission_level :: Lens' Permission (Maybe Text)
- permission_allowSsh :: Lens' Permission (Maybe Bool)
Documentation
data Permission Source #
Describes stack or user permissions.
See: newPermission
smart constructor.
Permission' | |
|
Instances
newPermission :: Permission Source #
Create a value of Permission
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:iamUserArn:Permission'
, permission_iamUserArn
- The Amazon Resource Name (ARN) for an AWS Identity and Access Management
(IAM) role. For more information about IAM ARNs, see
Using Identifiers.
$sel:allowSudo:Permission'
, permission_allowSudo
- Whether the user can use sudo.
$sel:stackId:Permission'
, permission_stackId
- A stack ID.
$sel:level:Permission'
, permission_level
- 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
$sel:allowSsh:Permission'
, permission_allowSsh
- Whether the user can use SSH.
permission_iamUserArn :: Lens' Permission (Maybe Text) Source #
The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.
permission_allowSudo :: Lens' Permission (Maybe Bool) Source #
Whether the user can use sudo.
permission_stackId :: Lens' Permission (Maybe Text) Source #
A stack ID.
permission_level :: Lens' Permission (Maybe Text) Source #
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
permission_allowSsh :: Lens' Permission (Maybe Bool) Source #
Whether the user can use SSH.