Skip to content

IExecution

Represents a Execution.

Properties

Name Type Description
node @alicloud/ros-cdk-core.ConstructNode The construct tree node for this construct.
env @alicloud/ros-cdk-core.IResourceEnvironment The environment this resource belongs to.
stack @alicloud/ros-cdk-core.Stack The stack in which this resource is defined.
attrCounters string | @alicloud/ros-cdk-core.IResolvable Attribute Counters: Task statistics: FailedTasks, SuccessTasks, TotalTasks.
attrCurlCli string | @alicloud/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 string | @alicloud/ros-cdk-core.IResolvable Attribute ExecutionId: Execution ID.
attrOutputs string | @alicloud/ros-cdk-core.IResolvable Attribute Outputs: Execution output.
attrPowerShellCurlCli string | @alicloud/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 string | @alicloud/ros-cdk-core.IResolvable Attribute Status: Execution status.
attrStatusMessage string | @alicloud/ros-cdk-core.IResolvable Attribute StatusMessage: Execution status information.
attrWindowsCurlCli string | @alicloud/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 readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node for this construct.


envRequired

public readonly env: IResourceEnvironment;
  • Type: @alicloud/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 readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


attrCountersRequired

public readonly attrCounters: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Counters: Task statistics: FailedTasks, SuccessTasks, TotalTasks.


attrCurlCliRequired

public readonly attrCurlCli: string | IResolvable;
  • Type: string | @alicloud/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 readonly attrExecutionId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ExecutionId: Execution ID.


attrOutputsRequired

public readonly attrOutputs: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Outputs: Execution output.


attrPowerShellCurlCliRequired

public readonly attrPowerShellCurlCli: string | IResolvable;
  • Type: string | @alicloud/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 readonly attrStatus: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Status: Execution status.


attrStatusMessageRequired

public readonly attrStatusMessage: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute StatusMessage: Execution status information.


attrWindowsCurlCliRequired

public readonly attrWindowsCurlCli: string | IResolvable;
  • Type: string | @alicloud/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 readonly props: ExecutionProps;