10/24/2022, 1:46 PM
Hi, I want to use OpenAPI specs to define the routes and integrations in a Rest API. I have multiple Lambda endpoints that get invoked from a single API Gateway. Each resource path is Lambda proxy path of the form "/a/b/c_1/{proxy+}" , "/a/b/c_2/{proxy+}", and so on, and I want to attach ANY methods and the respective Lambda integration to each of these paths. I couldn't find any such example on the Pulumi docs or in AWS. Could anyone help me point to such an example or provide some guidance on how to write the swagger JSON? Thanks!
I am able to achieve this by defining individual Pulumi resources for API Resource, Method and Integration, but want to use OpenAPI specs json instead