Sandeep M
Sandeep M

Reputation: 63

How to periodically send failure messages from Lambda

I am trying to access one host address from the AWS Lambda.If it fails, i have to send the mail.The issue is i have to combine all the failure messages for a period and send to the mail is.What technology i can use for this?I can't use DLQ as i don't want to capture all the failure messages from the Lambda

Upvotes: 0

Views: 45

Answers (1)

Traycho Ivanov
Traycho Ivanov

Reputation: 3197

There could be possibly more than one option.

  1. Using Dead Letter Queue for Lambda and process the queue messages once you hit your trigger. See: AWS Lambda Supports Dead Letter Queues

  2. Store errors in a database like DynamoDB and scan once the period trigger is activated.

Upvotes: 1

Related Questions