class Aws::CodeArtifact::Types::CreateRepositoryRequest

@note When making an API call, you may pass CreateRepositoryRequest

data as a hash:

    {
      domain: "DomainName", # required
      domain_owner: "AccountId",
      repository: "RepositoryName", # required
      description: "Description",
      upstreams: [
        {
          repository_name: "RepositoryName", # required
        },
      ],
      tags: [
        {
          key: "TagKey", # required
          value: "TagValue", # required
        },
      ],
    }

@!attribute [rw] domain

The name of the domain that contains the created repository.
@return [String]

@!attribute [rw] domain_owner

The 12-digit account number of the AWS account that owns the domain.
It does not include dashes or spaces.
@return [String]

@!attribute [rw] repository

The name of the repository to create.
@return [String]

@!attribute [rw] description

A description of the created repository.
@return [String]

@!attribute [rw] 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][1].

[1]: https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html
@return [Array<Types::UpstreamRepository>]

@!attribute [rw] tags

One or more tag key-value pairs for the repository.
@return [Array<Types::Tag>]

@see docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateRepositoryRequest AWS API Documentation

Constants

SENSITIVE