RunCommandProps
Properties for defining a RunCommand
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudphone-runcommand
Initializer
import { RunCommandProps } from '@alicloud/ros-cdk-cloudphone'
const runCommandProps: RunCommandProps = { ... }
Properties
Name | Type | Description |
---|---|---|
command |
string | @alicloud/ros-cdk-core.IResolvable |
Property command: The command to be executed. |
instanceIds |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property instanceIds: ID of the instance executing the command. |
runAgainOn |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property runAgainOn: The stage of executing the command again. |
command
Required
public readonly command: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property command: The command to be executed.
The maximum length of a command is 1024 bytes, and only supports lowercase letters, numbers, downline (_), points (.), Slanting (\/), colon (:), medium line (-).
instanceIds
Required
public readonly instanceIds: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property instanceIds: ID of the instance executing the command.
Range of n: 1 ~ 10
runAgainOn
Optional
public readonly runAgainOn: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property runAgainOn: The stage of executing the command again.