AWS::CodeArtifact::PackageResource Type definition for AWS::CodeArtifact::Package
5 configurable properties. 4 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DomainName | string | RequiredCreate-only |
Format | string | RequiredCreate-only |
Name | string | RequiredCreate-only |
Repository | string | RequiredCreate-only |
Namespace | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The ARN of the package. |
OriginConfiguration | object | The package origin configuration for the package. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CodeArtifact::Package
Resources:
MyResource:
Type: AWS::CodeArtifact::Package
Properties:
DomainName: "my-domainname"
Repository: "value"
Format: "npm"
Name: "my-name"Permissions CloudFormation needs in your IAM role to manage this resource.
codeartifact:DescribePackagecodeartifact:ListPackagesOur 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.
DomainNameFormatNameNamespaceRepository