I have lambda functions that run off of s3 events. I'm using aws-cli to move items into s3. I'm not sure what triggers when you perform a 'sync' and a file is actually added by the sync.
I think that s3 cp triggers a "put" event (ObjectCreatedByPut), and if the file is large enough it triggers a "multipart upload" event (ObjectCreatedByCompleteMultipartUpload). I don't believe it triggers a "copy" event, even though cp is in the command.
I don't think s3 sync triggers either of these. But I'm not 100% sure. I've tried reading through their docs but I'm not finding specific answers. I'm trying to pick up each event by a specific lambda function, so I'm just having trouble with what the sync triggers, if it triggers anything at all.
Thanks!