Skip to content

DataSourceSharedRuleProps

Properties for defining a DataSourceSharedRule.

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

Initializer

import { DataSourceSharedRuleProps } from '@alicloud/ros-cdk-dataworks'
const dataSourceSharedRuleProps: DataSourceSharedRuleProps = { ... }

Properties

Name Type Description
dataSourceId number | @alicloud/ros-cdk-core.IResolvable Property dataSourceId: The ID of the data source, that is, the unique identifier of the data source.
envType string | @alicloud/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).
targetProjectId number | @alicloud/ros-cdk-core.IResolvable Property targetProjectId: The ID of the project to which the data source is shared.
sharedUser string | @alicloud/ros-cdk-core.IResolvable Property sharedUser: The target user of the data source permission policy, which is null to share to the project.

dataSourceIdRequired

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

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


envTypeRequired

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


targetProjectIdRequired

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

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


sharedUserOptional

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

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