ProxyTarget

class aws_cdk.aws_rds.ProxyTarget(*args, **kwargs)

Bases: object

Proxy target: Instance or Cluster.

A target group is a collection of databases that the proxy can connect to. Currently, you can specify only one RDS DB instance or Aurora DB cluster.

Methods

bind(_)

Bind this target to the specified database proxy.

Parameters

_

Return type

ProxyTargetConfig

Static Methods

classmethod from_cluster(cluster)

From cluster.

Parameters

cluster (IDatabaseCluster) – RDS database cluster.

Return type

ProxyTarget

classmethod from_instance(instance)

From instance.

Parameters

instance (IDatabaseInstance) – RDS database instance.

Return type

ProxyTarget