Open away168 opened 3 years ago
My initial opinion on this is that it should be a feature of a (yet non-existent) API gateway plugin to lambda, rather than a feature of the lambda plugin. The configuration on SQS, SNS are straight-forward enough (just fill up an ARN) to leave it as part of lambda, but for API gateway, there seems to be too many configuration to have this as part of lambda. Another alternative is, perhaps we need a new stage in this plugin that exclusively manages all event triggers including SQS, SNS, API Gateway etc.
Currently, as of version 1.0.1 in the deploy stage or route stage, only a few event triggers (like SQS) are allowed.
This is a request to support API Gateway as an event trigger
this has been requested by various companies we've demo'd the functionality to