-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invoking other Lambda functions #46
Comments
IMHO if you want invoke a lambda from a Web app, or mobile app the best way
would be to use the amazon gateway to build a pseudo Rest API.
In this manner, you have less coupling between your client app and the
back-end. BTW in Jaws you will have a swagger json descriptor to aws
gateway generator soon. (cf. #41)
|
Sorry, I meant invoking a lambda from inside another lambda. |
Ok, In this case use the API SDK directly seems a better idea to avoid the
HTTP overload.
|
@jwulf Use the AWS SDK to invoke a lambda function from within another lambda function for best performance. |
Just in case somebody wants some response from AWS directly - invoking one lambda from another lambda via the AWS SDK is also mentioned by AWS in this blog post: https://aws.amazon.com/blogs/developer/invoking-aws-lambda-functions-from-java/ |
What's the best way to invoke Lambda functions from JAWS? Should I write something to invoke it via REST, or can I use Lambda.invoke?
The text was updated successfully, but these errors were encountered: