aws.sso_admin.list_account_assignments_for_principal
Example SQL Queries
SELECT * FROMaws.sso_admin.list_account_assignments_for_principalWHERE"instance_arn" = 'VALUE'AND "principal_id" = 'VALUE'AND "principal_type" = 'VALUE';Description
Retrieves a list of the IAM Identity Center associated Amazon Web Services accounts that the principal has access to.
Table Definition
| Column Name | Column Data Type |
|---|---|
| instance_arn Required Input Column Specifies the ARN of the instance of IAM Identity Center that contains the principal. | VARCHAR |
| principal_id Required Input Column The ID of the principal. | VARCHAR |
| principal_type Required Input Column The type of the principal. | VARCHAR |
| filter Input Column Specifies an Amazon Web Services account ID number. Results are filtered to only those that match this ID number. | STRUCT( |
Show child fields
| |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| account_id The account ID number of the Amazon Web Services account. | VARCHAR |
| permission_set_arn The ARN of the IAM Identity Center permission set assigned to this principal for this Amazon Web Services account. | VARCHAR |