AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

Repository

The resource schema to create a CodeArtifact repository.

Create a Repository Resource

new Repository(name: string, args: RepositoryArgs, opts?: CustomResourceOptions);
@overload
def Repository(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               description: Optional[str] = None,
               domain_name: Optional[str] = None,
               domain_owner: Optional[str] = None,
               external_connections: Optional[Sequence[str]] = None,
               permissions_policy_document: Optional[Any] = None,
               repository_name: Optional[str] = None,
               tags: Optional[Sequence[RepositoryTagArgs]] = None,
               upstreams: Optional[Sequence[str]] = None)
@overload
def Repository(resource_name: str,
               args: RepositoryArgs,
               opts: Optional[ResourceOptions] = None)
func NewRepository(ctx *Context, name string, args RepositoryArgs, opts ...ResourceOption) (*Repository, error)
public Repository(string name, RepositoryArgs args, CustomResourceOptions? opts = null)
public Repository(String name, RepositoryArgs args)
public Repository(String name, RepositoryArgs args, CustomResourceOptions options)
type: aws-native:codeartifact:Repository
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args RepositoryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args RepositoryArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args RepositoryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RepositoryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args RepositoryArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Repository Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Repository resource accepts the following input properties:

DomainName string

The name of the domain that contains the repository.

Description string

A text description of the repository.

DomainOwner string

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

ExternalConnections List<string>

A list of external connections associated with the repository.

PermissionsPolicyDocument object

The access control resource policy on the provided repository.

RepositoryName string

The name of the repository.

Tags List<Pulumi.AwsNative.CodeArtifact.Inputs.RepositoryTagArgs>

An array of key-value pairs to apply to this resource.

Upstreams List<string>

A list of upstream repositories associated with the repository.

DomainName string

The name of the domain that contains the repository.

Description string

A text description of the repository.

DomainOwner string

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

ExternalConnections []string

A list of external connections associated with the repository.

PermissionsPolicyDocument interface{}

The access control resource policy on the provided repository.

RepositoryName string

The name of the repository.

Tags []RepositoryTagArgs

An array of key-value pairs to apply to this resource.

Upstreams []string

A list of upstream repositories associated with the repository.

domainName String

The name of the domain that contains the repository.

description String

A text description of the repository.

domainOwner String

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

externalConnections List<String>

A list of external connections associated with the repository.

permissionsPolicyDocument Object

The access control resource policy on the provided repository.

repositoryName String

The name of the repository.

tags List<RepositoryTagArgs>

An array of key-value pairs to apply to this resource.

upstreams List<String>

A list of upstream repositories associated with the repository.

domainName string

The name of the domain that contains the repository.

description string

A text description of the repository.

domainOwner string

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

externalConnections string[]

A list of external connections associated with the repository.

permissionsPolicyDocument any

The access control resource policy on the provided repository.

repositoryName string

The name of the repository.

tags RepositoryTagArgs[]

An array of key-value pairs to apply to this resource.

upstreams string[]

A list of upstream repositories associated with the repository.

domain_name str

The name of the domain that contains the repository.

description str

A text description of the repository.

domain_owner str

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

external_connections Sequence[str]

A list of external connections associated with the repository.

permissions_policy_document Any

The access control resource policy on the provided repository.

repository_name str

The name of the repository.

tags Sequence[RepositoryTagArgs]

An array of key-value pairs to apply to this resource.

upstreams Sequence[str]

A list of upstream repositories associated with the repository.

domainName String

The name of the domain that contains the repository.

description String

A text description of the repository.

domainOwner String

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

externalConnections List<String>

A list of external connections associated with the repository.

permissionsPolicyDocument Any

The access control resource policy on the provided repository.

repositoryName String

The name of the repository.

tags List<Property Map>

An array of key-value pairs to apply to this resource.

upstreams List<String>

A list of upstream repositories associated with the repository.

Outputs

All input properties are implicitly available as output properties. Additionally, the Repository resource produces the following output properties:

Arn string

The ARN of the repository.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the repository. This is used for GetAtt

Arn string

The ARN of the repository.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the repository. This is used for GetAtt

arn String

The ARN of the repository.

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the repository. This is used for GetAtt

arn string

The ARN of the repository.

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the repository. This is used for GetAtt

arn str

The ARN of the repository.

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the repository. This is used for GetAtt

arn String

The ARN of the repository.

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the repository. This is used for GetAtt

Supporting Types

RepositoryTag

Key string

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Key string

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key string

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value string

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key str

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value str

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0