I have a CodeArtifact repository in a central AWS account with company-wide shared libraries. I want to create a CodeArtifact repository in my AWS account that has my team's libraries but the central repository as an upstream repository.
When using CloudFormation to create our respository I tried
ProjectRepository:
Type: "AWS::CodeArtifact::Repository"
Properties:
RepositoryName: "projectrepo"
DomainName: !GetAtt ProjectDomain.DomainName
Upstreams:
- arn:aws:codeartifact:us-east-1:111111111111:repository/centraldomain/centralrepo
but that wasn't right.