Show / Hide Table of Contents

Class ProxyTargetConfig

The result of binding a ProxyTarget to a DatabaseProxy.

Inheritance
object
ProxyTargetConfig
Implements
IProxyTargetConfig
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ProxyTargetConfig : IProxyTargetConfig
Syntax (vb)
Public Class ProxyTargetConfig 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()

The result of binding a ProxyTarget to a DatabaseProxy.

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()

The result of binding a ProxyTarget to a DatabaseProxy.

public ProxyTargetConfig()
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 }
            };

Properties

DbClusters

The database clusters to which this proxy connects.

public IDatabaseCluster[]? DbClusters { get; set; }
Property Value

IDatabaseCluster[]

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

IDatabaseInstance[]

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

string

Remarks

ExampleMetadata: fixture=_generated

Implements

IProxyTargetConfig
Back to top Generated by DocFX