Skip to content

ConnectionProps

Properties for defining a Connection.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rds-connection

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkrds"
&alicloudroscdkrds.ConnectionProps {
    DbInstanceId: interface{},
    Port: interface{},
    BabelfishPort: interface{},
    ConnectionStringPrefix: interface{},
    GeneralGroupName: interface{},
}

Properties

Name Type Description
DbInstanceId interface{} Property dbInstanceId: RDS instance ID.
Port interface{} Property port: The port of the database service.
BabelfishPort interface{} Property babelfishPort: The Tabular Data Stream (TDS) port of the instance for which Babelfish is enabled.
ConnectionStringPrefix interface{} Property connectionStringPrefix: The prefix of the endpoint.
GeneralGroupName interface{} Property generalGroupName: The name of the dedicated cluster to which the instance belongs.

DbInstanceIdRequired

DbInstanceId interface{}
  • Type: interface{}

Property dbInstanceId: RDS instance ID.


PortRequired

Port interface{}
  • Type: interface{}

Property port: The port of the database service.


BabelfishPortOptional

BabelfishPort interface{}
  • Type: interface{}

Property babelfishPort: The Tabular Data Stream (TDS) port of the instance for which Babelfish is enabled.

Note This parameter applies only to ApsaraDB RDS for PostgreSQL instances. For more information about Babelfish for ApsaraDB RDS for PostgreSQL, see Introduction to Babelfish.


ConnectionStringPrefixOptional

ConnectionStringPrefix interface{}
  • Type: interface{}

Property connectionStringPrefix: The prefix of the endpoint.

Only the prefix of the CurrentConnectionString parameter value can be modified. The prefix must be 5 to 40 characters in length and can contain letters, digits, and hyphens (-).


GeneralGroupNameOptional

GeneralGroupName interface{}
  • Type: interface{}

Property generalGroupName: The name of the dedicated cluster to which the instance belongs.

This parameter takes effect only when the instance runs MySQL on RDS Standard Edition and is created in a dedicated cluster.