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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codeartifact/types.rb

Overview

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
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

A description of the created repository.

Returns:

  • (String)


418
419
420
421
422
423
424
425
426
427
# File 'lib/aws-sdk-codeartifact/types.rb', line 418

class CreateRepositoryRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :description,
  :upstreams,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#domainString

The name of the domain that contains the created repository.

Returns:

  • (String)


418
419
420
421
422
423
424
425
426
427
# File 'lib/aws-sdk-codeartifact/types.rb', line 418

class CreateRepositoryRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :description,
  :upstreams,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#domain_ownerString

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

Returns:

  • (String)


418
419
420
421
422
423
424
425
426
427
# File 'lib/aws-sdk-codeartifact/types.rb', line 418

class CreateRepositoryRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :description,
  :upstreams,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#repositoryString

The name of the repository to create.

Returns:

  • (String)


418
419
420
421
422
423
424
425
426
427
# File 'lib/aws-sdk-codeartifact/types.rb', line 418

class CreateRepositoryRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :description,
  :upstreams,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

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

Returns:



418
419
420
421
422
423
424
425
426
427
# File 'lib/aws-sdk-codeartifact/types.rb', line 418

class CreateRepositoryRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :description,
  :upstreams,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#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 CodeArtifact looks for a requested package version. For more information, see [Working with upstream repositories].

[1]: docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html

Returns:



418
419
420
421
422
423
424
425
426
427
# File 'lib/aws-sdk-codeartifact/types.rb', line 418

class CreateRepositoryRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :description,
  :upstreams,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end