Skip to content

ICommand

  • Extends: ros_cdk_core.IResource

  • Implemented By: ros_cdk_ecs.datasource.Command, ros_cdk_ecs.datasource.ICommand

Represents a Command.

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node for this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
stack ros_cdk_core.Stack The stack in which this resource is defined.
attr_command_content typing.Union[str, ros_cdk_core.IResolvable] Attribute CommandContent: Command content, encoded in Base64 and transmitted.
attr_command_id typing.Union[str, ros_cdk_core.IResolvable] Attribute CommandId: Command ID.
attr_command_name typing.Union[str, ros_cdk_core.IResolvable] Attribute CommandName: Command name.
attr_create_time typing.Union[str, ros_cdk_core.IResolvable] Attribute CreateTime: Command creation time.
attr_description typing.Union[str, ros_cdk_core.IResolvable] Attribute Description: Command description.
attr_enable_parameter typing.Union[str, ros_cdk_core.IResolvable] Attribute EnableParameter: Whether to use parameters.
attr_parameter_names typing.Union[str, ros_cdk_core.IResolvable] Attribute ParameterNames: Parameter name.
attr_tags typing.Union[str, ros_cdk_core.IResolvable] Attribute Tags: The label information of the command.
attr_timeout typing.Union[str, ros_cdk_core.IResolvable] Attribute Timeout: Timeout.
attr_type typing.Union[str, ros_cdk_core.IResolvable] Attribute Type: Command type.
attr_working_dir typing.Union[str, ros_cdk_core.IResolvable] Attribute WorkingDir: Execution path.
props CommandProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node for this construct.


envRequired

env: IResourceEnvironment
  • Type: ros_cdk_core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


attr_command_contentRequired

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

Attribute CommandContent: Command content, encoded in Base64 and transmitted.


attr_command_idRequired

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

Attribute CommandId: Command ID.


attr_command_nameRequired

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

Attribute CommandName: Command name.


attr_create_timeRequired

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

Attribute CreateTime: Command creation time.


attr_descriptionRequired

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

Attribute Description: Command description.


attr_enable_parameterRequired

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

Attribute EnableParameter: Whether to use parameters.


attr_parameter_namesRequired

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

Attribute ParameterNames: Parameter name.


attr_tagsRequired

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

Attribute Tags: The label information of the command.


attr_timeoutRequired

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

Attribute Timeout: Timeout.


attr_typeRequired

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

Attribute Type: Command type.


attr_working_dirRequired

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

Attribute WorkingDir: Execution path.


propsRequired

props: CommandProps