AccountAssignmentForPrincipal - IAM Identity Center
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

AccountAssignmentForPrincipal

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

Contents

AccountId

The account ID number of the AWS 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 AWS account.

Type: String

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

Pattern: arn:aws(-[a-z]{1,5}){0,3}: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 AWS SDKs, see the following: