I have a REST API with API gateway and Lambda API gateway . I did not create an endpoint for uploading the profile image, which transfers the file to the Lambda function where it was changed, registers it in the database and returns the URL of the new image.
Is there any way to do this with these services? Could not find anything on the network (the only thing I found was downloading directly to S3, which requires IAM permissions, as well as an event that triggers the Lambda function, which changes the image size).
thanks
UPDATE
AWS updated APIGATEWAY and knows that you can send binaries through the endpoint
Thanks to @blue and @Manzo for commenting on it
amazon-s3 file-upload aws-lambda aws-api-gateway
Jo Jo B.
source share