Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data AccountAssignment = AccountAssignment' {}
- newAccountAssignment :: AccountAssignment
- accountAssignment_accountId :: Lens' AccountAssignment (Maybe Text)
- accountAssignment_permissionSetArn :: Lens' AccountAssignment (Maybe Text)
- accountAssignment_principalId :: Lens' AccountAssignment (Maybe Text)
- accountAssignment_principalType :: Lens' AccountAssignment (Maybe PrincipalType)
Documentation
data AccountAssignment Source #
The assignment that indicates a principal's limited access to a specified AWS account with a specified permission set.
The term principal here refers to a user or group that is defined in IAM Identity Center.
See: newAccountAssignment
smart constructor.
AccountAssignment' | |
|
Instances
newAccountAssignment :: AccountAssignment Source #
Create a value of AccountAssignment
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:accountId:AccountAssignment'
, accountAssignment_accountId
- The identifier of the AWS account.
$sel:permissionSetArn:AccountAssignment'
, accountAssignment_permissionSetArn
- The ARN of the permission set. For more information about ARNs, see
Amazon Resource Names (ARNs) and AWS Service Namespaces
in the AWS General Reference.
$sel:principalId:AccountAssignment'
, accountAssignment_principalId
- An identifier for an object in IAM Identity Center, such as a user or
group. PrincipalIds are GUIDs (For example,
f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about
PrincipalIds in IAM Identity Center, see the
IAM Identity Center Identity Store API Reference.
$sel:principalType:AccountAssignment'
, accountAssignment_principalType
- The entity type for which the assignment will be created.
accountAssignment_accountId :: Lens' AccountAssignment (Maybe Text) Source #
The identifier of the AWS account.
accountAssignment_permissionSetArn :: Lens' AccountAssignment (Maybe Text) Source #
The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
accountAssignment_principalId :: Lens' AccountAssignment (Maybe Text) Source #
An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
accountAssignment_principalType :: Lens' AccountAssignment (Maybe PrincipalType) Source #
The entity type for which the assignment will be created.