Configure Your Pipelines to Use Amazon CloudWatch Events for Change Detection (Amazon S3 Source)
You can now use event-based Amazon CloudWatch Events rules as the change detection method for your pipelines with an Amazon S3 source. Amazon CloudWatch Events detects changes in real time and then starts your pipeline. You must update existing pipelines to use this feature. When you create or edit a pipeline in the console, CodePipeline creates the Amazon CloudWatch Events event-based rule and an AWS CloudTrail trail.
This table includes procedures for pipelines with an Amazon S3 source.
Method | Instructions | Further action required? |
---|---|---|
Configuring pipelines in the console |
|
The Amazon CloudWatch Events rule and AWS CloudTrail trail are created for you. No further action is required. |
Configuring pipelines in the CLI |
Use the update-pipeline command to set the
|
You must create:
See Use CloudWatch Events to Start a Pipeline (Amazon S3 Source). |
Configuring pipelines in AWS CloudFormation |
Update the AWS CloudFormation resource stack. |
You must create:
See Use CloudWatch Events to Start a Pipeline (Amazon S3 Source). |