Description
Runs commands on an Elastic Compute Service (ECS) instance in a vServer group of a Server Load Balancer (SLB) instance.
Syntax
Action: ACS::ECS::ElegantRunCommandInSLBVServerGroup
Properties:
regionId: String
VServerGroupId: String
serverId: String
weight: Number
type: String
port: Number
commandType: String
commandContent: StringAttributes
Attribute | Description | Type | Required | Default value | Limit |
regionId | The region ID. | String | No | {{ ACS::RegionId }} | |
VServerGroupId | The ID of the vServer group of the SLB instance. | String | Yes | ||
serverId | The ECS instance ID. | 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 command type. | String | No | RunShellScript | |
commandContent | The commands to be run on the ECS instance. | String | Yes |
Output
Output item | Description | Type |
commandOutput | String |
References
For more information, see ACS::ECS::ElegantRunCommandInSLBVServerGroup.yml at GitHub.