Skip to content

IProject

  • Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource

  • Implemented By: Project, IProject

Represents a Project.

Properties

Name Type Description
Node github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode The construct tree node for this construct.
Env github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment The environment this resource belongs to.
Stack github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack The stack in which this resource is defined.
AttrEnvTypes interface{} Attribute EnvTypes: The environment of the workspace.
AttrId interface{} Attribute Id: The ID number of the workspace.
AttrIsDefault interface{} Attribute IsDefault: Indicates whether the workspace is the default workspace.
AttrProjectIdentifier interface{} Attribute ProjectIdentifier: The name of the workspace.
AttrProtectedMode interface{} Attribute ProtectedMode: Indicates whether the workspace protection feature is enabled.
AttrResidentArea interface{} Attribute ResidentArea: The type of the workspace.
AttrSchedulerMaxRetryTimes interface{} Attribute SchedulerMaxRetryTimes: The default maximum number of automatic reruns that are allowed after an error occurs.
AttrSchedulerRetryInterval interface{} Attribute SchedulerRetryInterval: The interval between automatic reruns after an error occurs.
AttrTablePrivacyMode interface{} Attribute TablePrivacyMode: Indicates whether the MaxCompute tables in the workspace are visible to the users within the tenant.
Props ProjectProps No description.

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node for this construct.


EnvRequired

func Env() IResourceEnvironment
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


AttrEnvTypesRequired

func AttrEnvTypes() interface{}
  • Type: interface{}

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.


AttrIdRequired

func AttrId() interface{}
  • Type: interface{}

Attribute Id: The ID number of the workspace.


AttrIsDefaultRequired

func AttrIsDefault() interface{}
  • Type: interface{}

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.


AttrProjectIdentifierRequired

func AttrProjectIdentifier() interface{}
  • Type: interface{}

Attribute ProjectIdentifier: The name of the workspace.

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


AttrProtectedModeRequired

func AttrProtectedMode() interface{}
  • Type: interface{}

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

func AttrResidentArea() interface{}
  • Type: interface{}

Attribute ResidentArea: The type of the workspace.

Valid values: private and swap.


AttrSchedulerMaxRetryTimesRequired

func AttrSchedulerMaxRetryTimes() interface{}
  • Type: interface{}

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


AttrSchedulerRetryIntervalRequired

func AttrSchedulerRetryInterval() interface{}
  • Type: interface{}

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

func AttrTablePrivacyMode() interface{}
  • Type: interface{}

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.


PropsRequired

func Props() ProjectProps