interface DurableConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lambda.Mixins.CfnFunctionPropsMixin.DurableConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslambda/mixins#CfnFunctionPropsMixin_DurableConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.lambda.mixins.CfnFunctionPropsMixin.DurableConfigProperty |
Python | aws_cdk.mixins_preview.aws_lambda.mixins.CfnFunctionPropsMixin.DurableConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lambda » mixins » CfnFunctionPropsMixin » 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 { mixins as lambda_mixins } from '@aws-cdk/mixins-preview/aws-lambda';
const durableConfigProperty: lambda_mixins.CfnFunctionPropsMixin.DurableConfigProperty = {
executionTimeout: 123,
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
(optional)
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