IExecution
-
Extends: ros_cdk_core.IResource
-
Implemented By: Execution, IExecution
Represents a Execution.
Properties
| Name | Type | Description |
|---|---|---|
node | ros_cdk_core.ConstructNode | The construct tree node for this construct. |
env | ros_cdk_core.IResourceEnvironment | The environment this resource belongs to. |
stack | ros_cdk_core.Stack | The stack in which this resource is defined. |
attr_counters | typing.Union[str, ros_cdk_core.IResolvable] | Attribute Counters: Task statistics: FailedTasks, SuccessTasks, TotalTasks. |
attr_curl_cli | typing.Union[str, ros_cdk_core.IResolvable] | Attribute CurlCli: Convenience attribute, provides curl CLI command prefix, which can be used to notify oos execution instead of OOS API NotifyExecution. |
attr_execution_id | typing.Union[str, ros_cdk_core.IResolvable] | Attribute ExecutionId: Execution ID. |
attr_outputs | typing.Union[str, ros_cdk_core.IResolvable] | Attribute Outputs: Execution output. |
attr_power_shell_curl_cli | typing.Union[str, ros_cdk_core.IResolvable] | Attribute PowerShellCurlCli: Convenience attribute, provides curl CLI command prefix for PowerShell, which can be used to notify oos execution instead of OOS API NotifyExecution. |
attr_status | typing.Union[str, ros_cdk_core.IResolvable] | Attribute Status: Execution status. |
attr_status_message | typing.Union[str, ros_cdk_core.IResolvable] | Attribute StatusMessage: Execution status information. |
attr_windows_curl_cli | typing.Union[str, ros_cdk_core.IResolvable] | Attribute WindowsCurlCli: Convenience attribute, provides curl CLI command prefix for Windows, which can be used to notify oos execution instead of OOS API NotifyExecution. |
props | ExecutionProps | No description. |
nodeRequired
node: ConstructNode
- Type: ros_cdk_core.ConstructNode
The construct tree node for this construct.
envRequired
env: IResourceEnvironment
- Type: ros_cdk_core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
stackRequired
stack: Stack
- Type: ros_cdk_core.Stack
The stack in which this resource is defined.
attr_countersRequired
attr_counters: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute Counters: Task statistics: FailedTasks, SuccessTasks, TotalTasks.
attr_curl_cliRequired
attr_curl_cli: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute CurlCli: Convenience attribute, provides curl CLI command prefix, which can be used to notify oos execution instead of OOS API NotifyExecution.
You can notify approve to oos execution by adding --data-binary '{"data": {"NotifyType": "Approve"}}' For more parameters in data, refer to https://help.aliyun.com/document_detail/120777.html. You can also notify execution via ROS API SignalResource. API parameters Status and UniqueId are ignored. Use API parameter Data to pass data.
attr_execution_idRequired
attr_execution_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute ExecutionId: Execution ID.
attr_outputsRequired
attr_outputs: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute Outputs: Execution output.
attr_power_shell_curl_cliRequired
attr_power_shell_curl_cli: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute PowerShellCurlCli: Convenience attribute, provides curl CLI command prefix for PowerShell, which can be used to notify oos execution instead of OOS API NotifyExecution.
You can notify approve to oos execution by adding -Body '{"data": {"NotifyType": "Approve"}}' For more parameters in data, refer to https://help.aliyun.com/document_detail/120777.html.You can also notify execution via ROS API SignalResource. API parameters Status and UniqueId are ignored. Use API parameter Data to pass data.
attr_statusRequired
attr_status: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute Status: Execution status.
attr_status_messageRequired
attr_status_message: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute StatusMessage: Execution status information.
attr_windows_curl_cliRequired
attr_windows_curl_cli: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute WindowsCurlCli: Convenience attribute, provides curl CLI command prefix for Windows, which can be used to notify oos execution instead of OOS API NotifyExecution.
You can notify approve to oos execution by adding --data-binary "{"data": {"NotifyType": "Approve"}}" For more parameters in data, refer to https://help.aliyun.com/document_detail/120777.html.You can also notify execution via ROS API SignalResource. API parameters Status and UniqueId are ignored. Use API parameter Data to pass data.
propsRequired
props: ExecutionProps
- Type: ExecutionProps