DatasourceProps
Properties for defining a Datasource.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paifeaturestore-datasource
Initializer
import ros_cdk_paifeaturestore
ros_cdk_paifeaturestore.DatasourceProps(
datasource_name: typing.Union[str, IResolvable],
instance_id: typing.Union[str, IResolvable],
type: typing.Union[str, IResolvable],
uri: typing.Union[str, IResolvable],
workspace_id: typing.Union[str, IResolvable],
config: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None
)
Properties
| Name | Type | Description |
|---|---|---|
datasource_name | typing.Union[str, ros_cdk_core.IResolvable] | Property datasourceName: The datasource name. |
instance_id | typing.Union[str, ros_cdk_core.IResolvable] | Property instanceId: The ID of FeatureStore instance, which can be obtained through the ListInstances interface. |
type | typing.Union[str, ros_cdk_core.IResolvable] | Property type: Data source type. |
uri | typing.Union[str, ros_cdk_core.IResolvable] | Property uri: The resource address of the datasource. |
workspace_id | typing.Union[str, ros_cdk_core.IResolvable] | Property workspaceId: PAI workspace ID, which can be obtained through the ListWorkspaces interface. |
config | typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] | Property config: Resource configuration information. |
datasource_nameRequired
datasource_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property datasourceName: The datasource name.
Start with a letter or number and contain only letters, numbers, and underscores. The maximum length cannot exceed 63.
instance_idRequired
instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceId: The ID of FeatureStore instance, which can be obtained through the ListInstances interface.
typeRequired
type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property type: Data source type.
The value is as follows:
- Hologres
- GraphCompute
- FeatureDB
- MaxCompute.
uriRequired
uri: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property uri: The resource address of the datasource.
The maximum length cannot exceed 64.
workspace_idRequired
workspace_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property workspaceId: PAI workspace ID, which can be obtained through the ListWorkspaces interface.
configOptional
config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]
Property config: Resource configuration information.
The string format is json.