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.41.tar.gz (47.2 kB view details)

Uploaded Source

Built Distribution

lambda_error_sns_sender-0.0.41-py3-none-any.whl (45.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for lambda-error-sns-sender-0.0.41.tar.gz
Algorithm Hash digest
SHA256 9a828cadd0550cdb4af512f681b44516bb3a0a223ee512314542a633b136a8c1
MD5 411dc22973534445b923f787efa41ab2
BLAKE2b-256 3d27c994470340a9a81fe166a4845ad8a06e5a237f4739900fe2c5b0d0e05b81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lambda_error_sns_sender-0.0.41-py3-none-any.whl
Algorithm Hash digest
SHA256 b24ea010285f924bfcd4cbda883cc12b67a2e0acbfd9fcb34d1e1c13a245a68c
MD5 319fcf6794f0512d165788dbb11146a8
BLAKE2b-256 bb3e94ad07851b97f9507d014e366aad53fb22d48cfa7813ca8bcde5aed3a5c9

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