A suite of TypeScript utilities for AWS Lambda functions to ease adopting best practices such as tracing, structured logging, custom metrics, and more. (AWS Lambda Powertools for Python and AWS Lambda Powertools for Java are also available).
📜 Documentation | NPM | Roadmap | Examples
An AWS Developer Acceleration (DevAx) initiative by Specialist Solution Architects | [email protected]
- Tracer - Utilities to trace Lambda function handlers, and both synchronous and asynchronous functions
- 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)
Find the complete project's documentation here.
The AWS Lambda Powertools for TypeScript utilities follow a modular approach, similar to the official AWS SDK v3 for JavaScript. Each TypeScript utility is installed as standalone NPM package.
👉 Installation guide for the Tracer utility
👉 Installation guide for the Logger utility
👉 Installation guide for the Metrics utility
- Credits for the Lambda Powertools idea go to DAZN and their DAZN Lambda Powertools.
- AWS Lambda Powertools on Discord:
#typescript
- Invite link - Email: [email protected]
This library is licensed under the MIT-0 License. See the LICENSE file.