Skip to content

WorkspacesProps

Properties for defining a Workspaces.

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

Initializer

from ros_cdk_pai import datasource
datasource.WorkspacesProps(
  refresh_options: typing.Union[str, IResolvable] = None,
  workspace_id: typing.Union[str, IResolvable] = None,
  workspace_name: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
workspace_id typing.Union[str, ros_cdk_core.IResolvable] Property workspaceId: The ID of the workspace.
workspace_name typing.Union[str, ros_cdk_core.IResolvable] Property workspaceName: The workspace name.

refresh_optionsOptional

refresh_options: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.

workspace_idOptional

workspace_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property workspaceId: The ID of the workspace.


workspace_nameOptional

workspace_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.