With the rise of the cloud and increased security awareness, the use of private Amazon VPCs with no public internet access also expanded rapidly. The isolation requirement also applies to code pipelines, in which developers deploy their application modules, software packages, and other dependencies and bundles throughout the development lifecycle.
Create CodeArtifact Navigate to your CodeArtifact Console then click on Create repository Give it a name and select npm-store as public upsteam repository
Screenshot: create endpoint select services with com.amazonaws.us-west-2.s3 selected.
Screenshot: select service with CodeArtifact in search.