Skip to content

Project

This class encapsulates and extends the ROS resource type ALIYUN::DataWorks::Project.

Initializers

using AlibabaCloud.SDK.ROS.CDK.Dataworks;
new Project(Construct Scope, string Id, ProjectProps Props, bool EnableResourcePropertyConstraint = null);
Name Type Description
Scope AlibabaCloud.SDK.ROS.CDK.Core.Construct No description.
Id string No description.
Props ProjectProps No description.
EnableResourcePropertyConstraint bool No description.

ScopeRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct

IdRequired

  • Type: string

PropsRequired


EnableResourcePropertyConstraintOptional

  • Type: bool

Methods

Name Description
ToString Returns a string representation of this construct.
Synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
AddCondition No description.
AddCount No description.
AddDependency No description.
AddResourceDesc No description.
ApplyRemovalPolicy No description.
GetAtt No description.
SetMetadata No description.

ToString

private string ToString()

Returns a string representation of this construct.

Synthesize

private void Synthesize(ISynthesisSession Session)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

SessionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession

The synthesis session.


AddCondition

private void AddCondition(RosCondition Condition)

ConditionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition

AddCount

private void AddCount(object Count)

CountRequired

  • Type: object

AddDependency

private void AddDependency(Resource Resource)

ResourceRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource

AddResourceDesc

private void AddResourceDesc(string Desc)

DescRequired

  • Type: string

ApplyRemovalPolicy

private void ApplyRemovalPolicy(RemovalPolicy Policy)

PolicyRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy

GetAtt

private IResolvable GetAtt(string Name)

NameRequired

  • Type: string

SetMetadata

private void SetMetadata(string Key, object Value)

KeyRequired

  • Type: string

ValueRequired

  • Type: object

Static Functions

Name Description
IsConstruct Return whether the given object is a Construct.

IsConstruct

using AlibabaCloud.SDK.ROS.CDK.Dataworks;
Project.IsConstruct(object X);

Return whether the given object is a Construct.

XRequired

  • Type: object

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node associated with this construct.
Ref string No description.
Stack AlibabaCloud.SDK.ROS.CDK.Core.Stack The stack in which this resource is defined.
Resource AlibabaCloud.SDK.ROS.CDK.Core.RosResource No description.
AttrEnvTypes AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute EnvTypes: The environment of the workspace.
AttrIsDefault AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute IsDefault: Indicates whether the workspace is the default workspace.
AttrProjectId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ProjectId: The ID of the workspace.
AttrProjectIdentifier AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ProjectIdentifier: The name of the workspace.
AttrProtectedMode AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ProtectedMode: Indicates whether the workspace protection feature is enabled.
AttrResidentArea AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ResidentArea: The type of the workspace.
AttrSchedulerMaxRetryTimes AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute SchedulerMaxRetryTimes: The default maximum number of automatic reruns that are allowed after an error occurs.
AttrSchedulerRetryInterval AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute SchedulerRetryInterval: The interval between automatic reruns after an error occurs.
AttrTablePrivacyMode AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute TablePrivacyMode: Indicates whether the MaxCompute tables in the workspace are visible to the users within the tenant.

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node associated with this construct.


RefRequired

public string Ref { get; }
  • Type: string

StackRequired

public Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


ResourceOptional

public RosResource Resource { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource

AttrEnvTypesRequired

public IResolvable AttrEnvTypes { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute EnvTypes: The environment of the workspace.

Valid values: PROD and DEV. The value PROD indicates the production environment. Workspaces in basic mode provide only the production environment. The value DEV indicates the development environment. Workspaces in standard mode provide both the development environment and the production environment.


AttrIsDefaultRequired

public IResolvable AttrIsDefault { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute IsDefault: Indicates whether the workspace is the default workspace.

Valid values: 1: The workspace is the default workspace. 0: The workspace is not the default workspace.


AttrProjectIdRequired

public IResolvable AttrProjectId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ProjectId: The ID of the workspace.


AttrProjectIdentifierRequired

public IResolvable AttrProjectIdentifier { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ProjectIdentifier: The name of the workspace.

The name can contain letters, digits, and underscores (_) and must start with a letter or digit.


AttrProtectedModeRequired

public IResolvable AttrProtectedMode { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ProtectedMode: Indicates whether the workspace protection feature is enabled.

Valid values: 1: The workspace protection feature is enabled. 0: The workspace protection feature is disabled.


AttrResidentAreaRequired

public IResolvable AttrResidentArea { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ResidentArea: The type of the workspace.

Valid values: private and swap.


AttrSchedulerMaxRetryTimesRequired

public IResolvable AttrSchedulerMaxRetryTimes { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute SchedulerMaxRetryTimes: The default maximum number of automatic reruns that are allowed after an error occurs.


AttrSchedulerRetryIntervalRequired

public IResolvable AttrSchedulerRetryInterval { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute SchedulerRetryInterval: The interval between automatic reruns after an error occurs.

Unit: milliseconds. The maximum interval is 30 minutes. You must pay attention to the conversion between units.


AttrTablePrivacyModeRequired

public IResolvable AttrTablePrivacyMode { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute TablePrivacyMode: Indicates whether the MaxCompute tables in the workspace are visible to the users within the tenant.

Valid values: 0: The MaxCompute tables are invisible to the users within a tenant. 1: The MaxCompute tables are visible to the users within a tenant.