Building AWS step function, lambda with CDK and handling error case.
Todo: This will post will be updated. Here is just some sample code.
Problem Statement: I want to create a step function backed by lambda. For failure cases, I will retry to execute the…