Skip to content
v2.277.0

ClusterReference Struct ​

A reference to a Cluster resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as interfaces_medialive } from 'aws-cdk-lib/interfaces';
const clusterReference: interfaces_medialive.ClusterReference = {
  clusterArn: 'clusterArn',
  clusterId: 'clusterId',
};
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_medialive as interfaces_medialive

cluster_reference = interfaces_medialive.ClusterReference(
    cluster_arn="clusterArn",
    cluster_id="clusterId"
)
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.medialive.*;

ClusterReference clusterReference = ClusterReference.builder()
        .clusterArn("clusterArn")
        .clusterId("clusterId")
        .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.MediaLive;

var clusterReference = new ClusterReference {
    ClusterArn = "clusterArn",
    ClusterId = "clusterId"
};
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"

clusterReference := &ClusterReference{
	ClusterArn: jsii.String("clusterArn"),
	ClusterId: jsii.String("clusterId"),
}

Properties ​

clusterArnstringcluster_arnstrclusterArnStringClusterArnstringClusterArn*stringrequired#
The ARN of the Cluster resource.
clusterIdstringcluster_idstrclusterIdStringClusterIdstringClusterId*stringrequired#
The Id of the Cluster resource.