Skip to content
v2.274.0

CfnDBProxyTargetGroupProps Struct ​

Properties for defining a CfnDBProxyTargetGroup.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
const cfnDBProxyTargetGroupProps: rds.CfnDBProxyTargetGroupProps = {
  dbProxyName: 'dbProxyName',
  targetGroupName: 'targetGroupName',

  // the properties below are optional
  connectionPoolConfigurationInfo: {
    connectionBorrowTimeout: 123,
    initQuery: 'initQuery',
    maxConnectionsPercent: 123,
    maxIdleConnectionsPercent: 123,
    sessionPinningFilters: ['sessionPinningFilters'],
  },
  dbClusterIdentifiers: ['dbClusterIdentifiers'],
  dbInstanceIdentifiers: ['dbInstanceIdentifiers'],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

connectionPoolConfigurationInfoIResolvable | CfnDBProxyTargetGroup.ConnectionPoolConfigurationInfoFormatPropertyconnection_pool_configuration_infotyping.Union[IResolvable, ConnectionPoolConfigurationInfoFormatProperty]connectionPoolConfigurationInfoIResolvableConnectionPoolConfigurationInfoIResolvableConnectionPoolConfigurationInfointerface{}#
Displays the settings that control the size and behavior of the connection pool associated with a `DBProxyTarget` .
dbClusterIdentifiersstring | IDBClusterRef[]db_cluster_identifierstyping.List[typing.Union[str, IDBClusterRef]]dbClusterIdentifiersList<String>DbClusterIdentifiersstring[]DbClusterIdentifiers*[]interface{}#
One or more DB cluster identifiers.
dbInstanceIdentifiersstring[]db_instance_identifierstyping.List[str]dbInstanceIdentifiersList<String>DbInstanceIdentifiersstring[]DbInstanceIdentifiers*[]*string#
One or more DB instance identifiers.
dbProxyNamestring | IDBProxyRefdb_proxy_nametyping.Union[str, IDBProxyRef]dbProxyNameStringDbProxyNamestringDbProxyNameinterface{}required#
The identifier of the `DBProxy` that is associated with the `DBProxyTargetGroup` .
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
An array of key-value pairs to apply to this resource.
targetGroupNamestringtarget_group_namestrtargetGroupNameStringTargetGroupNamestringTargetGroupName*stringrequired#
The identifier for the target group.

Currently, this property must be set to default .