Domain
Source:
src/AWS/CodeArtifact/Domain.ts
An AWS CodeArtifact domain — the top-level container that groups a set of package repositories and provides a single point for encryption, ownership and cross-account access control.
Creating a Domain
Section titled “Creating a Domain”Basic Domain
const domain = yield* CodeArtifact.Domain("packages", {});Domain with a customer-managed KMS key
const domain = yield* CodeArtifact.Domain("packages", { domainName: "my-org", encryptionKey: key.keyArn, tags: { team: "platform" },});