RunCommandProps
Properties for defining a RunCommand
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudphone-runcommand
Initializer
import ros_cdk_cloudphone
ros_cdk_cloudphone.RunCommandProps(
command: typing.Union[str, IResolvable],
instance_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
run_again_on: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None
)
Properties
Name | Type | Description |
---|---|---|
command |
typing.Union[str, ros_cdk_core.IResolvable] |
Property command: The command to be executed. |
instance_ids |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property instanceIds: ID of the instance executing the command. |
run_again_on |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property runAgainOn: The stage of executing the command again. |
command
Required
command: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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 (-).
instance_ids
Required
instance_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property instanceIds: ID of the instance executing the command.
Range of n: 1 ~ 10
run_again_on
Optional
run_again_on: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property runAgainOn: The stage of executing the command again.