

# IamPrincipalOutput

An IAM role or IAM user in a role association.

## Contents
<a name="API_IamPrincipalOutput_Contents"></a>

 ** arn **   <a name="redshiftserverless-Type-IamPrincipalOutput-arn"></a>
The ARN of the IAM role or IAM user.  
Type: String  
Required: Yes

 ** resolvedUniqueId **   <a name="redshiftserverless-Type-IamPrincipalOutput-resolvedUniqueId"></a>
The unique ID that IAM assigned to the principal. Amazon Redshift looks up this ID from the principal ARN when it creates the association. Role IDs begin with `AROA`, and user IDs begin with `AIDA`. The association is tied to this ID. A deleted and recreated IAM principal with the same ARN doesn't inherit the previous principal's association. The response omits this field when an idempotent `DeleteRoleAssociation` request finds no existing association.  
Type: String  
Length Constraints: Minimum length of 16. Maximum length of 128.  
Pattern: `(AROA|AIDA)[A-Z0-9]+`   
Required: No

## See Also
<a name="API_IamPrincipalOutput_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/redshift-serverless-2021-04-21/IamPrincipalOutput) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/redshift-serverless-2021-04-21/IamPrincipalOutput) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/redshift-serverless-2021-04-21/IamPrincipalOutput) 