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
- Struct
- Aws::CodeArtifact::Types::CreateRepositoryRequest
- Defined in:
- (unknown)
Overview
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
-
#description ⇒ String
A description of the created repository.
-
#domain ⇒ String
The domain that contains the created repository.
-
#domain_owner ⇒ String
The 12-digit account number of the AWS 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.
#domain ⇒ String
The domain that contains the created repository.
#domain_owner ⇒ String
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
#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. 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.