ProxyTargetConfig

class aws_cdk.aws_rds.ProxyTargetConfig(*, engine_family, db_clusters=None, db_instances=None)

Bases: object

The result of binding a ProxyTarget to a DatabaseProxy.

Parameters
  • engine_family (str) – The engine family of the database instance or cluster this proxy connects with.

  • db_clusters (Optional[List[IDatabaseCluster]]) – The database clusters to which this proxy connects. Either this or dbInstances will be set and the other undefined. Default: - undefined if dbInstances is set.

  • db_instances (Optional[List[IDatabaseInstance]]) – The database instances to which this proxy connects. Either this or dbClusters will be set and the other undefined. Default: - undefined if dbClusters is set.

Attributes

db_clusters

The database clusters to which this proxy connects.

Either this or dbInstances will be set and the other undefined.

Default
  • undefined if dbInstances is set.

Return type

Optional[List[IDatabaseCluster]]

db_instances

The database instances to which this proxy connects.

Either this or dbClusters will be set and the other undefined.

Default
  • undefined if dbClusters is set.

Return type

Optional[List[IDatabaseInstance]]

engine_family

The engine family of the database instance or cluster this proxy connects with.

Return type

str