I have written a AWS Lambda Function, Its objective is that on invocation - it read the contents of a file say x.db, get a specific value out of it and return to the caller.But this x.db file changes time to time. So I would like to upload this x.db file to S3 and read it from AWS Lambda function as like reading a file.
File xFile = new File("S3 file in x.db");
How to read such x.db S3 file from AWS Lambda Function written in Java ?