ClusterReference Struct
A reference to a Cluster 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_msk as interfaces_msk } from 'aws-cdk-lib/interfaces';
const clusterReference: interfaces_msk.ClusterReference = {
clusterArn: 'clusterArn',
};
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_msk as interfaces_msk
cluster_reference = interfaces_msk.ClusterReference(
cluster_arn="clusterArn"
)
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.msk.*;
ClusterReference clusterReference = ClusterReference.builder()
.clusterArn("clusterArn")
.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.MSK;
var clusterReference = new ClusterReference {
ClusterArn = "clusterArn"
};
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"),
}
Properties
The Arn of the Cluster resource.