Reputation: 323
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?
Upvotes: 3
Views: 3683
Reputation: 8716
Object tagging events are now supported:
s3:ObjectTagging:*
s3:ObjectTagging:Put
s3:ObjectTagging:Delete
Upvotes: 3
Reputation: 355
According to AWS documentation there is s3:ObjectTagging:*
event type, which can be used as Lambda trigger.
Upvotes: 0
Reputation: 4491
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
Upvotes: 3
Reputation: 2943
No. There are no events generated when a tag is added to an object.
Upvotes: 2