Overview of Powertools for AWS Lambda (.NET) features
developPowertools for AWS Lambda (.NET) is a developer toolkit designed to implement serverless best practices. The core utilities include:
- Logging: Structured JSON logging that handles serialization, Lambda event payloads, and cold start information.
- Metrics: Asynchronous custom metric collection using Amazon CloudWatch Embedded Metric Format (EMF).
- Tracing: Integration with AWS X-Ray for visibility into function calls and external requests, including automatic
ColdStartannotations. - Parameters: High-level retrieval of values from AWS Systems Manager Parameter Store, AWS Secrets Manager, or Amazon DynamoDB.
- Idempotency: A utility to make Lambda functions idempotent and safe to retry.
- Batch Processing: Handles partial failures when processing batches from Amazon SQS, Amazon Kinesis Data Streams, and Amazon DynamoDB Streams.
- Event Handlers: Specialized utilities for parsing and handling AppSync Events and Amazon Bedrock Agent Function events.