I need to implemnt a AWS backend API that allows the users of my mobile app to upload a file (image) in Amazon S3. Creating an API directly interfaced with the Amazon S3 is not an option because i will not be able to correlate the uploaded file to the record of the user on DynamoDB. I've thought to create a Lambda function (Java) triggered by an API that performs the following steps: 1) calls the Amazon S3 functionality to upload the file 2) write the record into my Dynamo DB with the reference of the file Is there a way to provide a binary file in input to my Lambda function exposed as API?
please let me know. thank you!
davide