AWS::CodeArtifact::DomainThe `AWS::CodeArtifact::Domain` resource creates an AWS CodeArtifact domain. CodeArtifact *domains* make it easier to manage multiple repositories across an organization. You can use a domain to apply permissions across many repositories owned by different AWS accounts. For more information about domains, see the [Domain concepts information](https://docs.aws.amazon.com/codeartifact/latest/ug/codeartifact-concepts.html#welcome-concepts-domain) in the *CodeArtifact User Guide* . For more information about the `CreateDomain` API, see [CreateDomain](https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_CreateDomain.html) in the *CodeArtifact API Reference* .
import { CfnDomain } from 'aws-cdk-lib/aws-codeartifact';Or use the module namespace:
import * as codeartifact from 'aws-cdk-lib/aws-codeartifact';
// codeartifact.CfnDomainConfiguration passed to the constructor as CfnDomainProps.
domainNameRequiredstringA string that specifies the name of the requested domain.
encryptionKeyOptionalstringThe key used to encrypt the domain.
permissionsPolicyDocumentOptionalanyThe document that defines the resource policy that is set on a domain.
tagsOptionalCfnTag[]A list of tags to be applied to the domain.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-codeartifactAWS::CodeArtifact::Domain