IWorkspaceResource
-
Extends: com.aliyun.ros.cdk.core.IResource
-
Implemented By: WorkspaceResource, IWorkspaceResource
Represents a WorkspaceResource.
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node for this construct. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
stack | com.aliyun.ros.cdk.core.Stack | The stack in which this resource is defined. |
attrCreateTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CreateTime: Create UTC time in ISO8601 format. |
attrEnvType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute EnvType: Environment type, possible values:. |
attrGroupName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute GroupName: Resource group name. |
attrIsDefault | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute IsDefault: Whether it is the default resource, each resource type has a default resource. |
attrResourceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ResourceId: The resource ID. |
attrResourceType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ResourceType: Resource type, possible values:. |
attrSpec | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Spec: Resource configuration, required for public resource groups of DLC, enter the content. |
attrWorkspaceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute WorkspaceId: The ID of the workspace to which the workspace belongs. |
attrWorkspaceResourceName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute WorkspaceResourceName: The resource name. |
props | WorkspaceResourceProps | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node for this construct.
envRequired
public IResourceEnvironment getEnv();
- Type: com.aliyun.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 getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
attrCreateTimeRequired
public java.lang.Object getAttrCreateTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CreateTime: Create UTC time in ISO8601 format.
attrEnvTypeRequired
public java.lang.Object getAttrEnvType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute EnvType: Environment type, possible values:.
attrGroupNameRequired
public java.lang.Object getAttrGroupName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute GroupName: Resource group name.
If you want to obtain a resource group name, see ListResources.
attrIsDefaultRequired
public java.lang.Object getAttrIsDefault();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute IsDefault: Whether it is the default resource, each resource type has a default resource.
attrResourceIdRequired
public java.lang.Object getAttrResourceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ResourceId: The resource ID.
attrResourceTypeRequired
public java.lang.Object getAttrResourceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ResourceType: Resource type, possible values:.
attrSpecRequired
public java.lang.Object getAttrSpec();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Spec: Resource configuration, required for public resource groups of DLC, enter the content.
attrWorkspaceIdRequired
public java.lang.Object getAttrWorkspaceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute WorkspaceId: The ID of the workspace to which the workspace belongs.
attrWorkspaceResourceNameRequired
public java.lang.Object getAttrWorkspaceResourceName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute WorkspaceResourceName: The resource name.
propsRequired
public WorkspaceResourceProps getProps();
- Type: WorkspaceResourceProps