Is there any event generated when tag is added to an existing S3 object?

爱⌒轻易说出口 提交于 2020-01-24 22:08:48

问题


I'd like to have an AWS lambda triggered when a tag is added to an existing object in S3 bucket (in the same way as we can do it for object create and remove). Any way to do that?


回答1:


If you setup Cloudtail you could have a Lambda function monitor the logs and notify you on the tagging event PutBucketTagging

Example Lambda function https://github.com/retailnext/aws-lambda-cloudtrail-alert

Cloudtail Documentation http://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html




回答2:


No. There are no events generated when a tag is added to an object.



来源:https://stackoverflow.com/questions/44034860/is-there-any-event-generated-when-tag-is-added-to-an-existing-s3-object

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!