Interface ProxyTargetConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ProxyTargetConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:15.823Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forProxyTargetConfig
static final class
An implementation forProxyTargetConfig
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProxyTargetConfig.Builder
builder()
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
dbInstances
will be set and the otherundefined
.Default: - `undefined` if `dbInstances` is set.
-
getDbInstances
The database instances to which this proxy connects.Either this or
dbClusters
will be set and the otherundefined
.Default: - `undefined` if `dbClusters` is set.
-
builder
- Returns:
- a
ProxyTargetConfig.Builder
ofProxyTargetConfig
-