Skip to content

Minimal repository to create and use both internal and external Lambda extensions with a NodeJs lambda

Notifications You must be signed in to change notification settings

CorentinDoue/lambda-extensions-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

af967d3 Β· Jun 6, 2023

History

10 Commits
Apr 28, 2023
May 28, 2023
May 28, 2023
May 6, 2023
Apr 28, 2023
Jun 6, 2023
Apr 28, 2023
May 28, 2023
May 28, 2023
May 5, 2023
Apr 28, 2023
Apr 28, 2023
Apr 28, 2023
Apr 28, 2023
Apr 28, 2023

Repository files navigation

Lambda extensions example

Code of the article Power up your serverless application with AWS Lambda extensions

This example shows how to create a simple Lambda with a monitoring tool composed of:

  • an internal extension that logs all http calls made by the Lambda
  • an external extension that aggregate those logs and send them to an hypothetical monitoring tool

monitor extensions schema

Install

Change the https://webhook.site/* urls in src/urls.ts to your own webhook urls.

 pnpm install
 pnpm cdk bootstrap
 pnpm run deploy

Test

pnpm integration-test

About

Minimal repository to create and use both internal and external Lambda extensions with a NodeJs lambda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published