Class ProxyTargetConfig
The result of binding a ProxyTarget
to a DatabaseProxy
.
Inheritance
System.Object
ProxyTargetConfig
Implements
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ProxyTargetConfig : Object, IProxyTargetConfig
Syntax (vb)
Public Class ProxyTargetConfig
Inherits Object
Implements IProxyTargetConfig
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;
DatabaseCluster databaseCluster;
DatabaseInstance databaseInstance;
var proxyTargetConfig = new ProxyTargetConfig {
EngineFamily = "engineFamily",
// the properties below are optional
DbClusters = new [] { databaseCluster },
DbInstances = new [] { databaseInstance }
};
Synopsis
Constructors
ProxyTargetConfig() |
Properties
DbClusters | The database clusters to which this proxy connects. |
DbInstances | The database instances to which this proxy connects. |
EngineFamily | The engine family of the database instance or cluster this proxy connects with. |
Constructors
ProxyTargetConfig()
public ProxyTargetConfig()
Properties
DbClusters
The database clusters to which this proxy connects.
public IDatabaseCluster[] DbClusters { get; set; }
Property Value
Remarks
Either this or dbInstances
will be set and the other undefined
.
Default: - undefined
if dbInstances
is set.
DbInstances
The database instances to which this proxy connects.
public IDatabaseInstance[] DbInstances { get; set; }
Property Value
Remarks
Either this or dbClusters
will be set and the other undefined
.
Default: - undefined
if dbClusters
is set.
EngineFamily
The engine family of the database instance or cluster this proxy connects with.
public string EngineFamily { get; set; }
Property Value
System.String