Copies files from a Linux-based ECS instance to an OSS bucket.
Description
Copies files from a Linux-based Elastic Compute Service (ECS) instance to an Object Storage Service (OSS) bucket.
Syntax
Action: ACS::ECS::CopyLinuxInstanceFileToOSS
Properties:
regionId: String
instanceId: String
instanceRole: String
srcUrl: String
destUrl: String
Attributes
|
Attribute |
Description |
Type |
Required |
Default value |
Limit |
|
regionId |
The region ID. |
String |
No |
{{ ACS::RegionId }} |
|
|
instanceId |
The ECS instance ID. |
String |
Yes |
Maximum length: 30 characters Minimum length: 1 character |
|
|
instanceRole |
The Resource Access Management (RAM) role that is attached to the ECS instance. |
String |
Yes |
||
|
srcUrl |
The directory in which the files to be copied are stored on the ECS instance. |
String |
Yes |
||
|
destUrl |
The directory in the OSS bucket in which the copied files are stored. |
String |
Yes |
Output
|
Output item |
Description |
Type |
|
result |
String |
References
For more information, see ACS::ECS::CopyLinuxInstanceFileToOSS.yml at GitHub.