A minimal template for a serverless
AWS Lambda deployment with layers and function URLs that can be invoked locally.
- The layer holds a module that exports a large JSON file with random test data
- When invoked locally, the layer's
data-layer
module is resolved via a symlink tolayer/nodejs/node_modules/data-layer
- Request and response format according to
APIGatewayProxyEventV2
/APIGatewayProxyResultV2
: https://docs.aws.amazon.com/lambda/latest/dg/urls-invocation.html pathParameters
andstageVariables
are not supported by function URLs