すべてのプロダクト
Search
ドキュメントセンター

CloudOps Orchestration Service:ACS::ESS::DownloadFileAndRunCommand

最終更新日:Jan 17, 2025

説明

ファイルを Elastic Compute Service (ECS) インスタンスにダウンロードし、コマンドを実行します。

構文

Action: ACS::ESS::DownloadFileAndRunCommand
Properties:
 regionId: String
 instanceId: String
 sourceType: String
 sourcePath: String
 tokenInfo: String
 destinationDir: String
 whetherSaveToFile: Boolean
 commandContent: String
 workingDir: String
 timeout: Number

属性

属性

説明

タイプ

必須

デフォルト値

制限

regionId

リージョン ID。

String

いいえ

{{ ACS::RegionId }}

instanceId

ECS インスタンスの ID。

String

はい

sourceType

ファイルのタイプ。

String

はい

sourcePath

ファイルのソースパス。

String

はい

tokenInfo

GitHub トークン

String

いいえ

destinationDir

ファイルを保存するディレクトリ。

String

はい

whetherSaveToFile

ファイルの内容を特定のファイルに保存するかどうかを指定します。

Boolean

いいえ

True

commandContent

コマンドの内容。

String

はい

コマンドの長さは最大 16,384 バイトです。

workingDir

コマンドを実行するディレクトリ。

String

いいえ

timeout

タイムアウト期間。

Number

いいえ

600

出力

出力項目

説明

タイプ

downloadFileCommandOutput

String

runCommandOutput

String

参照

詳細については、GitHub の ACS::ESS::DownloadFileAndRunCommand.yml をご参照ください。