Skip to content

DBClusterEndpointAddressProps

Properties for defining a DBClusterEndpointAddress.

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

Initializer

import { DBClusterEndpointAddressProps } from '@alicloud/ros-cdk-polardb'
const dBClusterEndpointAddressProps: DBClusterEndpointAddressProps = { ... }

Properties

Name Type Description
dbClusterId string | @alicloud/ros-cdk-core.IResolvable Property dbClusterId: The ID of the ApsaraDB for POLARDB cluster for which a public connection point is to be created.
dbEndpointId string | @alicloud/ros-cdk-core.IResolvable Property dbEndpointId: The ID of the cluster connection point.
connectionStringPrefix string | @alicloud/ros-cdk-core.IResolvable Property connectionStringPrefix: The prefix of the connection string.
netType string | @alicloud/ros-cdk-core.IResolvable Property netType: The network type of the connection string.

dbClusterIdRequired

public readonly dbClusterId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


dbEndpointIdRequired

public readonly dbEndpointId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dbEndpointId: The ID of the cluster connection point.


connectionStringPrefixOptional

public readonly connectionStringPrefix: string | IResolvable;
  • Type: string | @alicloud/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.


netTypeOptional

public readonly netType: string | IResolvable;
  • Type: string | @alicloud/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.