Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lambda-error-sns-sender-0.0.43.tar.gz (47.2 kB view details)

Uploaded Source

Built Distribution

lambda_error_sns_sender-0.0.43-py3-none-any.whl (45.7 kB view details)

Uploaded Python 3

File details

Details for the file lambda-error-sns-sender-0.0.43.tar.gz.

File metadata

File hashes

Hashes for lambda-error-sns-sender-0.0.43.tar.gz
Algorithm Hash digest
SHA256 b75b102958f93441048c6370003e31de01f73d3df7964babcd35d6dc6b85d27c
MD5 aff76a00411f6e1aa442997656faf7f3
BLAKE2b-256 3e0b39971f0fa734d33ed5f64a923aba193226a3ccd9ff5ea0f8801315c0d07d

See more details on using hashes here.

File details

Details for the file lambda_error_sns_sender-0.0.43-py3-none-any.whl.

File metadata

File hashes

Hashes for lambda_error_sns_sender-0.0.43-py3-none-any.whl
Algorithm Hash digest
SHA256 123e9fa7a787fa6ef5d6f48ffe24f1fe14c9361179b90828a571d1798d277a5c
MD5 1b93ed539d330d54b1f1c602792af063
BLAKE2b-256 e46690ff32ed7358b594cb8ea4b6a0176d0bf1c38255df387e7a39ac7a8f7e71

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page