Skip to content
v2.278.0

GlobalClusterReference Struct ​

A reference to a GlobalCluster resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_docdb as interfaces_docdb } from 'aws-cdk-lib/interfaces';
const globalClusterReference: interfaces_docdb.GlobalClusterReference = {
  globalClusterArn: 'globalClusterArn',
  globalClusterIdentifier: 'globalClusterIdentifier',
};
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_docdb as interfaces_docdb

global_cluster_reference = interfaces_docdb.GlobalClusterReference(
    global_cluster_arn="globalClusterArn",
    global_cluster_identifier="globalClusterIdentifier"
)
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.docdb.*;

GlobalClusterReference globalClusterReference = GlobalClusterReference.builder()
        .globalClusterArn("globalClusterArn")
        .globalClusterIdentifier("globalClusterIdentifier")
        .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.DocDB;

var globalClusterReference = new GlobalClusterReference {
    GlobalClusterArn = "globalClusterArn",
    GlobalClusterIdentifier = "globalClusterIdentifier"
};
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"

globalClusterReference := &GlobalClusterReference{
	GlobalClusterArn: jsii.String("globalClusterArn"),
	GlobalClusterIdentifier: jsii.String("globalClusterIdentifier"),
}

Properties ​

globalClusterArnstringglobal_cluster_arnstrglobalClusterArnStringGlobalClusterArnstringGlobalClusterArn*string required #
The ARN of the GlobalCluster resource.
globalClusterIdentifierstringglobal_cluster_identifierstrglobalClusterIdentifierStringGlobalClusterIdentifierstringGlobalClusterIdentifier*string required #
The GlobalClusterIdentifier of the GlobalCluster resource.