Append data to an S3 object

前端 未结 6 1025
长情又很酷
长情又很酷 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条回答
  •  无人及你
    2020-12-05 02:10

    As others have stated previously, S3 objects are not append-able.
    However, another solution would be to write out to CloudWatch logs and then export the logs you want to S3. This would also prevent any attackers who access your server from deleting from your S3 bucket, since Lambda wouldn't require any S3 permissions.

提交回复
热议问题