Action
ACS::ECS::UploadOssFile
Description
Uploads a file from an Elastic Compute Service (ECS) instance to an Object Storage Service (OSS) bucket.
Syntax
Action: ACS::ECS::UploadOssFile
Properties:
regionId: String
ossRegion: String
bucketName: String
objectName: String
validTime: Number
instanceId: String
fileToUpload: 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 | ||
fileToUpload | The file to be uploaded. | String | Yes |
Output
None
References
For more information, see ACS::ECS::UploadOssFile.yml at GitHub.