🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

serverless-scalex

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-scalex

Serverless SCALEX plugin for independent and flexible lambda scaling via HTTP_PROXY

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
1
Created
Source

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

Keywords

serverless

FAQs

Package last updated on 21 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts