ClusterSnapshotReference Struct
A reference to a ClusterSnapshot 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_rds as interfaces_rds } from 'aws-cdk-lib/interfaces';
const clusterSnapshotReference: interfaces_rds.ClusterSnapshotReference = {
dbClusterSnapshotArn: 'dbClusterSnapshotArn',
};
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
cluster_snapshot_reference = interfaces_rds.ClusterSnapshotReference(
db_cluster_snapshot_arn="dbClusterSnapshotArn"
)
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.*;
ClusterSnapshotReference clusterSnapshotReference = ClusterSnapshotReference.builder()
.dbClusterSnapshotArn("dbClusterSnapshotArn")
.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 clusterSnapshotReference = new ClusterSnapshotReference {
DbClusterSnapshotArn = "dbClusterSnapshotArn"
};
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"
clusterSnapshotReference := &ClusterSnapshotReference{
DbClusterSnapshotArn: jsii.String("dbClusterSnapshotArn"),
}
Properties
dbClusterSnapshotArnstringdb_cluster_snapshot_arnstrdbClusterSnapshotArnStringDbClusterSnapshotArnstringDbClusterSnapshotArn*string required #The DBClusterSnapshotArn of the ClusterSnapshot resource.