DBSubnetGroupReference Struct
A reference to a DBSubnetGroup 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 dBSubnetGroupReference: interfaces_rds.DBSubnetGroupReference = {
dbSubnetGroupArn: 'dbSubnetGroupArn',
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_rds as interfaces_rds
d_b_subnet_group_reference = interfaces_rds.DBSubnetGroupReference(
db_subnet_group_arn="dbSubnetGroupArn",
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.rds.*;
DBSubnetGroupReference dBSubnetGroupReference = DBSubnetGroupReference.builder()
.dbSubnetGroupArn("dbSubnetGroupArn")
.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.RDS;
var dBSubnetGroupReference = new DBSubnetGroupReference {
DbSubnetGroupArn = "dbSubnetGroupArn",
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{
DbSubnetGroupArn: jsii.String("dbSubnetGroupArn"),
DbSubnetGroupName: jsii.String("dbSubnetGroupName"),
}
Properties
dbSubnetGroupArnstringdb_subnet_group_arnstrdbSubnetGroupArnStringDbSubnetGroupArnstringDbSubnetGroupArn*string required #The ARN of the DBSubnetGroup resource.
dbSubnetGroupNamestringdb_subnet_group_namestrdbSubnetGroupNameStringDbSubnetGroupNamestringDbSubnetGroupName*string required #The DBSubnetGroupName of the DBSubnetGroup resource.