Skip to content
v2.278.0

DBSnapshotReference Struct ​

A reference to a DBSnapshot 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 dBSnapshotReference: interfaces_rds.DBSnapshotReference = {
  dbSnapshotArn: 'dbSnapshotArn',
};
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_snapshot_reference = interfaces_rds.DBSnapshotReference(
    db_snapshot_arn="dbSnapshotArn"
)
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.*;

DBSnapshotReference dBSnapshotReference = DBSnapshotReference.builder()
        .dbSnapshotArn("dbSnapshotArn")
        .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 dBSnapshotReference = new DBSnapshotReference {
    DbSnapshotArn = "dbSnapshotArn"
};
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"

dBSnapshotReference := &DBSnapshotReference{
	DbSnapshotArn: jsii.String("dbSnapshotArn"),
}

Properties ​

dbSnapshotArnstringdb_snapshot_arnstrdbSnapshotArnStringDbSnapshotArnstringDbSnapshotArn*string required #
The DBSnapshotArn of the DBSnapshot resource.