AWS Fundamentals Logo
AWS Fundamentals
AWS::CodeArtifact::PackageGroup

CodeArtifact PackageGroup

The resource schema to create a CodeArtifact package group.

Properties

7 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
DomainName
string
RequiredCreate-only
Pattern
string
RequiredCreate-only
ContactInfo
string
Description
string
DomainOwner
string
OriginConfiguration
OriginConfiguration
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe ARN of the package group.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CodeArtifact::PackageGroup

Resources:
  MyResource:
    Type: AWS::CodeArtifact::PackageGroup
    Properties:
      Pattern: "value"
      DomainName: "my-domainname"
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

codeartifact:CreatePackageGroupcodeartifact:DescribePackageGroupcodeartifact:UpdatePackageGroupcodeartifact:UpdatePackageGroupOriginConfigurationcodeartifact:ListAllowedRepositoriesForGroupcodeartifact:ListTagsForResourcecodeartifact:TagResource

read

codeartifact:DescribePackageGroupcodeartifact:ListAllowedRepositoriesForGroupcodeartifact:ListTagsForResource

update

codeartifact:UpdatePackageGroupcodeartifact:UpdatePackageGroupOriginConfigurationcodeartifact:DescribePackageGroupcodeartifact:ListAllowedRepositoriesForGroupcodeartifact:ListTagsForResourcecodeartifact:TagResourcecodeartifact:UntagResource

delete

codeartifact:DeletePackageGroupcodeartifact:DescribePackageGroup

list

codeartifact:ListPackageGroups

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceCodeArtifact
Properties8
Required2
TaggingSupported
Primary IDArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

DomainNamePattern

Related Resources

External Links