paws.compute (version 0.1.0)

ecr_create_repository: Creates an image repository

Description

Creates an image repository.

Usage

ecr_create_repository(repositoryName, tags)

Arguments

repositoryName

[required] The name to use for the repository. The repository name may be specified on its own (such as nginx-web-app) or it can be prepended with a namespace to group the repository into a category (such as project-a/nginx-web-app).

tags

Request syntax

svc$create_repository(
  repositoryName = "string",
  tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

Examples

Run this code
# NOT RUN {
# This example creates a repository called nginx-web-app inside the
# project-a namespace in the default registry for an account.
# }
# NOT RUN {
svc$create_repository(
  repositoryName = "project-a/nginx-web-app"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace