PackageReference
Struct External
A reference to a Package resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_panorama as interfaces_panorama } from 'aws-cdk-lib/interfaces';
const packageReference: interfaces_panorama.PackageReference = {
packageArn: 'packageArn',
packageId: 'packageId',
};
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_panorama as interfaces_panorama
package_reference = interfaces_panorama.PackageReference(
package_arn="packageArn",
package_id="packageId"
)
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.panorama.*;
PackageReference packageReference = PackageReference.builder()
.packageArn("packageArn")
.packageId("packageId")
.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.Panorama;
var packageReference = new PackageReference {
PackageArn = "packageArn",
PackageId = "packageId"
};
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"
packageReference := &PackageReference{
PackageArn: jsii.String("packageArn"),
PackageId: jsii.String("packageId"),
}