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.113.0 (build fc68b25)",
date="2025-09-15T14:52:05.532Z")
@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 class
A builder forDatabaseProxyEndpointOptions
static final class
An implementation forDatabaseProxyEndpointOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The name of the DB proxy endpoint.default List
<ISecurityGroup> The VPC security groups to associate with the new proxy endpoint.default ProxyEndpointTargetRole
A 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 SubnetSelection
The 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
-