Skip to content

InstancePublicConnectionProps

Properties for defining a InstancePublicConnection.

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

Initializer

import { InstancePublicConnectionProps } from '@alicloud/ros-cdk-gpdb'
const instancePublicConnectionProps: InstancePublicConnectionProps = { ... }

Properties

Name Type Description
connectionStringPrefix string | @alicloud/ros-cdk-core.IResolvable Property connectionStringPrefix: The prefix of the endpoint.
dbInstanceId string | @alicloud/ros-cdk-core.IResolvable Property dbInstanceId: The ID of the instance.
port number | @alicloud/ros-cdk-core.IResolvable Property port: The port number of the instance.
addressType string | @alicloud/ros-cdk-core.IResolvable Property addressType: Network type. Valid values:.

connectionStringPrefixRequired

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

Property connectionStringPrefix: The prefix of the endpoint.

Specify a prefix for the endpoint. Example: gp-bp12ga6v69h86**. In this example, the endpoint is gp-bp12ga6v69h86**.gpdb.rds.example.com.


dbInstanceIdRequired

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

Property dbInstanceId: The ID of the instance.


portRequired

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

Property port: The port number of the instance.


addressTypeOptional

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