AWS::CodeArtifact::DomainThe resource schema to create a CodeArtifact domain.
3 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DomainName | string | RequiredCreate-only |
PermissionsPolicyDocument | object | |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The ARN of the domain. |
EncryptionKey | string | The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain. |
Name | string | The name of the domain. This field is used for GetAtt |
Owner | string | The 12-digit account ID of the AWS account that owns the domain. This field is used for GetAtt |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CodeArtifact::Domain
Resources:
MyResource:
Type: AWS::CodeArtifact::Domain
Properties:
DomainName: "my-domainname"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
codeartifact:CreateDomaincodeartifact:DescribeDomaincodeartifact:PutDomainPermissionsPolicycodeartifact:GetDomainPermissionsPolicycodeartifact:TagResourcecodeartifact:ListTagsForResourcecodeartifact:DescribeDomaincodeartifact:GetDomainPermissionsPolicycodeartifact:ListTagsForResourcecodeartifact:DescribeDomaincodeartifact:PutDomainPermissionsPolicycodeartifact:DeleteDomainPermissionsPolicycodeartifact:GetDomainPermissionsPolicycodeartifact:TagResourcecodeartifact:UntagResourcecodeartifact:ListTagsForResourcecodeartifact:DeleteDomaincodeartifact:DescribeDomaincodeartifact:ListDomainsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
DomainNameEncryptionKey