Create Iam Policy Assignment
quicksight_create_iam_policy_assignment | R Documentation |
Creates an assignment with one specified IAM policy, identified by its Amazon Resource Name (ARN)¶
Description¶
Creates an assignment with one specified IAM policy, identified by its Amazon Resource Name (ARN). This policy assignment is attached to the specified groups or users of Amazon QuickSight. Assignment names are unique per Amazon Web Services account. To avoid overwriting rules in other namespaces, use assignment names that are unique.
Usage¶
quicksight_create_iam_policy_assignment(AwsAccountId, AssignmentName,
AssignmentStatus, PolicyArn, Identities, Namespace)
Arguments¶
AwsAccountId
[required] The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight users or groups.
AssignmentName
[required] The name of the assignment, also called a rule. The name must be unique within the Amazon Web Services account.
AssignmentStatus
[required] The status of the assignment. Possible values are as follows:
ENABLED
- Anything specified in this assignment is used when creating the data source.DISABLED
- This assignment isn't used when creating the data source.DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
PolicyArn
The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this assignment.
Identities
The Amazon QuickSight users, groups, or both that you want to assign the policy to.
Namespace
[required] The namespace that contains the assignment.
Value¶
A list with the following syntax:
list(
AssignmentName = "string",
AssignmentId = "string",
AssignmentStatus = "ENABLED"|"DRAFT"|"DISABLED",
PolicyArn = "string",
Identities = list(
list(
"string"
)
),
RequestId = "string",
Status = 123
)