interface CfnDBProxyTargetGroupProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.RDS.CfnDBProxyTargetGroupProps |
Java | software.amazon.awscdk.services.rds.CfnDBProxyTargetGroupProps |
Python | aws_cdk.aws_rds.CfnDBProxyTargetGroupProps |
TypeScript | @aws-cdk/aws-rds » CfnDBProxyTargetGroupProps |
Properties for defining a CfnDBProxyTargetGroup
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as rds from '@aws-cdk/aws-rds';
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'],
};
Properties
Name | Type | Description |
---|---|---|
db | string | The identifier of the DBProxy that is associated with the DBProxyTargetGroup . |
target | string | The identifier for the target group. |
connection | IResolvable | Connection | Settings that control the size and behavior of the connection pool associated with a DBProxyTargetGroup . |
db | string[] | One or more DB cluster identifiers. |
db | string[] | One or more DB instance identifiers. |
dbProxyName
Type:
string
The identifier of the DBProxy
that is associated with the DBProxyTargetGroup
.
targetGroupName
Type:
string
The identifier for the target group.
Currently, this property must be set to
default
.
connectionPoolConfigurationInfo?
Type:
IResolvable
|
Connection
(optional)
Settings that control the size and behavior of the connection pool associated with a DBProxyTargetGroup
.
dbClusterIdentifiers?
Type:
string[]
(optional)
One or more DB cluster identifiers.
dbInstanceIdentifiers?
Type:
string[]
(optional)
One or more DB instance identifiers.