将标签添加到现有S3对象时,会生成任何事件吗? [英] Is there any event generated when tag is added to an existing S3 object?

查看:54
本文介绍了将标签添加到现有S3对象时,会生成任何事件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在将标签添加到S3存储桶中的现有对象时触发一个AWS Lambda(以与创建和删除对象相同的方式).有什么办法吗?

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?

推荐答案

如果设置Cloudtail,则可以让Lambda函数监视日志并在标记事件PutBucketTagging中通知您

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

Lambda函数示例 https://github.com/retailnext/aws-lambda-cloudtrail-alert

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

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

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

这篇关于将标签添加到现有S3对象时,会生成任何事件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆