Project
This class encapsulates and extends the ROS resource type ALIYUN::DataWorks::Project
, which is used to create a DataWorks workspace.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdataworks"
alicloudroscdkdataworks.NewProject(scope Construct, id *string, props ProjectProps, enableResourcePropertyConstraint *bool) Project
Name | Type | Description |
---|---|---|
scope |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct |
No description. |
id |
*string |
No description. |
props |
ProjectProps |
No description. |
enableResourcePropertyConstraint |
*bool |
No description. |
scope
Required
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
id
Required
- Type: *string
props
Required
- Type: ProjectProps
enableResourcePropertyConstraint
Optional
- 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
func ToString() *string
Returns a string representation of this construct.
Synthesize
func Synthesize(session ISynthesisSession)
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.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession
The synthesis session.
AddCondition
func AddCondition(condition RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDependency
func AddDependency(resource Resource)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource
AddResourceDesc
func AddResourceDesc(desc *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
GetAtt
func GetAtt(name *string) IResolvable
- Type: *string
SetMetadata
func SetMetadata(key *string, value interface{})
- Type: *string
- Type: interface{}
Static Functions
Name | Description |
---|---|
IsConstruct |
Return whether the given object is a Construct. |
IsConstruct
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdataworks"
alicloudroscdkdataworks.Project_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
- Type: interface{}
Properties
Name | Type | Description |
---|---|---|
Node |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode |
The construct tree node associated with this construct. |
Ref |
*string |
No description. |
Stack |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack |
The stack in which this resource is defined. |
Resource |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource |
No description. |
AttrEnvTypes |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute EnvTypes: The environment of the workspace. |
AttrIsDefault |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute IsDefault: Indicates whether the workspace is the default workspace. |
AttrProjectId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ProjectId: The ID of the workspace. |
AttrProjectIdentifier |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ProjectIdentifier: The name of the workspace. |
AttrProtectedMode |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ProtectedMode: Indicates whether the workspace protection feature is enabled. |
AttrResidentArea |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ResidentArea: The type of the workspace. |
AttrSchedulerMaxRetryTimes |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SchedulerMaxRetryTimes: The default maximum number of automatic reruns that are allowed after an error occurs. |
AttrSchedulerRetryInterval |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SchedulerRetryInterval: The interval between automatic reruns after an error occurs. |
AttrTablePrivacyMode |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute TablePrivacyMode: Indicates whether the MaxCompute tables in the workspace are visible to the users within the tenant. |
Node
Required
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
Ref
Required
func Ref() *string
- Type: *string
Stack
Required
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
Resource
Optional
func Resource() RosResource
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AttrEnvTypes
Required
func AttrEnvTypes() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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.
AttrIsDefault
Required
func AttrIsDefault() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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.
AttrProjectId
Required
func AttrProjectId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ProjectId: The ID of the workspace.
AttrProjectIdentifier
Required
func AttrProjectIdentifier() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ProjectIdentifier: The name of the workspace.
The name can contain letters, digits, and underscores (_) and must start with a letter or digit.
AttrProtectedMode
Required
func AttrProtectedMode() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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.
AttrResidentArea
Required
func AttrResidentArea() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ResidentArea: The type of the workspace.
Valid values: private and swap.
AttrSchedulerMaxRetryTimes
Required
func AttrSchedulerMaxRetryTimes() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SchedulerMaxRetryTimes: The default maximum number of automatic reruns that are allowed after an error occurs.
AttrSchedulerRetryInterval
Required
func AttrSchedulerRetryInterval() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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.
AttrTablePrivacyMode
Required
func AttrTablePrivacyMode() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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.