Skip to content

WorkspacesProps

Properties for defining a Workspaces.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-pai-workspaces

Initializer

import { datasource } from '@alicloud/ros-cdk-pai'
const workspacesProps: datasource.WorkspacesProps = { ... }

Properties

Name Type Description
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
workspaceId string | @alicloud/ros-cdk-core.IResolvable Property workspaceId: The ID of the workspace.
workspaceName string | @alicloud/ros-cdk-core.IResolvable Property workspaceName: The workspace name.

refreshOptionsOptional

public readonly refreshOptions: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values: - Never: Never refresh the datasource resource when the stack is updated. - Always: Always refresh the datasource resource when the stack is updated. Default is Never.


workspaceIdOptional

public readonly workspaceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property workspaceId: The ID of the workspace.


workspaceNameOptional

public readonly workspaceName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property workspaceName: The workspace name.

The format is as follows: - 3 to 23 characters in length and can contain letters, underscores, or numbers. - Must start with a large or small letter. - Unique in the current region.