0.0.4 • Published 7 months ago

@konker.dev/serverless-plugin-api-gateway-timeout v0.0.4

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
7 months ago

serverless-plugin-api-gateway-timeout

Intro

A serverless framework plugin to set API Gateway timeouts, which allows for greater than 29 second endpoint invocations.

See: https://aws.amazon.com/about-aws/whats-new/2024/06/amazon-api-gateway-integration-timeout-limit-29-seconds/

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
0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago