All Products
Search
Document Center

CloudOps Orchestration Service:ACS::ECS::DownloadOssFile

Last Updated:Jun 04, 2026

Downloads a file from an OSS bucket to an ECS instance.

Action

ACS::ECS::DownloadOssFile

Description

Downloads a file from an OSS bucket to an ECS instance.

Syntax

Action: ACS::ECS::DownloadOssFile
Properties:
  regionId: String
  ossRegion: String
  bucketName: String
  objectName: String
  validTime: Number
  instanceId: String
  destinationDir: String

Attributes

Attribute

Description

Type

Required

Default value

Limit

regionId

The region ID.

String

No

{{ ACS::RegionId }}

ossRegion

Region where OSS is activated.

String

No

{{ ACS::RegionId }}

bucketName

OSS bucket name.

String

Yes

objectName

OSS object name.

String

Yes

validTime

Validity period of the OSS object, in seconds.

Number

No

6000

instanceId

ECS instance ID.

String

Yes

destinationDir

Destination path for the downloaded file.

String

Yes

Output

None

References

ACS::ECS::DownloadOssFile.yml on GitHub.