CfnPackageGroupProps Struct
Properties for defining a CfnPackageGroup.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codeartifact as codeartifact } from 'aws-cdk-lib';
const cfnPackageGroupProps: codeartifact.CfnPackageGroupProps = {
domainName: 'domainName',
pattern: 'pattern',
// the properties below are optional
contactInfo: 'contactInfo',
description: 'description',
domainOwner: 'domainOwner',
originConfiguration: {
restrictions: {
externalUpstream: {
restrictionMode: 'restrictionMode',
// the properties below are optional
repositories: ['repositories'],
},
internalUpstream: {
restrictionMode: 'restrictionMode',
// the properties below are optional
repositories: ['repositories'],
},
publish: {
restrictionMode: 'restrictionMode',
// the properties below are optional
repositories: ['repositories'],
},
},
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
The contact information of the package group.
The description of the package group.
The domain that contains the package group.
The 12-digit account number of the AWS account that owns the domain.
It does not include dashes or spaces.
originConfigurationIResolvable | CfnPackageGroup.OriginConfigurationPropertyorigin_configurationtyping.Union[IResolvable, OriginConfigurationProperty]originConfigurationIResolvableOriginConfigurationIResolvableOriginConfigurationinterface{}#Details about the package origin configuration of a package group.
The pattern of the package group.
The pattern determines which packages are associated with the package group.