

# DurableConfig
<a name="API_DurableConfig"></a>

Configuration settings for [durable functions](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html), including execution timeout and retention period for execution history.

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

 ** ExecutionTimeout **   <a name="lambda-Type-DurableConfig-ExecutionTimeout"></a>
The maximum time (in seconds) that a durable execution can run before timing out. This timeout applies to the entire durable execution, not individual function invocations.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 31622400.  
Required: No

 ** RetentionPeriodInDays **   <a name="lambda-Type-DurableConfig-RetentionPeriodInDays"></a>
The number of days to retain execution history after a durable execution completes. After this period, execution history is no longer available through the GetDurableExecutionHistory API.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 90.  
Required: No

## See Also
<a name="API_DurableConfig_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/lambda-2015-03-31/DurableConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/DurableConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/DurableConfig) 