ACS::ECS::UploadOssFile

更新时间:
复制 MD 格式

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

Action

ACS::ECS::UploadOssFile

Description

Uploads a file from an ECS instance to an 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

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

fileToUpload

File to upload.

String

Yes

Output

None

References

View the source template: ACS::ECS::UploadOssFile.yml.