Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

CreateIAMPolicyAssignment

Focus mode
CreateIAMPolicyAssignment - Amazon QuickSight

Use the CreateIAMPolicyAssignment API operation to create 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 for each AWS account. To avoid overwriting rules in other namespaces, use assignment names that are unique.

Following is an example AWS CLI command for this operation.

AWS CLI
aws quicksight create-iam-policy-assignment --aws-account-id AWSACCOUNTID --assignment-name ASSIGNMENT --assignment-status ENABLED

You can also make this command using a CLI skeleton file with the following command. For more information about CLI skeleton files, see Use CLI skeleton files.

aws quicksight create-iam-policy-assignment --cli-input-json file://createiampolicyassignment.json
aws quicksight create-iam-policy-assignment --aws-account-id AWSACCOUNTID --assignment-name ASSIGNMENT --assignment-status ENABLED

You can also make this command using a CLI skeleton file with the following command. For more information about CLI skeleton files, see Use CLI skeleton files.

aws quicksight create-iam-policy-assignment --cli-input-json file://createiampolicyassignment.json

For more information about the CreateIAMPolicyAssignment API operation, see CreateIAMPolicyAssignment in the Amazon QuickSight API Reference.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.