Skip to content
v2.277.0

PackageGroupReference Struct ​

A reference to a PackageGroup resource.

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 interfaces_codeartifact } from 'aws-cdk-lib/interfaces';
const packageGroupReference: interfaces_codeartifact.PackageGroupReference = {
  packageGroupArn: 'packageGroupArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_codeartifact as interfaces_codeartifact

package_group_reference = interfaces_codeartifact.PackageGroupReference(
    package_group_arn="packageGroupArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.codeartifact.*;

PackageGroupReference packageGroupReference = PackageGroupReference.builder()
        .packageGroupArn("packageGroupArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.CodeArtifact;

var packageGroupReference = new PackageGroupReference {
    PackageGroupArn = "packageGroupArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

packageGroupReference := &PackageGroupReference{
	PackageGroupArn: jsii.String("packageGroupArn"),
}

Properties ​

packageGroupArnstringpackage_group_arnstrpackageGroupArnStringPackageGroupArnstringPackageGroupArn*string required #
The Arn of the PackageGroup resource.