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 that you want to run.\ The name can be up to 1024 bytes in length and can contain only letters, digits, underscores (_), periods (.), slashes (\/), colons (:), and hyphens (-). |
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. |
commandRequired
public readonly command: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property command: The command that you want to run.\ The name can be up to 1024 bytes in length and can contain only letters, digits, underscores (_), periods (.), slashes (\/), colons (:), and hyphens (-).
instanceIdsRequired
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
runAgainOnOptional
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.