CodeCommit source actions and CloudWatch Events
To add a CodeCommit source action in CodePipeline, you can choose either to:
-
Use the CodePipeline console Create pipeline wizard (Create a pipeline (console)) or Edit action page to choose the CodeCommit provider option. The console creates an Amazon CloudWatch Events rule that starts your pipeline when the source changes.
-
Use the CLI to add the action configuration for the
CodeCommit
action and create additional resources as follows:-
Use the
CodeCommit
example action configuration in CodeCommit 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 a CloudWatch Events rule for a CodeCommit source (console), Create a CloudWatch Events rule for a CodeCommit source (CLI), or Create a CloudWatch Events rule for a CodeCommit source (Amazon CloudFormation template) .
-
Topics