interface DurableConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnFunction.DurableConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnFunction_DurableConfigProperty |
Java | software.amazon.awscdk.services.lambda.CfnFunction.DurableConfigProperty |
Python | aws_cdk.aws_lambda.CfnFunction.DurableConfigProperty |
TypeScript | aws-cdk-lib » aws_lambda » CfnFunction » DurableConfigProperty |
Configuration settings for durable functions , including execution timeout and retention period for execution history.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const durableConfigProperty: lambda.CfnFunction.DurableConfigProperty = {
executionTimeout: 123,
// the properties below are optional
retentionPeriodInDays: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| execution | number | The maximum time (in seconds) that a durable execution can run before timing out. |
| retention | number | The number of days to retain execution history after a durable execution completes. |
executionTimeout
Type:
number
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.
retentionPeriodInDays?
Type:
number
(optional, default: 14)
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.

.NET
Go
Java
Python
TypeScript