I\'m coming from a java background so a bit of a newbie on Javascript conventions needed for Lambda.
I\'ve got a lambda function which is meant to do several AWS tasks i
A very specific solution that comes to mind is cascading Lambda calls. For example, you could write:
All of those functions take the output from the previous function as input. This is of course very fine-grained, and you might decide to group certain calls. Doing it this way avoids callback hell in your JS code at least.
(As a side note, I'm not sure how well DynamoDB integrates with Lambda. AWS might emit change events for records that can then be processed through Lambda.)