Product and service integrations with Amazon CodeCommit - Amazon CodeCommit
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Product and service integrations with Amazon CodeCommit

By default, CodeCommit is integrated with a number of Amazon services. You can also use CodeCommit with products and services outside of Amazon. The following information can help you configure CodeCommit to integrate with the products and services you use.


You can automatically build and deploy commits to a CodeCommit repository by integrating with CodePipeline. To learn more, follow the steps in the Amazon for DevOps Getting Started Guide.

Integration with other Amazon services

CodeCommit is integrated with the following Amazon services:

Amazon Amplify

Amazon Amplify makes it easy to create, configure, and implement scalable mobile applications powered by Amazon. Amplify seamlessly provisions and manages your mobile backend and provides a simple framework to easily integrate your backend with your iOS, Android, Web, and React Native frontends. Amplify also automates the application release process of both your frontend and backend, which makes it possible for you to deliver features faster.

You can connect your CodeCommit repository in the Amplify console. After you authorize the Amplify console, Amplify fetches an access token from the repository provider, but it doesn't store the token on the Amazon servers. Amplify accesses your repository using deploy keys installed in a specific repository only.

Learn more:

Amazon Cloud9

Amazon Cloud9 contains a collection of tools that you use to code, build, run, test, debug, and release software in the cloud. This collection of tools is referred to as the Amazon Cloud9 integrated development environment, or IDE.

You access the Amazon Cloud9 IDE through a web browser. The IDE offers a rich code-editing experience with support for several programming languages and runtime debuggers, and a built-in terminal.

Learn more:

Amazon CloudFormation

Amazon CloudFormation is a service that helps you model and set up your Amazon resources so that you can spend less time managing those resources and more time focusing on your applications. You create a template that describes resources, including a CodeCommit repository, and Amazon CloudFormation takes care of provisioning and configuring those resources for you.

Learn more:

Amazon CloudTrail

CloudTrail captures Amazon API calls and related events made by or on behalf of an Amazon Web Services account and delivers log files to an Amazon S3 bucket that you specify. You can configure CloudTrail to capture API calls from the Amazon CodeCommit console, CodeCommit commands from the Amazon CLI, the local Git client, and from the CodeCommit API.

Learn more:

Amazon CloudWatch Events

CloudWatch Events delivers a near real-time stream of system events that describe changes in Amazon resources. Using simple rules that you can quickly set up, you can match events and route them to one or more target functions or streams. CloudWatch Events becomes aware of operational changes as they occur. CloudWatch Events responds to these operational changes and takes action as necessary, by sending messages to respond to the environment, activating functions, making changes, and capturing state information.

You can configure CloudWatch Events to monitor CodeCommit repositories and respond to repository events by targeting streams, functions, tasks, or other processes in other Amazon services, such as Amazon Simple Queue Service, Amazon Kinesis, Amazon Lambda, and many more.

Learn more:

Amazon CodeBuild

CodeBuild is a fully managed build service in the cloud that compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. You can store the source code to be built and the build specification in a CodeCommit repository. You can use CodeBuild directly with CodeCommit, or you can incorporate both CodeBuild and CodeCommit in a continuous delivery pipeline with CodePipeline.

Learn more:

Amazon CodeGuru Reviewer

Amazon CodeGuru Reviewer is an automated code review service that uses program analysis and machine learning to detect common issues and recommend fixes in your Java or Python code. You can associate repositories in your Amazon Web Services account with CodeGuru Reviewer. When you do, CodeGuru Reviewer creates a service-linked role that allows CodeGuru Reviewer to analyze code in all pull requests created after the association is made.

Learn more:
Amazon CodePipeline

CodePipeline is a continuous delivery service you can use to model, visualize, and automate the steps required to release your software. You can configure CodePipeline to use a CodeCommit repository as a source action in a pipeline, and automate building, testing, and deploying your changes.

Learn more:

AWS CodeStar

AWS CodeStar is a cloud-based service for creating, managing, and working with software development projects on Amazon. You can quickly develop, build, and deploy applications on Amazon with an AWS CodeStar project. An AWS CodeStar project creates and integrates Amazon services for your project development toolchain, including a CodeCommit repository for the project. AWS CodeStar also assigns permissions to team members for that project. These permissions are applied automatically, including permissions for accessing CodeCommit, creating and managing Git credentials, and more.

You can configure repositories created for AWS CodeStar projects just as you would any other CodeCommit repository by using the Amazon CodeCommit console, CodeCommit commands from the Amazon CLI, the local Git client, and from the CodeCommit API.

Learn more:

Amazon Elastic Beanstalk

Elastic Beanstalk is a managed service that makes it easy to deploy and manage applications in the Amazon cloud without worrying about the infrastructure that runs those applications. You can use the Elastic Beanstalk command line interface (EB CLI) to deploy your application directly from a new or existing CodeCommit repository.

Learn more:

Amazon Key Management Service

Amazon KMS is a managed service that makes it easy for you to create and control the encryption keys used to encrypt your data. By default, CodeCommit uses Amazon KMS to encrypt repositories.

Learn more:

Amazon Lambda

Lambda lets you run code without provisioning or managing servers. You can configure triggers for CodeCommit repositories that invoke Lambda functions in response to repository events.

Learn more:

Amazon Simple Notification Service

Amazon SNS is a web service that enables applications, end users, and devices to instantly send and receive notifications from the cloud. You can configure triggers for CodeCommit repositories that send Amazon SNS notifications in response to repository events. You can also use Amazon SNS notifications to integrate with other Amazon services. For example, you can use an Amazon SNS notification to send messages to an Amazon Simple Queue Service queue.

Learn more:

Integration examples from the community

The following sections provide links to blog posts, articles, and community-provided examples.


These links are provided for informational purposes only, and should not be considered either a comprehensive list or an endorsement of the content of the examples. Amazon is not responsible for the content or accuracy of external content.

Blog posts

Code samples

The following are code samples that might be of interest to CodeCommit users.