v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1484319348.7 KB

Create and register a link to a repository. Proton uses the link to repeatedly access the repository, to either push to it (self-managed provisioning) or pull from it (template sync). You can share a linked repository across multiple resources (like environments using self-managed provisioning, or synced templates). When you create a repository link, Proton creates a service-linked role for you.

For more information, see Self-managed provisioning, Template bundles, and Template sync configurations in the Proton User Guide.

post/#X-Amz-Target=AwsProton20200720.CreateRepository

Headers

X-Amz-Target'AwsProton20200720.CreateRepository' required

Request body

connectionArnstring required

The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/setting-up-for-service.html">Setting up for Proton</a> in the <i>Proton User Guide</i>.

encryptionKeystring

The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.

namestring required

The repository name (for example, <code>myrepos/myrepo</code>).

provider'GITHUB' | 'GITHUB_ENTERPRISE' | 'BITBUCKET' required

The repository provider.

Response

Success