To run Lambda code locally from Cloud9

Asked 2 years ago, Updated 2 years ago, 110 views

I tried to run the Lambda function implemented in Node.js locally from Cloud9, but it didn't work.
Specifically, I expected Lambda execution screen ("Test Payload" and "Execution Result") to appear when I press "Run" from the top menu of the screen, but
In fact, the normal execution screen appears as shown in the capture below, and Runner runs in Node.js.
How do I run it as Lambda?

Enter a description of the image here

aws aws-lambda

2022-09-29 21:25

1 Answers

After importing the Lambda function into Cloud9, right-click the function and run it in Run Local.
There is a screen capture in Call Lambda Functions in the document below.


2022-09-29 21:25

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.