I use S3 Create events to trigger AWS-Lambdas. If my processing fails I want to do some magic and then trigger the \"event\" again to start my processing ones more. So far the o
I came across a similar situation today where I needed to re-trigger a Lamda function after the file was already in S3. A co-worker of mine came up with the following that worked for us:
Execute something like so:
aws lambda invoke
--function-name
--payload '{
"Records":[{
"s3":{
"bucket":{
"name":""
},
"object":{
"key": ""
}
}
}]
}' outfile