IWorkspace
-
Extends: com.aliyun.ros.cdk.core.IResource
-
Implemented By: Workspace, IWorkspace
Represents a Workspace.
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. |
attrAdminNames | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute AdminNames: List of administrator account names. |
attrCreator | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Creator: The user ID of the creator. |
attrDescription | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Description: Workspace description, no more than 80 characters. |
attrDisplayName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DisplayName: It is recommended that you name the workspace based on the business attribute to identify the purpose of the workspace. |
attrEnvTypes | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute EnvTypes: Environments contained in the workspace:. |
attrExtraInfos | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ExtraInfos: Additional information, currently including TenantId (tenant ID). |
attrOwner | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Owner: Workspace owner ID, displayed when Verbose is true. |
attrUsers | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Users: List of users. |
attrWorkspaceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute WorkspaceId: The ID of the workspace. |
attrWorkspaceName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute WorkspaceName: The workspace name. |
props | WorkspaceProps | 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.
attrAdminNamesRequired
public java.lang.Object getAttrAdminNames();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute AdminNames: List of administrator account names.
attrCreatorRequired
public java.lang.Object getAttrCreator();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Creator: The user ID of the creator.
attrDescriptionRequired
public java.lang.Object getAttrDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Description: Workspace description, no more than 80 characters.
attrDisplayNameRequired
public java.lang.Object getAttrDisplayName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DisplayName: It is recommended that you name the workspace based on the business attribute to identify the purpose of the workspace.
If not configured, the default value is the workspace name.
attrEnvTypesRequired
public java.lang.Object getAttrEnvTypes();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute EnvTypes: Environments contained in the workspace:.
attrExtraInfosRequired
public java.lang.Object getAttrExtraInfos();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ExtraInfos: Additional information, currently including TenantId (tenant ID).
attrOwnerRequired
public java.lang.Object getAttrOwner();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Owner: Workspace owner ID, displayed when Verbose is true.
attrUsersRequired
public java.lang.Object getAttrUsers();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Users: List of users.
attrWorkspaceIdRequired
public java.lang.Object getAttrWorkspaceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute WorkspaceId: The ID of the workspace.
attrWorkspaceNameRequired
public java.lang.Object getAttrWorkspaceName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute WorkspaceName: The workspace name.
propsRequired
public WorkspaceProps getProps();
- Type: WorkspaceProps