QuestionQ79

VerifiedIncident and Event Response

A DevOps engineer is creating a multistage AWS CodePipeline pipeline to build, verify, stage, test, and deploy an application. A manual approval stage is needed between the test and deploy stages. The development team uses a custom chat tool that supports webhooks and needs near-real-time notifications.

How should the DevOps engineer configure pipeline-activity status updates and approval requests so they are posted to the chat tool?

Explanation

AWS CodePipeline sends pipeline execution state-change events directly to Amazon EventBridge, whose rules can route those events to Amazon SNS and AWS Lambda in near real time. A Lambda function subscribed to the SNS topic can format the event or approval payload and invoke the custom chat webhook. Manual approval actions support publishing approval-request notifications to an SNS topic through their NotificationArn configuration, so the same SNS-to-Lambda integration can deliver approval requests.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!