AWS CLI 2 · EC2, Lambda and logs

Invoke a Lambda function

Call a function and write the response to a file.

aws lambda invoke --function-name my-function out.json

Official AWS CLI 2 documentation

More ec2, lambda and logs commands

All ec2, lambda and logs commands · AWS CLI 2 cheatsheet

Was this page helpful?