New Serverless pattern - lambda-durable-eventbridge-cron-nodejs-sam#2943
Conversation
|
Please make sure to use the correct capitalization: It's Lambda durable functions not Lambda Durable Functions |
|
Fix all places that mentions: Durable Lambda Function |
| { | ||
| "title": "EventBridge Cron to durable Lambda function", | ||
| "description": "Create a durable Lambda function triggered by EventBridge on a cron schedule using AWS SAM.", | ||
| "language": "Nodejs", |
|
|
||
| This pattern demonstrates how to trigger a durable Lambda function using EventBridge on a cron schedule. The Lambda function uses the AWS durable execution SDK to implement a multi-step workflow with checkpointing and automatic replay capabilities. | ||
|
|
||
| Learn more about this pattern at Serverless Land Patterns: https://serverlessland.com/patterns/lambda-durable-eventbrdige-cron-nodejs-sam |
There was a problem hiding this comment.
typo in the URL: eventbrdige instead of eventbridge.
|
|
||
| This pattern creates: | ||
|
|
||
| 1. **Durable Orchestrator Lambda Function**: A Nodejs 24.x Lambda function that uses the AWS durable execution SDK to implement a multi-step workflow (invoking 2 Lmabda functions) with automatic checkpointing and replay capabilities. |
There was a problem hiding this comment.
typo: Lmabda --> Lambda
| @@ -0,0 +1,98 @@ | |||
| # EventBridge Cron to Durable Lambda Function | |||
There was a problem hiding this comment.
Amazon EventBridge corn to AWS Lambda durable function
| @@ -0,0 +1,63 @@ | |||
| { | |||
| "title": "EventBridge Cron to durable Lambda function", | |||
There was a problem hiding this comment.
Amazon EventBridge corn to AWS Lambda durable function
| @@ -0,0 +1,63 @@ | |||
| { | |||
| "title": "EventBridge Cron to durable Lambda function", | |||
| "description": "Create a durable Lambda function triggered by EventBridge on a cron schedule using AWS SAM.", | |||
There was a problem hiding this comment.
It is not durable Lambda function. It is Lambda durable function
| }) | ||
| }); | ||
|
|
||
| const response = await lambdaClient.send(command); |
There was a problem hiding this comment.
Can you try replacing lambdaClient.send(new InvokeCommand(...)) with context.invoke() for automatic checkpointing and replay-safe Lambda invocations?
| }) | ||
| }); | ||
|
|
||
| const response = await lambdaClient.send(command); |
There was a problem hiding this comment.
Can you try replacing lambdaClient.send(new InvokeCommand(...)) with context.invoke() for automatic checkpointing and replay-safe Lambda invocations.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.