Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 715 Bytes

File metadata and controls

25 lines (17 loc) · 715 Bytes

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