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: object

Properties for defining a CfnDBProxyTargetGroup.

Parameters
  • db_proxy_name (str) – The identifier of the DBProxy that is associated with the DBProxyTargetGroup .

  • target_group_name (str) – The identifier for the target group. .. epigraph:: Currently, this property must be set to default .

  • connection_pool_configuration_info (Union[IResolvable, ConnectionPoolConfigurationInfoFormatProperty, Dict[str, Any], None]) – Settings that control the size and behavior of the connection pool associated with a DBProxyTargetGroup .

  • 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

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxytargetgroup.html

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 .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxytargetgroup.html#cfn-rds-dbproxytargetgroup-connectionpoolconfigurationinfo

Return type

Union[IResolvable, ConnectionPoolConfigurationInfoFormatProperty, None]

db_cluster_identifiers

One or more DB cluster identifiers.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxytargetgroup.html#cfn-rds-dbproxytargetgroup-dbclusteridentifiers

Return type

Optional[List[str]]

db_instance_identifiers

One or more DB instance identifiers.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxytargetgroup.html#cfn-rds-dbproxytargetgroup-dbinstanceidentifiers

Return type

Optional[List[str]]

db_proxy_name

The identifier of the DBProxy that is associated with the DBProxyTargetGroup .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxytargetgroup.html#cfn-rds-dbproxytargetgroup-dbproxyname

Return type

str

target_group_name

The identifier for the target group.

Currently, this property must be set to default .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxytargetgroup.html#cfn-rds-dbproxytargetgroup-targetgroupname

Return type

str