Skip to content

RosRunCommandProps

Properties for defining a RosRunCommand.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-runcommand

Initializer

import ros_cdk_ecs
ros_cdk_ecs.RosRunCommandProps(
  command_content: typing.Union[str, IResolvable],
  instance_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
  type: typing.Union[str, IResolvable],
  container_id: typing.Union[str, IResolvable] = None,
  container_name: typing.Union[str, IResolvable] = None,
  content_encoding: typing.Union[str, IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  enable_parameter: typing.Union[bool, IResolvable] = None,
  frequency: typing.Union[str, IResolvable] = None,
  keep_command: typing.Union[bool, IResolvable] = None,
  name: typing.Union[str, IResolvable] = None,
  parameters: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
  repeat_mode: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  run_again_on: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  sync: typing.Union[bool, IResolvable] = None,
  tags: typing.List[TagsProperty] = None,
  timeout: typing.Union[typing.Union[int, float], IResolvable] = None,
  username: typing.Union[str, IResolvable] = None,
  windows_password_name: typing.Union[str, IResolvable] = None,
  working_dir: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
command_content typing.Union[str, ros_cdk_core.IResolvable] No description.
instance_ids typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] No description.
type typing.Union[str, ros_cdk_core.IResolvable] No description.
container_id typing.Union[str, ros_cdk_core.IResolvable] No description.
container_name typing.Union[str, ros_cdk_core.IResolvable] No description.
content_encoding typing.Union[str, ros_cdk_core.IResolvable] No description.
description typing.Union[str, ros_cdk_core.IResolvable] No description.
enable_parameter typing.Union[bool, ros_cdk_core.IResolvable] No description.
frequency typing.Union[str, ros_cdk_core.IResolvable] No description.
keep_command typing.Union[bool, ros_cdk_core.IResolvable] No description.
name typing.Union[str, ros_cdk_core.IResolvable] No description.
parameters typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] No description.
repeat_mode typing.Union[str, ros_cdk_core.IResolvable] No description.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] No description.
run_again_on typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] No description.
sync typing.Union[bool, ros_cdk_core.IResolvable] No description.
tags typing.List[TagsProperty] No description.
timeout typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] No description.
username typing.Union[str, ros_cdk_core.IResolvable] No description.
windows_password_name typing.Union[str, ros_cdk_core.IResolvable] No description.
working_dir typing.Union[str, ros_cdk_core.IResolvable] No description.

command_contentRequired

command_content: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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]]]

typeRequired

type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

container_idOptional

container_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

container_nameOptional

container_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

content_encodingOptional

content_encoding: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

enable_parameterOptional

enable_parameter: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

frequencyOptional

frequency: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

keep_commandOptional

keep_command: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

nameOptional

name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

parametersOptional

parameters: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]

repeat_modeOptional

repeat_mode: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

resource_group_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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]]]

syncOptional

sync: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

tagsOptional

tags: typing.List[TagsProperty]

timeoutOptional

timeout: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

usernameOptional

username: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

windows_password_nameOptional

windows_password_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

working_dirOptional

working_dir: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]