You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeArtifact::Types::CreateRepositoryRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateRepositoryRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

A description of the created repository.

Returns:

  • (String)

    A description of the created repository.

#domainString

The domain that contains the created repository.

Returns:

  • (String)

    The domain that contains the created repository.

#domain_ownerString

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

Returns:

  • (String)

    The 12-digit account number of the AWS account that owns the domain.

#repositoryString

The name of the repository to create.

Returns:

  • (String)

    The name of the repository to create.

#tagsArray<Types::Tag>

One or more tag key-value pairs for the repository.

Returns:

  • (Array<Types::Tag>)

    One or more tag key-value pairs for the repository.

#upstreamsArray<Types::UpstreamRepository>

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.

Returns: