Runs commands on an ECS instance in the default server group of an SLB instance.
Description
Runs commands on an Elastic Compute Service (ECS) instance in the default server group of a Server Load Balancer (SLB) instance.
Syntax
Action: ACS::ECS::ElegantRunCommandInSLBDefaultServerGroup
Properties:
regionId: String
loadBalancerId: String
serverId: String
weight: Number
type: String
port: Number
commandType: String
commandContent: String
Attributes
|
Attribute |
Description |
Type |
Required |
Default value |
Limit |
|
regionId |
The region ID. |
String |
No |
{{ ACS::RegionId }} |
|
|
loadBalancerId |
The ID of the SLB instance. |
String |
Yes |
||
|
serverId |
The ID of the backend server. |
String |
Yes |
||
|
weight |
The weight of the backend server. |
Number |
Yes |
||
|
type |
The type of the backend server. |
String |
Yes |
||
|
port |
The port of the backend server. |
Number |
Yes |
||
|
commandType |
The type of the Cloud Assistant command. |
String |
No |
RunShellScript |
|
|
commandContent |
The commands to run on the backend server. |
String |
Yes |
Output
|
Output item |
Description |
Type |
|
commandOutput |
String |
References
For more information, see ACS::ECS::ElegantRunCommandInSLBDefaultServerGroup.yml on GitHub.