Skip to content
v2.278.0

DBProxyReference Struct ​

A reference to a DBProxy 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 dBProxyReference: interfaces_rds.DBProxyReference = {
  dbProxyArn: 'dbProxyArn',
  dbProxyName: 'dbProxyName',
};
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_proxy_reference = interfaces_rds.DBProxyReference(
    db_proxy_arn="dbProxyArn",
    db_proxy_name="dbProxyName"
)
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.*;

DBProxyReference dBProxyReference = DBProxyReference.builder()
        .dbProxyArn("dbProxyArn")
        .dbProxyName("dbProxyName")
        .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 dBProxyReference = new DBProxyReference {
    DbProxyArn = "dbProxyArn",
    DbProxyName = "dbProxyName"
};
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"

dBProxyReference := &DBProxyReference{
	DbProxyArn: jsii.String("dbProxyArn"),
	DbProxyName: jsii.String("dbProxyName"),
}

Properties ​

dbProxyArnstringdb_proxy_arnstrdbProxyArnStringDbProxyArnstringDbProxyArn*string required #
The ARN of the DBProxy resource.
dbProxyNamestringdb_proxy_namestrdbProxyNameStringDbProxyNamestringDbProxyName*string required #
The DBProxyName of the DBProxy resource.