Skip to content

DataSourceSharedRuleProps

Properties for defining a DataSourceSharedRule.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dataworks-datasourcesharedrule

Initializer

import ros_cdk_dataworks
ros_cdk_dataworks.DataSourceSharedRuleProps(
  data_source_id: typing.Union[typing.Union[int, float], IResolvable],
  env_type: typing.Union[str, IResolvable],
  target_project_id: typing.Union[typing.Union[int, float], IResolvable],
  shared_user: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
data_source_id typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property dataSourceId: The ID of the data source, that is, the unique identifier of the data source.
env_type typing.Union[str, ros_cdk_core.IResolvable] Property envType: The environment type of the data source shared to the target project, such as Dev (Development Environment) and Prod (production environment).
target_project_id typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property targetProjectId: The ID of the project to which the data source is shared.
shared_user typing.Union[str, ros_cdk_core.IResolvable] Property sharedUser: The target user of the data source permission policy, which is null to share to the project.

data_source_idRequired

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

Property dataSourceId: The ID of the data source, that is, the unique identifier of the data source.


env_typeRequired

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

Property envType: The environment type of the data source shared to the target project, such as Dev (Development Environment) and Prod (production environment).


target_project_idRequired

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

Property targetProjectId: The ID of the project to which the data source is shared.


shared_userOptional

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

Property sharedUser: The target user of the data source permission policy, which is null to share to the project.