WorkspaceResourceFlinkProps
Properties for defining a WorkspaceResourceFlink
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-workspaceresourceflink
Initializer
import ros_cdk_pai
ros_cdk_pai.WorkspaceResourceFlinkProps(
group_name: typing.Union[str, IResolvable],
resources: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ResourcesProperty]]],
workspace_id: typing.Union[str, IResolvable],
is_default: typing.Union[bool, IResolvable] = None,
option: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
group_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property groupName: Resource group name. |
resources |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ResourcesProperty]]] |
Property resources: Resource List. |
workspace_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property workspaceId: The ID of the workspace to which the workspace belongs. |
is_default |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property isDefault: Indicates whether it is the default resource. |
option |
typing.Union[str, ros_cdk_core.IResolvable] |
Property option: Create behavior that supports the following values: - CreateAndAttach: Create resource and bind to workspace - Attach: bind resource to workspace. |
group_name
Required
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, see [ListResources].
resources
Required
resources: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ResourcesProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ResourcesProperty]]]
Property resources: Resource List.
workspace_id
Required
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.
is_default
Optional
is_default: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property isDefault: Indicates whether it is the default resource.
Currently, this parameter only supports the input of true and does not support false.
option
Optional
option: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property option: Create behavior that supports the following values: - CreateAndAttach: Create resource and bind to workspace - Attach: bind resource to workspace.