v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142314899.7 KB

Creates a repository in a public registry. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html">Amazon ECR repositories</a> in the <i>Amazon Elastic Container Registry User Guide</i>.

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

Headers

X-Amz-Target'SpencerFrontendService.CreateRepository' required

Request body

repositoryNamestring required

The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery. The repository name can be specified on its own (for example <code>nginx-web-app</code>) or prepended with a namespace to group the repository into a category (for example <code>project-a/nginx-web-app</code>).

Response

Success