

# PrincipalOutput

An identity principal returned in a role association.

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

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** iam **   <a name="redshiftserverless-Type-PrincipalOutput-iam"></a>
An IAM role or IAM user.  
Type: [IamPrincipalOutput](API_IamPrincipalOutput.md) object  
Required: No

## See Also
<a name="API_PrincipalOutput_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/PrincipalOutput) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/redshift-serverless-2021-04-21/PrincipalOutput) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/redshift-serverless-2021-04-21/PrincipalOutput) 