User Guide (API Version 2015-07-09)

Use CloudWatch Events to Start a Pipeline (Amazon ECR Source)

You can use Amazon CloudWatch Events to trigger pipelines to start when rule or schedule criteria are met. For pipelines with an Amazon ECR source, an Amazon CloudWatch Events rule detects source changes and then starts your pipeline. When you use the console to create or change a pipeline, the rule and all associated resources are created for you. If you create or change a pipeline with an Amazon ECR source in the AWS CLI or AWS CloudFormation, you must use these steps to create the Amazon CloudWatch Events rule and all associated resources manually.

In Amazon CloudWatch Events, you create a rule to detect and react to changes in the state of the pipeline's defined source.