Skill 1.2.5
Invoking AWS services in a pipeline for testing
Key Concepts
A Lambda invoke action runs a function with the job details. The function must call PutJobSuccessResult or PutJobFailureResult on CodePipeline, otherwise the action waits until it times out. A Step Functions invoke action starts a state machine for longer or multi-step test workflows.
Other options include a CodeBuild test action that runs integration tests against the deployed environment, and CloudWatch Synthetics canaries that keep testing after release. The pipeline role needs permission to invoke the function or start the execution.