sparse-intern-71089
06/26/2022, 11:00 AMbitter-france-47214
07/26/2022, 9:59 PMbitter-france-47214
07/29/2022, 6:04 AMlittle-cartoon-10569
07/29/2022, 7:07 AMbitter-france-47214
07/29/2022, 7:20 AMhelloHandler
as a const
(no ARN / URI)
{
path: "/",
method: "GET",
eventHandler: helloHandler,
},
That of course do not work when I am defining my api in JSON with OpenAPI.
So to connect my endpoints with a lambda, it is suggested to use x-amazon-apigateway-integration
.
But when I use that, and correct me if I am wrong, I need to connect endpoint and a specific lambda via the arn/uri (not sure which, still a beginner) that I have to look after creating my helloHandler
lambda using pulumi.
For me, it would be more efficient if I could connect them directly using helloHandler
as a reference to my lambda.
Thus, my question is, if there is a way to connect my endpoint defined in my OpenAPI Json with my helloHandler
lambda without manually copy/pasting the arn/uri of that lambda into the json using x-amazon-apigateway-integration
?
Thanks a lot in advance!
Thuslittle-cartoon-10569
07/29/2022, 7:57 AMNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by