We recommend new projects start with resources from the AWS provider.
aws-native.codeartifact.Repository
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The resource schema to create a CodeArtifact repository.
Create Repository Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Repository(name: string, args: RepositoryArgs, opts?: CustomResourceOptions);
@overload
def Repository(resource_name: str,
args: RepositoryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Repository(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_name: Optional[str] = None,
description: 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[_root_inputs.TagArgs]] = None,
upstreams: Optional[Sequence[str]] = 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.
Parameters
- 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:
- Domain
Name string - The name of the domain that contains the repository.
- Description string
- A text description of the repository.
- Domain
Owner string - The 12-digit account ID of the AWS account that owns the domain.
- External
Connections List<string> - A list of external connections associated with the repository.
- Permissions
Policy objectDocument The access control resource policy on the provided repository.
Search the CloudFormation User Guide for
AWS::CodeArtifact::Repository
for more information about the expected schema for this property.- Repository
Name string - The name of the repository.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Upstreams List<string>
- A list of upstream repositories associated with the repository.
- Domain
Name string - The name of the domain that contains the repository.
- Description string
- A text description of the repository.
- Domain
Owner string - The 12-digit account ID of the AWS account that owns the domain.
- External
Connections []string - A list of external connections associated with the repository.
- Permissions
Policy interface{}Document The access control resource policy on the provided repository.
Search the CloudFormation User Guide for
AWS::CodeArtifact::Repository
for more information about the expected schema for this property.- Repository
Name string - The name of the repository.
- Tag
Args - An array of key-value pairs to apply to this resource.
- Upstreams []string
- A list of upstream repositories associated with the repository.
- domain
Name String - The name of the domain that contains the repository.
- description String
- A text description of the repository.
- domain
Owner String - The 12-digit account ID of the AWS account that owns the domain.
- external
Connections List<String> - A list of external connections associated with the repository.
- permissions
Policy ObjectDocument The access control resource policy on the provided repository.
Search the CloudFormation User Guide for
AWS::CodeArtifact::Repository
for more information about the expected schema for this property.- repository
Name String - The name of the repository.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- upstreams List<String>
- A list of upstream repositories associated with the repository.
- domain
Name string - The name of the domain that contains the repository.
- description string
- A text description of the repository.
- domain
Owner string - The 12-digit account ID of the AWS account that owns the domain.
- external
Connections string[] - A list of external connections associated with the repository.
- permissions
Policy anyDocument The access control resource policy on the provided repository.
Search the CloudFormation User Guide for
AWS::CodeArtifact::Repository
for more information about the expected schema for this property.- repository
Name string - The name of the repository.
- Tag[]
- 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_ Anydocument The access control resource policy on the provided repository.
Search the CloudFormation User Guide for
AWS::CodeArtifact::Repository
for more information about the expected schema for this property.- repository_
name str - The name of the repository.
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- upstreams Sequence[str]
- A list of upstream repositories associated with the repository.
- domain
Name String - The name of the domain that contains the repository.
- description String
- A text description of the repository.
- domain
Owner String - The 12-digit account ID of the AWS account that owns the domain.
- external
Connections List<String> - A list of external connections associated with the repository.
- permissions
Policy AnyDocument The access control resource policy on the provided repository.
Search the CloudFormation User Guide for
AWS::CodeArtifact::Repository
for more information about the expected schema for this property.- repository
Name String - The name of the repository.
- 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:
Supporting Types
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.