Skip to content

/AWS1/CL_PRN=>CREATEREPOSITORY()

About CreateRepository

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.

Method Signature

IMPORTING

Required arguments:

IV_PROVIDER TYPE /AWS1/PRNREPOSITORYPROVIDER /AWS1/PRNREPOSITORYPROVIDER

The repository provider.

IV_NAME TYPE /AWS1/PRNREPOSITORYNAME /AWS1/PRNREPOSITORYNAME

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

IV_CONNECTIONARN TYPE /AWS1/PRNARN /AWS1/PRNARN

The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account. For more information, see Setting up for Proton in the Proton User Guide.

Optional arguments:

IV_ENCRYPTIONKEY TYPE /AWS1/PRNARN /AWS1/PRNARN

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

IT_TAGS TYPE /AWS1/CL_PRNTAG=>TT_TAGLIST TT_TAGLIST

An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.

For more information, see Proton resources and tagging in the Proton User Guide.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_PRNCREREPOSITORYOUT /AWS1/CL_PRNCREREPOSITORYOUT