CDK construct to send Lambda detail errors to AWS SNS Topic.
Project description
Lambda Error SNS Sender
A simple solution to improve the CloudWatch alarm to receive Lambda error details by email. Available as CDK construct or as CloudFormation.
How does it work:
- Lambda is subscribed to the SNS topic where you receive your alarms. There is a message body subscription filter that limits errors based on the Lambda error metric. If you defied your metic in some other way, not the default one, you will have to change that filter.
- Lambda analyzes the message, finds a log of the failed Lambda, and queries the log for the period that the metic was configured, plus some additional safety time, so we do not miss that error message. It extracts just a number of errors that can fit in one SNS message. -Lambda sends errors to the same SNS you use for alerts. So apart from the common Alarm message, you will receive an additional one with error messages.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lambda-error-sns-sender-0.0.49.tar.gz
.
File metadata
- Download URL: lambda-error-sns-sender-0.0.49.tar.gz
- Upload date:
- Size: 47.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 185b804b70475fc0ae946faeaaccbc1599b771bcc7cc97a6f1ac0dd2618aec19 |
|
MD5 | 9665464b6b998591a47f30b7b426b7b9 |
|
BLAKE2b-256 | 89707ca17ca91debfbbb1699276fad1e78704c8d0e315566c044243ef3b60674 |
File details
Details for the file lambda_error_sns_sender-0.0.49-py3-none-any.whl
.
File metadata
- Download URL: lambda_error_sns_sender-0.0.49-py3-none-any.whl
- Upload date:
- Size: 45.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d61ff32d0e4ff1cb2f1a87540ddff583d475d6b17c8f966f8beeb57b40fea05f |
|
MD5 | 1d51fcaa609cae1cacecb17ee3008d57 |
|
BLAKE2b-256 | 3706a1a359de984e23688804fef45872cdfc66150a028d04e77d8c6ba6165933 |