Created
May 16, 2024 17:55
-
-
Save eladb/5e1ddd1bd90c53d90b2195d080397381 to your computer and use it in GitHub Desktop.
Defining code artifact domain/repository with Winglang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bring "aws-cdk-lib" as cdk; | |
let domain = new cdk.aws_codeartifact.CfnDomain( | |
domainName: "o-4e7dgfcrpx-platform" | |
); | |
new cdk.aws_codeartifact.CfnRepository( | |
description: "artifact repository for this <winglang> account", | |
domainName: domain.domainName, | |
repositoryName: "winglang-artifacts", | |
externalConnections: ["public:npmjs"] | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage: