RepositoryDescription - CodeArtifact

RepositoryDescription

The details of a repository stored in AWS CodeArtifact. A CodeArtifact repository contains a set of package versions, each of which maps to a set of assets. Repositories are polyglot—a single repository can contain packages of any supported type. Each repository exposes endpoints for fetching and publishing packages using tools like the npm CLI, the Maven CLI (mvn), and pip. You can create up to 100 repositories per AWS account.

Contents

administratorAccount

The 12-digit account number of the AWS account that manages the repository.

Type: String

Length Constraints: Fixed length of 12.

Pattern: [0-9]{12}

Required: No

arn

The Amazon Resource Name (ARN) of the repository.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1011.

Pattern: \S+

Required: No

description

A text description of the repository.

Type: String

Length Constraints: Maximum length of 1000.

Pattern: \P{C}+

Required: No

domainName

The name of the domain that contains the repository.

Type: String

Length Constraints: Minimum length of 2. Maximum length of 50.

Pattern: [a-z][a-z0-9\-]{0,48}[a-z0-9]

Required: No

domainOwner

The 12-digit account number of the AWS account that owns the domain that contains the repository. It does not include dashes or spaces.

Type: String

Length Constraints: Fixed length of 12.

Pattern: [0-9]{12}

Required: No

externalConnections

An array of external connections associated with the repository.

Type: Array of RepositoryExternalConnectionInfo objects

Required: No

name

The name of the repository.

Type: String

Length Constraints: Minimum length of 2. Maximum length of 100.

Pattern: [A-Za-z0-9][A-Za-z0-9._\-]{1,99}

Required: No

upstreams

A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.

Type: Array of UpstreamRepositoryInfo objects

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: