

# UserTokenConfiguration
<a name="API_UserTokenConfiguration"></a>

Provides the configuration information for a token.

**Important**  
If you're using an Amazon Kendra Gen AI Enterprise Edition index and you try to use `UserTokenConfigurations` to configure user context policy, Amazon Kendra returns a `ValidationException` error.

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

 ** JsonTokenTypeConfiguration **   <a name="kendra-Type-UserTokenConfiguration-JsonTokenTypeConfiguration"></a>
Information about the JSON token type configuration.  
Type: [JsonTokenTypeConfiguration](API_JsonTokenTypeConfiguration.md) object  
Required: No

 ** JwtTokenTypeConfiguration **   <a name="kendra-Type-UserTokenConfiguration-JwtTokenTypeConfiguration"></a>
Information about the JWT token type configuration.  
Type: [JwtTokenTypeConfiguration](API_JwtTokenTypeConfiguration.md) object  
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/kendra-2019-02-03/UserTokenConfiguration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/kendra-2019-02-03/UserTokenConfiguration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/kendra-2019-02-03/UserTokenConfiguration) 