A DevOps engineer is using AWS CodePipeline to automate deployments. They want to run a custom action that performs integration tests after deployment. Which method should they use?

Answer

Add a custom action in CodePipeline using AWS Lambda.

Explanation

CodePipeline supports custom actions via Lambda, allowing integration tests to be run after deployment. Manual approval is for human approval, CodeBuild is for build/test but not custom post-deploy actions, and CodeDeploy hooks are limited to deployment lifecycle events.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list