Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses and challenges
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Calculator

0

83
Views
Can AWS lambda listen to S3 createobject events when files are dropped manually

I have and s3 bucket and lambda function, this function has trigger which listens to s3 createobject events. somehow some are missed in s3, i am planning to drop them manually. Can my lambda function will get the events like before?

Also i will put files in different folders based on date. will i get different events on each file drop?

8 months ago · Santiago Trujillo
2 answers
Answer question

0

To answer the second question: Yes, every time a file is added to your bucket (assuming that the Lambda function is listening for changes on in all folders and not just a prefix), your lambda function will receive an event object that will contain information about that file.

8 months ago · Santiago Trujillo Report

0

The objectCreate:* events fire whenever a file is updated in any way (except deletion) so yes, if you manually upload files to the bucket the event will fire IFF that file meets the prefix & suffix requirements. The event payload data on a manually uploaded file doesn't appear to be different from one created via another process.

8 months ago · Santiago Trujillo Report
Answer question
Find remote jobs