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

Uploaded Source

Built Distribution

lambda_error_sns_sender-0.0.39-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for lambda-error-sns-sender-0.0.39.tar.gz
Algorithm Hash digest
SHA256 7d4a5b5bd5fc390ffa7b2c2a80f67685882a0aa146d49908273d77768c9ea8bd
MD5 5c7dbef2645dd975ddb25ac4a5eef93b
BLAKE2b-256 f4f67d5b1a886b56a5ec469d19d379c5d725bc29272e7ce471fc15d0e123aaa8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lambda_error_sns_sender-0.0.39-py3-none-any.whl
Algorithm Hash digest
SHA256 a9501ee8fe8280cb7703d4484bda64f8a91a2a78f51d843303d904c59619a204
MD5 258419e5ee25fcda0a2f874f8a584238
BLAKE2b-256 c73c1359d8eb2816d003384d089fb30cf7c93212af09f271ef7f04cd623da3c5

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