Interface DatabaseProxyEndpointOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
DatabaseProxyEndpointProps
- All Known Implementing Classes:
DatabaseProxyEndpointOptions.Jsii$Proxy,DatabaseProxyEndpointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:59.144Z")
@Stability(Stable)
public interface DatabaseProxyEndpointOptions
extends software.amazon.jsii.JsiiSerializable
Options for a new DatabaseProxyEndpoint.
Example:
Vpc vpc;
Secret[] secrets;
DatabaseInstance dbInstance;
DatabaseProxy proxy = dbInstance.addProxy("Proxy", DatabaseProxyOptions.builder()
.secrets(secrets)
.vpc(vpc)
.build());
// Add a reader endpoint
proxy.addEndpoint("ProxyEndpoint", DatabaseProxyEndpointOptions.builder()
.vpc(vpc)
.targetRole(ProxyEndpointTargetRole.READ_ONLY)
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDatabaseProxyEndpointOptionsstatic final classAn implementation forDatabaseProxyEndpointOptions -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe name of the DB proxy endpoint.default List<ISecurityGroup> The VPC security groups to associate with the new proxy endpoint.default ProxyEndpointTargetRoleA value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.getVpc()The VPC of the DB proxy endpoint.default SubnetSelectionThe subnets of DB proxy endpoint.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVpc
The VPC of the DB proxy endpoint. -
getDbProxyEndpointName
The name of the DB proxy endpoint.Default: - a CDK generated name
-
getSecurityGroups
The VPC security groups to associate with the new proxy endpoint.Default: - Default security group for the VPC
-
getTargetRole
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.Default: - ProxyEndpointTargetRole.READ_WRITE
-
getVpcSubnets
The subnets of DB proxy endpoint.Default: - the VPC default strategy if not specified.
-
builder
-