Skip to content

WorkspaceResourceMaxComputesProps

Properties for defining a WorkspaceResourceMaxComputes.

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

Initializer

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

Properties

Name Type Description
workspace_id typing.Union[str, ros_cdk_core.IResolvable] Property workspaceId: The ID of the workspace to which the workspace belongs.
group_name typing.Union[str, ros_cdk_core.IResolvable] Property groupName: Resource group name.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

workspace_idRequired

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

Property workspaceId: The ID of the workspace to which the workspace belongs.


group_nameOptional

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

Property groupName: Resource group name.

If you want to obtain a resource group 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.