AITaskProps
Properties for defining a AITask
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-polardb-aitask
Initializer
import ros_cdk_polardb
ros_cdk_polardb.AITaskProps(
db_cluster_id: typing.Union[str, IResolvable],
password: typing.Union[str, IResolvable],
username: typing.Union[str, IResolvable],
node_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 DB cluster. |
password |
typing.Union[str, ros_cdk_core.IResolvable] |
Property password: The password of the database account that enables the PolarDB for AI function is required. |
username |
typing.Union[str, ros_cdk_core.IResolvable] |
Property username: The database account that enables the PolarDB for AI function is required. |
node_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property nodeType: The type of the node. |
db_cluster_id
Required
db_cluster_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dbClusterId: The ID of the DB cluster.
password
Required
password: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property password: The password of the database account that enables the PolarDB for AI function is required.
username
Required
username: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property username: The database account that enables the PolarDB for AI function is required.
node_type
Optional
node_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property nodeType: The type of the node.
Valid values: DLNode: AI node(default). SearchNode: Search ai node.