ExecutionProps
Properties for defining a Execution
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-execution
Initializer
import ros_cdk_oos
ros_cdk_oos.ExecutionProps(
description: typing.Union[str, IResolvable] = None,
loop_mode: typing.Union[str, IResolvable] = None,
mode: typing.Union[str, IResolvable] = None,
parameters: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
parent_execution_id: typing.Union[str, IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
resource_options: typing.Union[IResolvable, ResourceOptionsProperty] = None,
safety_check: typing.Union[str, IResolvable] = None,
tags: typing.Mapping[typing.Any] = None,
template_content: typing.Union[str, IResolvable] = None,
template_name: typing.Union[str, IResolvable] = None,
template_url: typing.Union[str, IResolvable] = None,
template_version: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property description: The description of OOS Execution. |
loop_mode |
typing.Union[str, ros_cdk_core.IResolvable] |
Property loopMode: The loop mode of OOS Execution. |
mode |
typing.Union[str, ros_cdk_core.IResolvable] |
Property mode: Execution mode. |
parameters |
typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] |
Property parameters: Parameters for the execution of template. |
parent_execution_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property parentExecutionId: Parent execution ID. |
resource_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceGroupId: Resource group id. |
resource_options |
typing.Union[ros_cdk_core.IResolvable, ResourceOptionsProperty] |
Property resourceOptions: Resource options user by ROS. |
safety_check |
typing.Union[str, ros_cdk_core.IResolvable] |
Property safetyCheck: Security check mode. |
tags |
typing.Mapping[typing.Any] |
Property tags: Tag value and the key mapping, the label of the key number can be up to 20. |
template_content |
typing.Union[str, ros_cdk_core.IResolvable] |
Property templateContent: The content of the template in the JSON or YAML format. |
template_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property templateName: Template name. |
template_url |
typing.Union[str, ros_cdk_core.IResolvable] |
Property templateUrl: The Object Storage Service (OSS) URL of the object that stores the content of the Operation Orchestration Service (OOS) template. |
template_version |
typing.Union[str, ros_cdk_core.IResolvable] |
Property templateVersion: Version number of template. |
description
Optional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: The description of OOS Execution.
loop_mode
Optional
loop_mode: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property loopMode: The loop mode of OOS Execution.
Valid values:
- Automatic(Default): does not pause.
- FirstBatchPause: The first batch of pauses.
- EveryBatchPause: pause each batch.
mode
Optional
mode: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property mode: Execution mode.
parameters
Optional
parameters: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]
Property parameters: Parameters for the execution of template.
parent_execution_id
Optional
parent_execution_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property parentExecutionId: Parent execution ID.
resource_group_id
Optional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: Resource group id.
resource_options
Optional
resource_options: typing.Union[IResolvable, ResourceOptionsProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, ResourceOptionsProperty]
Property resourceOptions: Resource options user by ROS.
safety_check
Optional
safety_check: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property safetyCheck: Security check mode.
Allowed values:
- Skip: This option means that customers understand the risks, you can do anything without confirmation Action, no matter what the level of risk. It takes effect only if Mode is Automatic.
- ConfirmEveryHighRiskAction (default): This option would require customers to confirm each Action a high risk. NotifyExecution by calling customer interface to confirm or cancel.
tags
Optional
tags: typing.Mapping[typing.Any]
- Type: typing.Mapping[typing.Any]
Property tags: Tag value and the key mapping, the label of the key number can be up to 20.
template_content
Optional
template_content: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property templateContent: The content of the template in the JSON or YAML format.
This parameter is the same as the Content parameter that you can specify when you call the CreateTemplate operation. You can use this parameter to specify the tasks that you want to run. This way, you do not need to create a template before you start an execution. If you select an existing template, you do not need to specify this parameter.
template_name
Optional
template_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property templateName: Template name.
Content is limited to letters, numbers, underlined, underline, the length of 200 characters.
template_url
Optional
template_url: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property templateUrl: The Object Storage Service (OSS) URL of the object that stores the content of the Operation Orchestration Service (OOS) template.
The access control list (ACL) of the object must be public-read. You can use this parameter to specify the tasks that you want to run. This way, you do not need to create a template before you start an execution. If you select an existing template, you do not need to specify this parameter.
template_version
Optional
template_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property templateVersion: Version number of template.
Default to the latest version.