Menu
AWS CodeCommit
User Guide (API Version 2015-04-13)

Product and Service Integrations with AWS CodeCommit

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

Note

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

Integration with Other AWS Services

AWS CodeCommit is integrated with the following AWS services:

Amazon CloudWatch Events

CloudWatch Events delivers a near real-time stream of system events that describe changes in Amazon Web Services (AWS) 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 AWS CodeCommit repositories and respond to repository events by targeting streams, functions, tasks, or other processes in other AWS services, such as Amazon Simple Queue Service, Amazon Kinesis, AWS Lambda, and many more.

Learn more:

AWS CodeStar

AWS CodeStar is a cloud-based service for creating, managing, and working with software development projects on AWS. You can quickly develop, build, and deploy applications on AWS with an AWS CodeStar project. An AWS CodeStar project creates and integrates AWS services for your project development toolchain, including an AWS 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 AWS CodeCommit, creating and managing Git credentials, and more.

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

Learn more:

AWS CloudTrail

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

Learn more:

AWS CodeBuild

AWS 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 an AWS CodeCommit repository. You can use AWS CodeBuild directly with AWS CodeCommit, or you can incorporate both AWS CodeBuild and AWS CodeCommit in a continuous delivery pipeline with AWS CodePipeline.

Learn more:

AWS Elastic Beanstalk

Elastic Beanstalk is a managed service that makes it easy to deploy and manage applications in the AWS 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 AWS CodeCommit repository.

Learn more:

AWS CloudFormation

AWS CloudFormation is a service that helps you model and set up your AWS 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 an AWS CodeCommit repository, and AWS CloudFormation takes care of provisioning and configuring those resources for you.

Learn more:

AWS CodePipeline

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

Learn more:

AWS Key Management Service

AWS 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, AWS CodeCommit uses AWS KMS to encrypt repositories.

Learn more:

AWS Lambda

Lambda lets you run code without provisioning or managing servers. You can configure triggers for AWS CodeCommit repositories that will 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 AWS CodeCommit repositories that will send Amazon SNS notifications in response to repository events. You can also use Amazon SNS notifications to integrate with other AWS 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.

Note

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. AWS 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 AWS CodeCommit users.