functionless icon indicating copy to clipboard operation
functionless copied to clipboard

Lambda: Invoke Async API

Open thantos opened this issue 3 years ago • 0 comments

const func = new Function(...);

new StepFunction(..., async () => {
   await func.async(...);
})

Lambda

Lambda.InvokeAsync operation.

Step Functions

https://docs.aws.amazon.com/step-functions/latest/dg/connect-lambda.html

It is also possible to call Lambda asynchronously using the InvocationType parameter

App Sync

??

Api Gateway

https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-integration-async.html

In Integration Request, add an X-Amz-Invocation-Type header with a static value of 'Event'.

thantos avatar Aug 30 '22 13:08 thantos