DBClusterEndpointProps
Properties for defining a DBClusterEndpoint
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-polardb-dbclusterendpoint
Initializer
import { DBClusterEndpointProps } from '@alicloud/ros-cdk-polardb'
const dBClusterEndpointProps: DBClusterEndpointProps = { ... }
Properties
Name | Type | Description |
---|---|---|
dbClusterId |
string | @alicloud/ros-cdk-core.IResolvable |
Property dbClusterId: The ID of the ApsaraDB for POLARDB cluster for which a custom connection point is to be created. |
autoAddNewNodes |
string | @alicloud/ros-cdk-core.IResolvable |
Property autoAddNewNodes: Specifies whether a newly added node is automatically added to this connection point. |
endpointConfig |
@alicloud/ros-cdk-core.IResolvable | EndpointConfigProperty |
Property endpointConfig:. |
endpointType |
string | @alicloud/ros-cdk-core.IResolvable |
Property endpointType: The type of the cluster connection point. |
nodes |
any[] | @alicloud/ros-cdk-core.IResolvable |
Property nodes: The nodes to be added to this connection point to process read requests from this connection point. |
readWriteMode |
string | @alicloud/ros-cdk-core.IResolvable |
Property readWriteMode: The read\/write mode of the cluster connection point. |
dbClusterId
Required
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 custom connection point is to be created.
autoAddNewNodes
Optional
public readonly autoAddNewNodes: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property autoAddNewNodes: Specifies whether a newly added node is automatically added to this connection point.
Valid values: Enable, Disable. Default value: Disable.
endpointConfig
Optional
public readonly endpointConfig: IResolvable | EndpointConfigProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | EndpointConfigProperty
Property endpointConfig:.
endpointType
Optional
public readonly endpointType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property endpointType: The type of the cluster connection point.
Set this parameter to Custom.
nodes
Optional
public readonly nodes: any[] | IResolvable;
- Type: any[] | @alicloud/ros-cdk-core.IResolvable
Property nodes: The nodes to be added to this connection point to process read requests from this connection point.
Add at least two nodes. If you do not specify this parameter, all nodes of the cluster are added to this connection point by default.
readWriteMode
Optional
public readonly readWriteMode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property readWriteMode: The read\/write mode of the cluster connection point.
Valid values: ReadWrite: receives and forwards read and write requests (automatic read-write splitting). ReadOnly: receives and forwards only read requests. Default value: ReadOnly.