AWS Step Function: Adding Retries and Error Notifications To A Lambda Function
Manage episode 411186417 series 3474375
This story was originally published on HackerNoon at: https://hackernoon.com/aws-step-function-adding-retries-and-error-notifications-to-a-lambda-function.
A step by step guide on how to use the AWS step function to retry Lambda and send notifications when errors occur in Lambda.
Check more stories related to futurism at: https://hackernoon.com/c/futurism. You can also check exclusive content about #automation, #aws, #aws-lambda, #step-functions, #retry-behavior-aws-lambda, #serverless, #aws-step-function-retry-lambda, #serverless-top-story, #hackernoon-es, and more.
This story was written by: @wendiesun. Learn more about this writer by checking @wendiesun's about page, and for more stories, please visit hackernoon.com.
The AWS Step Function is an infrastructure-as-code tool such as Serverless. It allows you to create a step function in the AWS console and then use it to send an email if it fails after all retries. The step function can be used to create multiple retriers to handle different errors. For example, a retrier reruns the Lambda function after it fails with a certain error. This retrier will apply to all errors, and the catcher can be triggered by all errors.
90 epizódok