Class: Aws::CodeArtifact::Types::CreateRepositoryRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::CreateRepositoryRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codeartifact/types.rb
Overview
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
-
#description ⇒ String
A description of the created repository.
-
#domain ⇒ String
The name of the domain that contains the created repository.
-
#domain_owner ⇒ String
The 12-digit account number of the Amazon Web Services account that owns the domain.
-
#repository ⇒ String
The name of the repository to create.
-
#tags ⇒ Array<Types::Tag>
One or more tag key-value pairs for the repository.
-
#upstreams ⇒ Array<Types::UpstreamRepository>
A list of upstream repositories to associate with the repository.
Instance Attribute Details
#description ⇒ String
A description of the created repository.
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 ⇒ String
The name of the domain that contains the created repository.
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_owner ⇒ String
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
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 |
#repository ⇒ String
The name of the repository to create.
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 |
#tags ⇒ Array<Types::Tag>
One or more tag key-value pairs for the repository.
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 |
#upstreams ⇒ Array<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
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 |