Skip to content

DataSourceSharedRuleProps

Properties for defining a DataSourceSharedRule.

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

Initializer

import com.aliyun.ros.cdk.dataworks.DataSourceSharedRuleProps;
DataSourceSharedRuleProps.builder()
    .dataSourceId(java.lang.Number)
    .dataSourceId(IResolvable)
    .envType(java.lang.String)
    .envType(IResolvable)
    .targetProjectId(java.lang.Number)
    .targetProjectId(IResolvable)
//  .sharedUser(java.lang.String)
//  .sharedUser(IResolvable)
    .build();

Properties

Name Type Description
dataSourceId java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property dataSourceId: The ID of the data source, that is, the unique identifier of the data source.
envType java.lang.String OR com.aliyun.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 java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property targetProjectId: The ID of the project to which the data source is shared.
sharedUser java.lang.String OR com.aliyun.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 java.lang.Object getDataSourceId();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

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


envTypeRequired

public java.lang.Object getEnvType();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getTargetProjectId();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

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


sharedUserOptional

public java.lang.Object getSharedUser();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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