ALIYUN::PAI::Workspace is used to create a workspace.
Syntax
{
"Type": "ALIYUN::PAI::Workspace",
"Properties": {
"Description": String,
"DisplayName": String,
"WorkspaceName": String,
"EnvTypes": List
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
Description | String | Yes | Yes | The description of the workspace. | The description can be up to 80 characters in length. |
DisplayName | String | No | Yes | The display name of the workspace. | To distinguish the workspace, we recommend that you configure a display name for the workspace based on the purpose of the workspace. If you leave this property empty, the name of the workspace is used. The name must meet the following format requirements:
|
WorkspaceName | String | Yes | No | The name of the workspace. | The name must meet the following format requirements:
|
EnvTypes | List | Yes | No | The environments of the workspace. | Valid values: prod and dev. pro specifies the production environment. dev specifies the development environment.
Example:
|
Return values
Fn::GetAtt
Owner: the ID of the workspace owner.
Description: the description of the workspace. The description can be up to 80 characters in length.
AdminNames: the names of the administrator accounts.
DisplayName: the display name of the workspace.
WorkspaceId: the ID of the workspace.
WorkspaceName: the name of the workspace.
ExtraInfos: the additional information, including TenantId (tenant ID).
Creator: the user ID of the creator.
Users: the users.
EnvTypes: the environments of the workspace.