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 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 (-). |
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. |
commandRequired
command: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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 (-).
instance_idsRequired
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_onOptional
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.