Skip to content
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

Lambda: Invoke Async API #460

Open
thantos opened this issue Aug 30, 2022 · 0 comments
Open

Lambda: Invoke Async API #460

thantos opened this issue Aug 30, 2022 · 0 comments
Labels

Comments

@thantos
Copy link
Collaborator

thantos commented Aug 30, 2022

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 thantos added the lambda label Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant