Skip to main content

Third-party middlewares

The following middlewares are created and maintained outside this project. We cannot guarantee for its functionality. If your middleware is missing, feel free to open a Pull Request.

Version 2.x - 3.x

  • aws-lambda-powertools-typescript: A suite of utilities for AWS Lambda Functions that makes structured logging, creating custom metrics asynchronously and tracing with AWS X-Ray easier
    • logger: Structured logging made easier, and a middleware to enrich log items with key details of the Lambda context
    • metrics: Custom Metrics created asynchronously via CloudWatch Embedded Metric Format (EMF)
    • tracer: Utilities to trace Lambda function handlers, and both synchronous and asynchronous functions
  • dazn-lambda-powertools: A collection of middlewares, AWS clients and helper libraries that make working with lambda easier.
  • middy-ajv: AJV validator optimized for performance
  • middy-sparks-joi: Joi validator
  • middy-idempotent: idempotency middleware for middy
  • middy-jsonapi: JSONAPI middleware for middy
  • middy-lesslog: Middleware for lesslog, a teeny-tiny and severless-ready logging utility
  • middy-rds: Creates RDS connection using knex or pg
  • middy-recaptcha: reCAPTCHA validation middleware
  • middy-event-loop-tracer: Middleware for dumping active tasks with their stacktraces in the event queue just before AWS Lambda function timeouts. So you can understand what was going on in the function when timeout happens.
  • middy-console-logger: Middleware for filtering logs printed over console logging methods. If the level of the console logging method is equal or bigger than configured level, the log is printed, Otherwise, it is ignored.
  • middy-invocation: Middleware for accessing current AWS Lambda invocation event and context from anywhere without need to passing event and context as arguments through your code.
  • middy-profiler: Middleware for profiling CPU on AWS Lambda during invocation and shows what methods/modules consume what percent of CPU time

Version 1.x