durable-execution-sdk-js.durableexecutionconfig.md

December 2, 2025 ยท View on GitHub

Home > @aws/durable-execution-sdk-js > DurableExecutionConfig

DurableExecutionConfig interface

Configuration options for durable execution setup.

This interface allows customization of the durable execution runtime behavior, primarily for dependency injection and testing scenarios. In most production use cases, the default configuration is sufficient.

Signature:

export interface DurableExecutionConfig

Properties

Property

Modifiers

Type

Description

client?

LambdaClient

(Optional) Optional custom AWS Lambda client instance for durable execution operations.

When provided, this client will be used for all AWS Lambda service calls including checkpoint operations and execution state management. This is useful for: - Custom AWS configurations (regions, credentials, endpoints) - Testing with mocked Lambda clients - Advanced networking configurations (VPC endpoints, proxies) - Custom retry and timeout configurations

If not provided, a default Lambda client will be created automatically using the standard AWS SDK configuration chain (environment variables, IAM roles, etc.).