説明
Elastic Compute Service (ECS) インスタンスでコマンドを実行するか、リージョン全体で ECS インスタンスを再起動します。
構文
Action: ACS::ECS::RunImageTemplateCommand
Properties:
regionId: String
instanceId: String
parameters: Json属性
属性 | 説明 | タイプ | 必須 | デフォルト値 | 制限 |
regionId | リージョン ID。 | String | はい | ||
instanceId | ECS インスタンスの ID。 | String | はい | ||
parameters | テンプレートのパラメーター。例: {"type": "RESTART"} または {" commandType": "RunShellScript", "commandContent": "pwd", "workingDir": "/root", "type": "RunCommand", "timeout": 600}。 | Json | はい |
出力
出力項目 | 説明 | タイプ |
commandOutput | String |
参照
詳細については、GitHub の ACS::ECS::RunImageTemplateCommand をご参照ください。