Skip to content

DBNodesProps

Properties for defining a DBNodes.

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

Initializer

import ros_cdk_polardb
ros_cdk_polardb.DBNodesProps(
  amount: typing.Union[typing.Union[int, float], IResolvable],
  db_cluster_id: typing.Union[str, IResolvable],
  db_node_type: typing.Union[str, IResolvable] = None,
  imci_switch: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
amount typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property amount: Number of nodes to be added to cluster.
db_cluster_id typing.Union[str, ros_cdk_core.IResolvable] Property dbClusterId: The ID of the ApsaraDB for POLARDB cluster to be added nodes to.
db_node_type typing.Union[str, ros_cdk_core.IResolvable] Property dbNodeType: Node type.
imci_switch typing.Union[str, ros_cdk_core.IResolvable] Property imciSwitch: Specifies whether to enable the In-Memory Column Index (IMCI) feature.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: Resource group id.

amountRequired

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

Property amount: Number of nodes to be added to cluster.


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 to be added nodes to.


db_node_typeOptional

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

Property dbNodeType: Node type.

Ranges: RO|STANDBY|DLNode


imci_switchOptional

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

Property imciSwitch: Specifies whether to enable the In-Memory Column Index (IMCI) feature.


resource_group_idOptional

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

Property resourceGroupId: Resource group id.