Creates a PAI 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. |
We recommend that you set a display name based on the purpose of the workspace. If you leave this property empty, the workspace name 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. prod 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.