Reputation: 43
I am new to the AWS Lambda. i have a requirement like upload csv file to S3 through Lambda. this is web based application. from UI User will upload the CSV File and submit. this request should be handled by Lambda function(Python) and upload the csv content to S3 Bucket.
Can anyone help me on this.
Upvotes: 0
Views: 461
Reputation: 14171
If you want to use lambda to upload to S3 you'll need to use API Gateway and map the endpoint to Lambda.
An easier way is to upload directly to S3, bypassing lambda. You should use presigned urls to do the upload.
Upvotes: 1