Aws - CodeCommit

> AWS (Amazon Web Services)

1 - About

CodeCommit is the Git hosting and front-end of AWS.

Advertising

3 - Setup

The simplest way to set up connections to AWS CodeCommit repositories is to configure Git credentials for CodeCommit in the IAM console, and then use those credentials for HTTPS conn Doc

4 - Management

4.1 - Create a repository

aws codecommit create-repository --repository-name repoName

You get an output where the clone URL has the following URL: https://git-codecommit.REPLACE_ME_REGION.amazonaws.com/v1/repos/repoName

output.json
{
    "repositoryMetadata": {
        "accountId": "REPLACE_ME_ACCOUNT_ID",
        "repositoryId": "32rrr10-66e1-4230-b3d6-eeb55e64a60b",
        "repositoryName": "repoName",
        "lastModifiedDate": 1554965738.429,
        "creationDate": 1554965738.429,
        "cloneUrlHttp": "https://git-codecommit.eu-central-1.amazonaws.com/v1/repos/repoName",
        "cloneUrlSsh": "ssh://git-codecommit.eu-central-1.amazonaws.com/v1/repos/repoName",
        "Arn": "arn:aws:codecommit:eu-central-1:REPLACE_ME_ACCOUNT_ID:repoName"
    }
}