説明
Elastic Compute Service (ECS) インスタンスでクラウドアシスタントコマンドを実行します。
構文
Action: ACS::ECS::InvokeCommand
Properties:
regionId: String
commandId: String
instanceId: String
username: String
parameters: Json属性
属性 | 説明 | タイプ | 必須 | デフォルト値 | 制限 |
regionId | リージョン ID。 | String | いいえ | {{ ACS::RegionId }} | |
commandId | クラウドアシスタントコマンドの ID。 | String | はい | ||
instanceId | クラウドアシスタントコマンドを実行する ECS インスタンスの ID。 | String | はい | ID は 1 ~ 30 文字の長さでなければなりません。 | |
username | ECS インスタンスでコマンドを実行するために使用するアカウントのユーザー名。 | String | いいえ | "" | |
parameters | カスタムパラメーター機能が有効になっている場合に、コマンドに渡すカスタムパラメーターのキーと値のペア。 | Json | いいえ | {'': ''} |
出力
出力項目 | 説明 | タイプ |
invocationOutput | String |
参照
詳細については、GitHub の ACS::ECS::InvokeCommand をご参照ください。