Skip to content

IWorkspaceResource

Represents a WorkspaceResource.

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node for this construct.
Env AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment The environment this resource belongs to.
Stack AlibabaCloud.SDK.ROS.CDK.Core.Stack The stack in which this resource is defined.
AttrCreateTime object Attribute CreateTime: Create UTC time in ISO8601 format.
AttrEnvType object Attribute EnvType: Environment type, possible values:.
AttrGroupName object Attribute GroupName: Resource group name.
AttrIsDefault object Attribute IsDefault: Whether it is the default resource, each resource type has a default resource.
AttrResourceId object Attribute ResourceId: The resource ID.
AttrResourceType object Attribute ResourceType: Resource type, possible values:.
AttrSpec object Attribute Spec: Resource configuration, required for public resource groups of DLC, enter the content.
AttrWorkspaceId object Attribute WorkspaceId: The ID of the workspace to which the workspace belongs.
AttrWorkspaceResourceName object Attribute WorkspaceResourceName: The resource name.
Props WorkspaceResourceProps No description.

NodeRequired

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

The construct tree node for this construct.


EnvRequired

public IResourceEnvironment Env { get; }
  • Type: AlibabaCloud.SDK.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 Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


AttrCreateTimeRequired

public object AttrCreateTime { get; }
  • Type: object

Attribute CreateTime: Create UTC time in ISO8601 format.


AttrEnvTypeRequired

public object AttrEnvType { get; }
  • Type: object

Attribute EnvType: Environment type, possible values:.


AttrGroupNameRequired

public object AttrGroupName { get; }
  • Type: object

Attribute GroupName: Resource group name.

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


AttrIsDefaultRequired

public object AttrIsDefault { get; }
  • Type: object

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


AttrResourceIdRequired

public object AttrResourceId { get; }
  • Type: object

Attribute ResourceId: The resource ID.


AttrResourceTypeRequired

public object AttrResourceType { get; }
  • Type: object

Attribute ResourceType: Resource type, possible values:.


AttrSpecRequired

public object AttrSpec { get; }
  • Type: object

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


AttrWorkspaceIdRequired

public object AttrWorkspaceId { get; }
  • Type: object

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


AttrWorkspaceResourceNameRequired

public object AttrWorkspaceResourceName { get; }
  • Type: object

Attribute WorkspaceResourceName: The resource name.


PropsRequired

public WorkspaceResourceProps Props { get; }