In this section, we learned:
We created a CloudFormation Stack that built for us:
When PagerDuty sends a trigger event to EventBridge, the Lambda code will check if it’s a P1 or P2 and if so, run the appropriate Response Play.
When PagerDuty sends a resolved event to EventBridge, the Lambda code will check if it’s a P1 and if so, run the Resolved Response Play.
Be sure to Delete the CloudFormation Stack we just built to destroy the objects that were created so that no further costs are incurred!