---
type: resource-type
title: CodeArtifactRepository
description: aws resource type AWS::CodeArtifact::Repository
name: CodeArtifactRepository
lexicon: aws
resource_type: AWS::CodeArtifact::Repository
---
`AWS::CodeArtifact::Repository`, a resource type of the aws lexicon.

## Properties

- `DomainName` (`string`, required): The name of the domain that contains the repository.
- `RepositoryName` (`string`, required): The name of the repository.
- `Arn` (`string`, optional): The ARN of the repository.
- `Description` (`string`, optional): A text description of the repository.
- `DomainOwner` (`string`, optional): The 12-digit account ID of the AWS account that owns the domain.
- `ExternalConnections` (`string[]`, optional): A list of external connections associated with the repository.
- `Name` (`string`, optional): The name of the repository. This is used for GetAtt
- `PermissionsPolicyDocument` (`PolicyDocument`, optional): The access control resource policy on the provided repository.
- `Tags` (`CodeArtifactRepository_Tag[]`, optional): An array of key-value pairs to apply to this resource.
- `Upstreams` (`string[]`, optional): A list of upstream repositories associated with the repository.

## Attributes

- `Arn`
- `DomainOwner`
- `Name`
