Interface DatabaseProxyEndpointProps
- All Superinterfaces:
DatabaseProxyEndpointOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DatabaseProxyEndpointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:59.144Z")
@Stability(Stable)
public interface DatabaseProxyEndpointProps
extends software.amazon.jsii.JsiiSerializable, DatabaseProxyEndpointOptions
Construction properties for a DatabaseProxyEndpoint.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
import software.amazon.awscdk.services.rds.*;
DatabaseProxy databaseProxy;
SecurityGroup securityGroup;
Subnet subnet;
SubnetFilter subnetFilter;
Vpc vpc;
DatabaseProxyEndpointProps databaseProxyEndpointProps = DatabaseProxyEndpointProps.builder()
.dbProxy(databaseProxy)
.vpc(vpc)
// the properties below are optional
.dbProxyEndpointName("dbProxyEndpointName")
.securityGroups(List.of(securityGroup))
.targetRole(ProxyEndpointTargetRole.READ_WRITE)
.vpcSubnets(SubnetSelection.builder()
.availabilityZones(List.of("availabilityZones"))
.onePerAz(false)
.subnetFilters(List.of(subnetFilter))
.subnetGroupName("subnetGroupName")
.subnets(List.of(subnet))
.subnetType(SubnetType.PRIVATE_ISOLATED)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDatabaseProxyEndpointPropsstatic final classAn implementation forDatabaseProxyEndpointProps -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.rds.DatabaseProxyEndpointOptions
getDbProxyEndpointName, getSecurityGroups, getTargetRole, getVpc, getVpcSubnetsMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDbProxy
The DB proxy associated with the DB proxy endpoint. -
builder
- Returns:
- a
DatabaseProxyEndpointProps.BuilderofDatabaseProxyEndpointProps
-