Module upload-image/upload-image
Functions
Const handler
- handler(event: APIGatewayProxyEvent, context: Context, callback: Callback<APIGatewayProxyResult>): void | Promise<APIGatewayProxyResult>
-
Parameters
-
event: APIGatewayProxyEvent
-
context: Context
-
callback: Callback<APIGatewayProxyResult>
Returns void | Promise<APIGatewayProxyResult>
upload-image handler
This AWS Lambda handler generates an AWS S3 pre-signed upload url for the specific image ID so we can upload the image
The below image shows the architecture for this solution