Skip to content

DBProxyEndpoint

Source: src/AWS/RDS/DBProxyEndpoint.ts

An additional RDS Proxy endpoint — a second DNS name on an existing DBProxy, typically read-only for reader traffic or placed in a different VPC.

Changing the name, owning proxy, subnets, or target role replaces the endpoint; security groups and tags update in place.

const readerEndpoint = yield* DBProxyEndpoint("ReaderEndpoint", {
dbProxyName: proxy.dbProxyName,
vpcSubnetIds: [privateSubnetA.subnetId, privateSubnetB.subnetId],
vpcSecurityGroupIds: [dbSecurityGroup.groupId],
targetRole: "READ_ONLY",
});