Detect and React to Changes in Pipeline State with Amazon CloudWatch Events