Skip to content

IWorkspaceResource

Represents a WorkspaceResource.

Properties

Name Type Description
node @alicloud/ros-cdk-core.ConstructNode The construct tree node for this construct.
env @alicloud/ros-cdk-core.IResourceEnvironment The environment this resource belongs to.
stack @alicloud/ros-cdk-core.Stack The stack in which this resource is defined.
attrCreateTime string | @alicloud/ros-cdk-core.IResolvable Attribute CreateTime: Create UTC time in ISO8601 format.
attrEnvType string | @alicloud/ros-cdk-core.IResolvable Attribute EnvType: Environment type, possible values:.
attrGroupName string | @alicloud/ros-cdk-core.IResolvable Attribute GroupName: Resource group name.
attrIsDefault string | @alicloud/ros-cdk-core.IResolvable Attribute IsDefault: Whether it is the default resource, each resource type has a default resource.
attrResourceId string | @alicloud/ros-cdk-core.IResolvable Attribute ResourceId: The resource ID.
attrResourceType string | @alicloud/ros-cdk-core.IResolvable Attribute ResourceType: Resource type, possible values:.
attrSpec string | @alicloud/ros-cdk-core.IResolvable Attribute Spec: Resource configuration, required for public resource groups of DLC, enter the content.
attrWorkspaceId string | @alicloud/ros-cdk-core.IResolvable Attribute WorkspaceId: The ID of the workspace to which the workspace belongs.
attrWorkspaceResourceName string | @alicloud/ros-cdk-core.IResolvable Attribute WorkspaceResourceName: The resource name.
props WorkspaceResourceProps No description.

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node for this construct.


envRequired

public readonly env: IResourceEnvironment;
  • Type: @alicloud/ros-cdk-core.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

public readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


attrCreateTimeRequired

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

Attribute CreateTime: Create UTC time in ISO8601 format.


attrEnvTypeRequired

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

Attribute EnvType: Environment type, possible values:.


attrGroupNameRequired

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

Attribute GroupName: Resource group name.

If you want to obtain a resource group name, see ListResources.


attrIsDefaultRequired

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

Attribute IsDefault: Whether it is the default resource, each resource type has a default resource.


attrResourceIdRequired

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

Attribute ResourceId: The resource ID.


attrResourceTypeRequired

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

Attribute ResourceType: Resource type, possible values:.


attrSpecRequired

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

Attribute Spec: Resource configuration, required for public resource groups of DLC, enter the content.


attrWorkspaceIdRequired

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

Attribute WorkspaceId: The ID of the workspace to which the workspace belongs.


attrWorkspaceResourceNameRequired

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

Attribute WorkspaceResourceName: The resource name.


propsRequired

public readonly props: WorkspaceResourceProps;