@konker.dev/serverless-plugin-api-gateway-timeout
v0.0.4
Published
A serverless v1.0 framework plugin to set API Gateway timeouts.
Readme
serverless-plugin-api-gateway-timeout
Intro
A serverless framework plugin to set API Gateway timeouts, which allows for greater than 29 second endpoint invocations.
NOTE: This plugin is only designed for version ~1.0 of the serverless framework.
NOTE: This plugin is only expected to work for MeetingPackage specific internal configurations.
NOTE: This plugin will only work with REST API (http v1) events.
plugins:
- serverless-plugin-api-gateway-timeout
provider:
# Global API Gateway timeout
apiGateway:
timeoutInMillis: 29000
functions:
fooFunction:
events:
- http:
method: get
path: v1/foo
timeoutInMillis: 60000 # override global API Gateway timeout