Skip to content

DBClusterEndpointAddressProps

Properties for defining a DBClusterEndpointAddress.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-polardb-dbclusterendpointaddress

Initializer

import ros_cdk_polardb
ros_cdk_polardb.DBClusterEndpointAddressProps(
  db_cluster_id: typing.Union[str, IResolvable],
  db_endpoint_id: typing.Union[str, IResolvable],
  connection_string_prefix: typing.Union[str, IResolvable] = None,
  net_type: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
db_cluster_id typing.Union[str, ros_cdk_core.IResolvable] Property dbClusterId: The ID of the ApsaraDB for POLARDB cluster for which a public connection point is to be created.
db_endpoint_id typing.Union[str, ros_cdk_core.IResolvable] Property dbEndpointId: The ID of the cluster connection point.
connection_string_prefix typing.Union[str, ros_cdk_core.IResolvable] Property connectionStringPrefix: The prefix of the connection string.
net_type typing.Union[str, ros_cdk_core.IResolvable] Property netType: The network type of the connection string.

db_cluster_idRequired

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

Property dbClusterId: The ID of the ApsaraDB for POLARDB cluster for which a public connection point is to be created.


db_endpoint_idRequired

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

Property dbEndpointId: The ID of the cluster connection point.


connection_string_prefixOptional

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

Property connectionStringPrefix: The prefix of the connection string.

The prefix must comply with the following rules: It must start with a letter and consist of lowercase letters, digits, and hyphens(-), cannot end with a dash. The length is 6~30 characters.


net_typeOptional

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

Property netType: The network type of the connection string.

If set to Public, ROS will create, modify and delete Public address for you. If set to Private, ROS will only modify Private address for you. Default to Public.