Module get-image/get-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>
get-image handler
This AWS Lambda handler generates an AWS S3 pre-signed download url for the specific image ID
The below image shows the architecture for this solution