CfnDBProxyTargetGroupProps
- class aws_cdk.aws_rds.CfnDBProxyTargetGroupProps(*, db_proxy_name, target_group_name, connection_pool_configuration_info=None, db_cluster_identifiers=None, db_instance_identifiers=None)
Bases:
objectProperties for defining a
CfnDBProxyTargetGroup.- Parameters:
db_proxy_name (
str) – The identifier of theDBProxythat is associated with theDBProxyTargetGroup.target_group_name (
str) – The identifier for the target group. .. epigraph:: Currently, this property must be set todefault.connection_pool_configuration_info (
Union[IResolvable,ConnectionPoolConfigurationInfoFormatProperty,Dict[str,Any],None]) – Settings that control the size and behavior of the connection pool associated with aDBProxyTargetGroup.db_cluster_identifiers (
Optional[Sequence[str]]) – One or more DB cluster identifiers.db_instance_identifiers (
Optional[Sequence[str]]) – One or more DB instance identifiers.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_rds as rds cfn_dBProxy_target_group_props = rds.CfnDBProxyTargetGroupProps( db_proxy_name="dbProxyName", target_group_name="targetGroupName", # the properties below are optional connection_pool_configuration_info=rds.CfnDBProxyTargetGroup.ConnectionPoolConfigurationInfoFormatProperty( connection_borrow_timeout=123, init_query="initQuery", max_connections_percent=123, max_idle_connections_percent=123, session_pinning_filters=["sessionPinningFilters"] ), db_cluster_identifiers=["dbClusterIdentifiers"], db_instance_identifiers=["dbInstanceIdentifiers"] )
Attributes
- connection_pool_configuration_info
Settings that control the size and behavior of the connection pool associated with a
DBProxyTargetGroup.
- db_cluster_identifiers
One or more DB cluster identifiers.
- db_instance_identifiers
One or more DB instance identifiers.
- db_proxy_name
The identifier of the
DBProxythat is associated with theDBProxyTargetGroup.
- target_group_name
The identifier for the target group.
Currently, this property must be set to
default.