Description
Downloads multiple files to multiple Elastic Compute Service (ECS) instances at a time and runs a Cloud Assistant command.
Syntax
Action: ACS::CN::UpgradeServiceInstanceStep
Properties:
regionId: String
instanceId: String
artifactsUrl: String
artifactsDownloadDirectory: String
commandType: String
commandContent: String
workingDir: String
timeout: Number
enableParameter: Boolean
parameters: JsonAttributes
Attribute | Description | Type | Required | Default value | Limit |
regionId | The region ID. | String | No | {{ ACS::RegionId }} | |
instanceId | The ID of the Elastic Compute Service (ECS) instance. | String | Yes | The instance ID must be 1 to 30 bytes in length. The minimum length is 1 character | |
artifactsUrl | String | No | |||
artifactsDownloadDirectory | String | No | |||
commandType | The type of the Cloud Assistant command. | String | Yes | ||
commandContent | The content of the Cloud Assistant command. | String | Yes | ||
workingDir | The directory in which the command is run on the ECS instance. | String | No | ||
timeout | The timeout period for running the command. | Number | No | 3600 | |
enableParameter | Specifies whether the command contains encryption parameters or custom parameters. | Boolean | No | False | |
parameters | The command parameters. | Json | No | {} |
Output
Output item | Description | Type |
commandOutput | String |
References
For more information, see ACS::CN::UpgradeServiceInstanceStep at GitHub.