CodeCommit source actions and EventBridge (original) (raw)
To add a CodeCommit source action in CodePipeline, you can choose either to:
- Use the CodePipeline console Create pipeline wizard (Create a custom pipeline (console)) or Edit action page to choose theCodeCommit provider option. The console creates an EventBridge rule that starts your pipeline when the source changes.
- Use the AWS CLI to add the action configuration for the
CodeCommit
action and create additional resources as follows:- Use the
CodeCommit
example action configuration in CodeCommit source action reference to create your action as shown in Create a pipeline (CLI). - The change detection method defaults to starting the pipeline by polling the source. You should disable periodic checks and create the change detection rule manually. Use one of the following methods: Create an EventBridge rule for a CodeCommit source (console),Create an EventBridge rule for a CodeCommit source (CLI), orCreate an EventBridge rule for a CodeCommit source (AWS CloudFormation template) .
- Use the
Topics
- Create an EventBridge rule for a CodeCommit source (console)
- Create an EventBridge rule for a CodeCommit source (CLI)
- Create an EventBridge rule for a CodeCommit source (AWS CloudFormation template)
Create an EventBridge rule for an Amazon S3 source (AWS CloudFormation template)
Create an EventBridge rule for a CodeCommit source (console)
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.