interface DurableConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lambda.CfnFunctionPropsMixin.DurableConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslambda#CfnFunctionPropsMixin_DurableConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnFunctionPropsMixin.DurableConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_lambda.CfnFunctionPropsMixin.DurableConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lambda » 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 { aws_lambda as lambda } from '@aws-cdk/cfn-property-mixins';
const durableConfigProperty: lambda.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