

# PrincipalInput

An identity principal to associate with or remove from a role type. Only IAM principals are supported.

## Contents
<a name="API_PrincipalInput_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-PrincipalInput-iam"></a>
An IAM role or IAM user.  
Type: [IamPrincipalInput](API_IamPrincipalInput.md) object  
Required: No

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