Skip to content
v2.278.0

DBSubnetGroupReference Struct ​

A reference to a DBSubnetGroup 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 dBSubnetGroupReference: interfaces_docdb.DBSubnetGroupReference = {
  dbSubnetGroupName: 'dbSubnetGroupName',
};
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

d_b_subnet_group_reference = interfaces_docdb.DBSubnetGroupReference(
    db_subnet_group_name="dbSubnetGroupName"
)
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.*;

DBSubnetGroupReference dBSubnetGroupReference = DBSubnetGroupReference.builder()
        .dbSubnetGroupName("dbSubnetGroupName")
        .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 dBSubnetGroupReference = new DBSubnetGroupReference {
    DbSubnetGroupName = "dbSubnetGroupName"
};
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"

dBSubnetGroupReference := &DBSubnetGroupReference{
	DbSubnetGroupName: jsii.String("dbSubnetGroupName"),
}

Properties ​

dbSubnetGroupNamestringdb_subnet_group_namestrdbSubnetGroupNameStringDbSubnetGroupNamestringDbSubnetGroupName*string required #
The DBSubnetGroupName of the DBSubnetGroup resource.