interface PackageReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.CodeArtifact.PackageReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awscodeartifact#PackageReference |
Java | software.amazon.awscdk.interfaces.codeartifact.PackageReference |
Python | aws_cdk.interfaces.aws_codeartifact.PackageReference |
TypeScript | aws-cdk-lib » interfaces » aws_codeartifact » PackageReference |
A reference to a Package resource.
Example
// 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 packageReference: interfaces_codeartifact.PackageReference = {
packageArn: 'packageArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| package | string | The Arn of the Package resource. |
packageArn
Type:
string
The Arn of the Package resource.

.NET
Go
Java
Python
TypeScript