functionless
functionless copied to clipboard
Lambda: Invoke Async API
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
InvocationTypeparameter
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-Typeheader with a static value of 'Event'.