AccountAssignmentForPrincipal - IAM Identity Center
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AccountAssignmentForPrincipal

A structure that describes an assignment of an Amazon Web Services account to a principal and the permissions that principal has in the account.

Contents

AccountId

The account ID number of the Amazon Web Services account.

Type: String

Length Constraints: Fixed length of 12.

Pattern: \d{12}

Required: No

PermissionSetArn

The ARN of the IAM Identity Center permission set assigned to this principal for this Amazon Web Services account.

Type: String

Length Constraints: Minimum length of 10. Maximum length of 1224.

Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::permissionSet/(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16}

Required: No

PrincipalId

The ID of the principal.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 47.

Pattern: ([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}

Required: No

PrincipalType

The type of the principal.

Type: String

Valid Values: USER | GROUP

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: