Skip to content

DatasourceProps

Properties for defining a Datasource.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paifeaturestore-datasource

Initializer

import { DatasourceProps } from '@alicloud/ros-cdk-paifeaturestore'
const datasourceProps: DatasourceProps = { ... }

Properties

Name Type Description
datasourceName string | @alicloud/ros-cdk-core.IResolvable Property datasourceName: The datasource name.
instanceId string | @alicloud/ros-cdk-core.IResolvable Property instanceId: The ID of FeatureStore instance, which can be obtained through the ListInstances interface.
type string | @alicloud/ros-cdk-core.IResolvable Property type: Data source type.
uri string | @alicloud/ros-cdk-core.IResolvable Property uri: The resource address of the datasource.
workspaceId string | @alicloud/ros-cdk-core.IResolvable Property workspaceId: PAI workspace ID, which can be obtained through the ListWorkspaces interface.
config @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property config: Resource configuration information.

datasourceNameRequired

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


instanceIdRequired

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

Property instanceId: The ID of FeatureStore instance, which can be obtained through the ListInstances interface.


typeRequired

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

Property type: Data source type.

The value is as follows: * Hologres * GraphCompute * FeatureDB * MaxCompute.


uriRequired

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

Property uri: The resource address of the datasource.

The maximum length cannot exceed 64.


workspaceIdRequired

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

Property workspaceId: PAI workspace ID, which can be obtained through the ListWorkspaces interface.


configOptional

public readonly config: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property config: Resource configuration information.

The string format is json.