v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1484319348.7 KB

Set up a template to create new template versions automatically by tracking a linked repository. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.

When a commit is pushed to your linked repository, Proton checks for changes to your repository template bundles. If it detects a template bundle change, a new major or minor version of its template is created, if the version doesn’t already exist. For more information, see Template sync configurations in the Proton User Guide.

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

Headers

X-Amz-Target'AwsProton20200720.CreateTemplateSyncConfig' required

Request body

branchstring required

The repository branch for your template.

repositoryNamestring required

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

repositoryProvider'GITHUB' | 'GITHUB_ENTERPRISE' | 'BITBUCKET' required

The provider type for your repository.

subdirectorystring

A repository subdirectory path to your template bundle directory. When included, Proton limits the template bundle search to this repository directory.

templateNamestring required

The name of your registered template.

templateType'ENVIRONMENT' | 'SERVICE' required

The type of the registered template.

Response

Success