Skip to content
v2.278.0

DBClusterReference Struct ​

A reference to a DBCluster resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as interfaces_rds } from 'aws-cdk-lib/interfaces';
const dBClusterReference: interfaces_rds.DBClusterReference = {
  dbClusterArn: 'dbClusterArn',
  dbClusterIdentifier: 'dbClusterIdentifier',
};
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_rds as interfaces_rds

d_b_cluster_reference = interfaces_rds.DBClusterReference(
    db_cluster_arn="dbClusterArn",
    db_cluster_identifier="dbClusterIdentifier"
)
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.rds.*;

DBClusterReference dBClusterReference = DBClusterReference.builder()
        .dbClusterArn("dbClusterArn")
        .dbClusterIdentifier("dbClusterIdentifier")
        .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.RDS;

var dBClusterReference = new DBClusterReference {
    DbClusterArn = "dbClusterArn",
    DbClusterIdentifier = "dbClusterIdentifier"
};
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"

dBClusterReference := &DBClusterReference{
	DbClusterArn: jsii.String("dbClusterArn"),
	DbClusterIdentifier: jsii.String("dbClusterIdentifier"),
}

Properties ​

dbClusterArnstringdb_cluster_arnstrdbClusterArnStringDbClusterArnstringDbClusterArn*string required #
The ARN of the DBCluster resource.
dbClusterIdentifierstringdb_cluster_identifierstrdbClusterIdentifierStringDbClusterIdentifierstringDbClusterIdentifier*string required #
The DBClusterIdentifier of the DBCluster resource.