All Products
Search
Document Center

CloudOps Orchestration Service:ACS::ECS::InvokeCommand

Last Updated:Jun 08, 2026

Runs a Cloud Assistant command on an ECS instance.

Description

Runs a Cloud Assistant command on an Elastic Compute Service (ECS) instance.

Syntax

Action: ACS::ECS::InvokeCommand
Properties:
 regionId: String
 commandId: String
 instanceId: String
 username: String
 parameters: Json

Attributes

Attribute

Description

Type

Required

Default value

Limit

regionId

Region ID.

String

No

{{ ACS::RegionId }}

commandId

Cloud Assistant command ID.

String

Yes

instanceId

ECS instance ID on which to run the command.

String

Yes

1 to 30 characters.

username

Account username for running the command on the ECS instance.

String

No

""

parameters

Custom parameter key-value pairs to pass to the command. Requires the custom parameter feature.

Json

No

{'': ''}

Output

Output item

Description

Type

invocationOutput

String

References

View the action template source on GitHub: ACS::ECS::InvokeCommand.