Skip to content

IWaitConditionHandle

Represents a WaitConditionHandle.

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.
attrCurlCli string | @alicloud/ros-cdk-core.IResolvable Attribute CurlCli: Convenience attribute, provides curl CLI command prefix, which can be used for signalling handle completion or failure.
attrHeaders string | @alicloud/ros-cdk-core.IResolvable Attribute Headers: HTTP POST Headers used for signalling handle completion or failure.
attrPowerShellCurlCli string | @alicloud/ros-cdk-core.IResolvable Attribute PowerShellCurlCli: Convenience attribute, provides curl CLI command prefix for PowerShell, which can be used for signalling handle completion or failure.
attrUrl string | @alicloud/ros-cdk-core.IResolvable Attribute URL: HTTP POST URL used for signalling handle completion or failure.
attrWindowsCurlCli string | @alicloud/ros-cdk-core.IResolvable Attribute WindowsCurlCli: Convenience attribute, provides curl CLI command prefix for Windows, which can be used for signalling handle completion or failure.
props WaitConditionHandleProps 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.


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 for signalling handle completion or failure.

You can signal success by adding --data-binary '{"status": "SUCCESS"}' , or signal failure by adding --data-binary '{"status": "FAILURE"}'


attrHeadersRequired

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

Attribute Headers: HTTP POST Headers used for signalling handle completion or failure.


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 for signalling handle completion or failure.

As this cmdlet was introduced in PowerShell 3.0, ensure the version of PowerShell satisfies the constraint. (Show the version via $PSVersionTable.PSVersion.) You can signal success by adding -Body '{"status": "SUCCESS"}' , or signal failure by adding -Body '{"status": "FAILURE"}'


attrUrlRequired

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

Attribute URL: HTTP POST URL used for signalling handle completion or failure.


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 for signalling handle completion or failure.

As Windows does not support curl command, you need to install curl.exe and add it to PATH first. You can signal success by adding --data-binary "{\"status\": \"SUCCESS\"}" , or signal failure by adding --data-binary "{\"status\": \"FAILURE\"}"


propsRequired

public readonly props: WaitConditionHandleProps;