Append data to an S3 object

前端 未结 6 1026
长情又很酷
长情又很酷 2020-12-05 01:34

Let\'s say that I have a machine that I want to be able to write to a certain log file stored on an S3 bucket.

So, the machine needs to have writing abilities to tha

6条回答
  •  猫巷女王i
    2020-12-05 02:12

    Unfortunately, you can't.

    S3 doesn't have an "append" operation.* Once an object has been uploaded, there is no way to modify it in place; your only option is to upload a new object to replace it, which doesn't meet your requirements.

    *: Yes, I know this post is a couple of years old. It's still accurate, though.

提交回复
热议问题