Create Repository
| codeartifact_create_repository | R Documentation |
Creates a repository¶
Description¶
Creates a repository.
Usage¶
Arguments¶
domain[required] The name of the domain that contains the created repository.
domainOwnerThe 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository[required] The name of the repository to create.
descriptionA description of the created repository.
upstreamsA list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.
tagsOne or more tag key-value pairs for the repository.
Value¶
A list with the following syntax:
list(
repository = list(
name = "string",
administratorAccount = "string",
domainName = "string",
domainOwner = "string",
arn = "string",
description = "string",
upstreams = list(
list(
repositoryName = "string"
)
),
externalConnections = list(
list(
externalConnectionName = "string",
packageFormat = "npm"|"pypi"|"maven"|"nuget"|"generic"|"ruby"|"swift"|"cargo",
status = "Available"
)
),
createdTime = as.POSIXct(
"2015-01-01"
)
)
)