July 2018
Intermediate to advanced
324 pages
8h 14m
English
In order to automate this process, Zappa enables this feature by setting up the SQS queue/SNS topic ARN value to dead_letter_arn. We created an SNS topic in Chapter 9, Asynchronous Task Execution on AWS Lambda, which was named UnhandledException. So, let's use the existing SNS topic, which is already subscribed with my email. DQL will only trigger if an asynchronous Lambda function invocation fails and retires. Then, DQL will process the failure exception as a message to the configured SNS topic and we will receive the processed exception data on an subscribed email.
Now, the following code snippet is for the updated Zappa settings.
File—zappa_settings.json:
{ "dev": { "app_function": "resources.api", ...Read now
Unlock full access