Interface IProxyTargetConfig
The result of binding a ProxyTarget
to a DatabaseProxy
.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IProxyTargetConfig
Syntax (vb)
Public Interface 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
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. |
Properties
DbClusters
The database clusters to which this proxy connects.
virtual IDatabaseCluster[] DbClusters { get; }
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.
virtual IDatabaseInstance[] DbInstances { get; }
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.
string EngineFamily { get; }
Property Value
System.String