

# TrustedIdentitySource

An identity source to trust. Set exactly one member. An ARN of any other resource type is a ValidationException.

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

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

 ** identityProviderArn **   <a name="context-Type-TrustedIdentitySource-identityProviderArn"></a>
An IAM OIDC or SAML identity provider ARN, for example `arn:aws:iam::111122223333:oidc-provider/example.com`.  
Type: String  
Length Constraints: Minimum length of 41. Maximum length of 305.  
Pattern: `arn:aws(-[a-z]{1,5}){0,3}:iam::[0-9]{12}:(oidc-provider/[A-Za-z0-9][A-Za-z0-9._-]*(:[0-9]{1,5})?(/[!-"$->@-~]*)?|saml-provider/[A-Za-z0-9_+=,.@-]{1,128})`   
Required: No

 ** identityStoreArn **   <a name="context-Type-TrustedIdentitySource-identityStoreArn"></a>
An IAM Identity Center identity store ARN, for example `arn:aws:identitystore::111122223333:identitystore/d-1234567890`. IAM Identity Center DescribeInstance returns it as `IdentityStoreArn`.  
Type: String  
Length Constraints: Minimum length of 62. Maximum length of 93.  
Pattern: `arn:aws(-[a-z]{1,5}){0,3}:identitystore::[0-9]{12}:identitystore/(d-[0-9a-f]{10}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})`   
Required: No

## See Also
<a name="API_TrustedIdentitySource_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/context-2022-07-26/TrustedIdentitySource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/context-2022-07-26/TrustedIdentitySource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/context-2022-07-26/TrustedIdentitySource) 