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 |
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 amount of time (in seconds) that Lambda allows a durable function to run before stopping it. |
| retention | number | The number of days after a durable execution is closed that Lambda retains its history, from one to 90 days. |
executionTimeout
Type:
number
The amount of time (in seconds) that Lambda allows a durable function to run before stopping it.
The maximum is one 366-day year or 31,622,400 seconds.
retentionPeriodInDays?
Type:
number
(optional, default: 14)
The number of days after a durable execution is closed that Lambda retains its history, from one to 90 days.
The default is 14 days.

.NET
Go
Java
Python
TypeScript