

# SessionConfiguration
<a name="API_SessionConfiguration"></a>

The session configuration for an MCP gateway. This structure defines settings that control session behavior.

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

 ** sessionTimeoutInSeconds **   <a name="bedrockagentcorecontrol-Type-SessionConfiguration-sessionTimeoutInSeconds"></a>
The session timeout in seconds. After this timeout, the session expires and subsequent requests to this session will receive an error. The minimum value is 900 seconds (15 minutes), the maximum value is 28800 seconds (8 hours), and the default value is 3600 seconds (1 hour).  
Type: Integer  
Valid Range: Minimum value of 900. Maximum value of 28800.  
Required: No

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/bedrock-agentcore-control-2023-06-05/SessionConfiguration) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/bedrock-agentcore-control-2023-06-05/SessionConfiguration) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/bedrock-agentcore-control-2023-06-05/SessionConfiguration) 