WorkFlowProps
Properties for defining a WorkFlow.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-schedulerx-workflow
Initializer
import ros_cdk_schedulerx
ros_cdk_schedulerx.WorkFlowProps(
group_id: typing.Union[str, IResolvable],
namespace: typing.Union[str, IResolvable],
time_type: typing.Union[typing.Union[int, float], IResolvable],
workflow_name: typing.Union[str, IResolvable],
description: typing.Union[str, IResolvable] = None,
max_concurrency: typing.Union[typing.Union[int, float], IResolvable] = None,
namespace_source: typing.Union[str, IResolvable] = None,
time_expression: typing.Union[str, IResolvable] = None,
timezone: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
group_id | typing.Union[str, ros_cdk_core.IResolvable] | Property groupId: The application Group ID, which is obtained from the application management page of the console. |
namespace | typing.Union[str, ros_cdk_core.IResolvable] | Property namespace: The namespace ID, which is obtained from the namespace page in the console. |
time_type | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property timeType: Time type. |
workflow_name | typing.Union[str, ros_cdk_core.IResolvable] | Property workflowName: Workflow Name. |
description | typing.Union[str, ros_cdk_core.IResolvable] | Property description: Workflow description. |
max_concurrency | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property maxConcurrency: The maximum number of workflow instances running at the same time. |
namespace_source | typing.Union[str, ros_cdk_core.IResolvable] | Property namespaceSource: Special third parties are required. |
time_expression | typing.Union[str, ros_cdk_core.IResolvable] | Property timeExpression: Time expression, which is set based on the selected time type. |
timezone | typing.Union[str, ros_cdk_core.IResolvable] | Property timezone: Time Zone. |
group_idRequired
group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property groupId: The application Group ID, which is obtained from the application management page of the console.
namespaceRequired
namespace: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property namespace: The namespace ID, which is obtained from the namespace page in the console.
time_typeRequired
time_type: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property timeType: Time type.
Currently, the following time types are supported:
- cron: 1
- api: 100.
workflow_nameRequired
workflow_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property workflowName: Workflow Name.
descriptionOptional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: Workflow description.
max_concurrencyOptional
max_concurrency: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property maxConcurrency: The maximum number of workflow instances running at the same time.
The default value is 1, that is, the last trigger is not completed, and the next trigger will not be performed even when the running time is reached.
namespace_sourceOptional
namespace_source: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property namespaceSource: Special third parties are required.
time_expressionOptional
time_expression: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property timeExpression: Time expression, which is set based on the selected time type.
- cron: Fill in standard cron expressions to support online verification.
- api: No time expression.
timezoneOptional
timezone: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property timezone: Time Zone.