IDatasource
-
Extends: ros_cdk_core.IResource
-
Implemented By: Datasource, IDatasource
Represents a Datasource.
Properties
| Name | Type | Description |
|---|---|---|
node | ros_cdk_core.ConstructNode | The construct tree node for this construct. |
env | ros_cdk_core.IResourceEnvironment | The environment this resource belongs to. |
stack | ros_cdk_core.Stack | The stack in which this resource is defined. |
attr_config | typing.Union[str, ros_cdk_core.IResolvable] | Attribute Config: Resource configuration information. |
attr_create_time | typing.Union[str, ros_cdk_core.IResolvable] | Attribute CreateTime: The creation time of the resource. |
attr_datasource_id | typing.Union[str, ros_cdk_core.IResolvable] | Attribute DatasourceId: The first ID of the resource. |
attr_datasource_name | typing.Union[str, ros_cdk_core.IResolvable] | Attribute DatasourceName: The datasource name. |
attr_type | typing.Union[str, ros_cdk_core.IResolvable] | Attribute Type: Data source type. |
attr_uri | typing.Union[str, ros_cdk_core.IResolvable] | Attribute Uri: The resource address of the datasource. |
attr_workspace_id | typing.Union[str, ros_cdk_core.IResolvable] | Attribute WorkspaceId: PAI workspace ID, which can be obtained through the ListWorkspaces interface. |
props | DatasourceProps | No description. |
nodeRequired
node: ConstructNode
- Type: ros_cdk_core.ConstructNode
The construct tree node for this construct.
envRequired
env: IResourceEnvironment
- Type: ros_cdk_core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
stackRequired
stack: Stack
- Type: ros_cdk_core.Stack
The stack in which this resource is defined.
attr_configRequired
attr_config: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute Config: Resource configuration information.
The string format is json.
attr_create_timeRequired
attr_create_time: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute CreateTime: The creation time of the resource.
attr_datasource_idRequired
attr_datasource_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute DatasourceId: The first ID of the resource.
attr_datasource_nameRequired
attr_datasource_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute DatasourceName: The datasource name.
Start with a letter or number and contain only letters, numbers, and underscores. The maximum length cannot exceed 63.
attr_typeRequired
attr_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute Type: Data source type.
attr_uriRequired
attr_uri: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute Uri: The resource address of the datasource.
The maximum length cannot exceed 64.
attr_workspace_idRequired
attr_workspace_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute WorkspaceId: PAI workspace ID, which can be obtained through the ListWorkspaces interface.
propsRequired
props: DatasourceProps
- Type: DatasourceProps