serverless-scalex
v2.0.1
Published
Serverless SCALEX plugin for independent and flexible lambda scaling via HTTP_PROXY
Downloads
79
Maintainers
Readme
Serverless SCALEX
Serverless Framework plugin to support the request at scale via HTTP_PROXY integration.
The plugin allows you to switch apigatewayv2 routing integration from AWS_PROXY to HTTP_PROXY and vice versa. This allows for the request to be scaled to HTTP endpoint such as app runner.
Installing the Plugin
npm install --save-dev serverless-scalex
npm uninstall serverless-scalex
Serverless Configuration
events:
- httpApi:
scale: true
path: /api/v1/ping
method: get
scale: # can be omitted for a false
# region: [ap-southeast-1, ap-south-1] # deployment regions if `sls deploy` in ap-southeast-1 & ap-south-1
httpUrl: HTTP_ENDPOINT/api/v1/something
2024 Randy Hermawan