Interface ProxyTargetConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ProxyTargetConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:48.817Z")
@Stability(Stable)
public interface ProxyTargetConfig
extends software.amazon.jsii.JsiiSerializable
The result of binding a
ProxyTarget to a DatabaseProxy.
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.rds.*;
DatabaseCluster databaseCluster;
DatabaseInstance databaseInstance;
ProxyTargetConfig proxyTargetConfig = ProxyTargetConfig.builder()
.engineFamily("engineFamily")
// the properties below are optional
.dbClusters(List.of(databaseCluster))
.dbInstances(List.of(databaseInstance))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forProxyTargetConfigstatic final classAn implementation forProxyTargetConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic ProxyTargetConfig.Builderbuilder()default List<IDatabaseCluster> The database clusters to which this proxy connects.default List<IDatabaseInstance> The database instances to which this proxy connects.The engine family of the database instance or cluster this proxy connects with.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEngineFamily
The engine family of the database instance or cluster this proxy connects with. -
getDbClusters
The database clusters to which this proxy connects.Either this or
dbInstanceswill be set and the otherundefined.Default: - `undefined` if `dbInstances` is set.
-
getDbInstances
The database instances to which this proxy connects.Either this or
dbClusterswill be set and the otherundefined.Default: - `undefined` if `dbClusters` is set.
-
builder
- Returns:
- a
ProxyTargetConfig.BuilderofProxyTargetConfig
-