AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::CodeArtifact::PackageGroup

CfnPackageGroup

Creates a package group. For more information about creating package groups, including example CLI commands, see [Create a package group](https://docs.aws.amazon.com/codeartifact/latest/ug/create-package-group.html) in the *CodeArtifact User Guide* .

Import

import { CfnPackageGroup } from 'aws-cdk-lib/aws-codeartifact';

Or use the module namespace:

import * as codeartifact from 'aws-cdk-lib/aws-codeartifact';
// codeartifact.CfnPackageGroup

Properties

Configuration passed to the constructor as CfnPackageGroupProps.

domainNameRequired
string

The domain that contains the package group.

patternRequired
string

The pattern of the package group. The pattern determines which packages are associated with the package group.

contactInfoOptional
string

The contact information of the package group.

descriptionOptional
string

The description of the package group.

domainOwnerOptional
string

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

originConfigurationOptional
IResolvable | OriginConfigurationProperty

Details about the package origin configuration of a package group.

tagsOptional
CfnTag[]

An array of key-value pairs to apply to the package group.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

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

LevelL1 (CloudFormation)
Moduleaws-codeartifact
CFN TypeAWS::CodeArtifact::PackageGroup
Properties7

Related Constructs

External Links