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

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