Action
ACS::ECS::DownloadOssFile
Description
Downloads a file from an Object Storage Service (OSS) bucket to an Elastic Compute Service (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 | The region in which OSS is activated. | String | No | {{ ACS::RegionId }} | |
bucketName | The name of the OSS bucket. | String | Yes | ||
objectName | The name of the OSS object. | String | Yes | ||
validTime | The validity period of the OSS object. Unit: seconds. | Number | No | 6000 | |
instanceId | The ID of the ECS instance. | String | Yes | ||
destinationDir | The path to which the file is downloaded. | String | Yes |
Output
None
References
For more information, see ACS::ECS::DownloadOssFile.yml at GitHub.