IWaitConditionHandle
-
Extends: com.aliyun.ros.cdk.core.IResource
-
Implemented By: WaitConditionHandle, IWaitConditionHandle
Represents a WaitConditionHandle.
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. |
attrCurlCli | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CurlCli: Convenience attribute, provides curl CLI command prefix, which can be used for signalling handle completion or failure. |
attrHeaders | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Headers: HTTP POST Headers used for signalling handle completion or failure. |
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 for signalling handle completion or failure. |
attrUrl | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute URL: HTTP POST URL used for signalling handle completion or failure. |
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 for signalling handle completion or failure. |
props | WaitConditionHandleProps | 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.
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 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 java.lang.Object getAttrHeaders();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Headers: HTTP POST Headers used for signalling handle completion or failure.
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 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 java.lang.Object getAttrUrl();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute URL: HTTP POST URL used for signalling handle completion or failure.
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 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 WaitConditionHandleProps getProps();
- Type: WaitConditionHandleProps