prefix
The repository namespace prefix to associate with the template. All repositories created using this namespace prefix will have the settings defined in this template applied. For example, a prefix of prod
would apply to all repositories beginning with prod/
. Similarly, a prefix of prod/team
would apply to all repositories beginning with prod/team/
.
To apply a template to all repositories in your registry that don't have an associated creation template, you can use ROOT
as the prefix.
There is always an assumed /
applied to the end of the prefix. If you specify ecr-public
as the prefix, Amazon ECR treats that as ecr-public/
. When using a pull through cache rule, the repository prefix you specify during rule creation is what you should specify as your repository creation template prefix as well.