Skip to content

InstancePublicConnectionProps

Properties for defining a InstancePublicConnection.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-gpdb-instancepublicconnection

Initializer

import ros_cdk_gpdb
ros_cdk_gpdb.InstancePublicConnectionProps(
  connection_string_prefix: typing.Union[str, IResolvable],
  db_instance_id: typing.Union[str, IResolvable],
  port: typing.Union[typing.Union[int, float], IResolvable],
  address_type: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
connection_string_prefix typing.Union[str, ros_cdk_core.IResolvable] Property connectionStringPrefix: The endpoint that is used to connect to the specified database.
db_instance_id typing.Union[str, ros_cdk_core.IResolvable] Property dbInstanceId: The ID of the instance.
port typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property port: The port number of the instance.
address_type typing.Union[str, ros_cdk_core.IResolvable] Property addressType: Network type. Valid values:.

connection_string_prefixRequired

connection_string_prefix: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property connectionStringPrefix: The endpoint that is used to connect to the specified database.


db_instance_idRequired

db_instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property dbInstanceId: The ID of the instance.


portRequired

port: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property port: The port number of the instance.


address_typeOptional

address_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property addressType: Network type. Valid values:.

  • primary: Primary address.
  • cluster: Cluster address, only multi-coordination node instances support creating cluster addresses.

Default is primary address.