IExecution
-
Extends: com.aliyun.ros.cdk.core.IResource
-
Implemented By: Execution, IExecution
Represents a Execution.
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node for this construct. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
stack | com.aliyun.ros.cdk.core.Stack | The stack in which this resource is defined. |
attrCounters | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Counters: Task statistics: FailedTasks, SuccessTasks, TotalTasks. |
attrCurlCli | java.lang.String OR com.aliyun.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. |
attrExecutionId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ExecutionId: Execution ID. |
attrOutputs | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Outputs: Execution output. |
attrPowerShellCurlCli | java.lang.String OR com.aliyun.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. |
attrStatus | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Status: Execution status. |
attrStatusMessage | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute StatusMessage: Execution status information. |
attrWindowsCurlCli | java.lang.String OR com.aliyun.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
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node for this construct.
envRequired
public IResourceEnvironment getEnv();
- Type: com.aliyun.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
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
attrCountersRequired
public java.lang.Object getAttrCounters();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Counters: Task statistics: FailedTasks, SuccessTasks, TotalTasks.
attrCurlCliRequired
public java.lang.Object getAttrCurlCli();
- Type: java.lang.String OR com.aliyun.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.
attrExecutionIdRequired
public java.lang.Object getAttrExecutionId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ExecutionId: Execution ID.
attrOutputsRequired
public java.lang.Object getAttrOutputs();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Outputs: Execution output.
attrPowerShellCurlCliRequired
public java.lang.Object getAttrPowerShellCurlCli();
- Type: java.lang.String OR com.aliyun.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.
attrStatusRequired
public java.lang.Object getAttrStatus();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Status: Execution status.
attrStatusMessageRequired
public java.lang.Object getAttrStatusMessage();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute StatusMessage: Execution status information.
attrWindowsCurlCliRequired
public java.lang.Object getAttrWindowsCurlCli();
- Type: java.lang.String OR com.aliyun.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
public ExecutionProps getProps();
- Type: ExecutionProps