I would like to write a lambda function in java so that whenever a particular folder on an EC2 instance is updated with a new file, I need to get that file and upload it to an S3 bucket. Can I do that? What is the appropriate event to handle in the lambda function ? Any example ? Thanks in advance. - Ramesh.