JAEN

Cloud

aws lambda invoke

CautionOperate Lambda functions

aws lambda invoke --function-name <fn> out.json

List, invoke and update functions; test with invoke, then read CloudWatch logs for details.

Examples

  • aws lambda invoke --function-name nightly-job --payload '{}' out.jsonInvoke manually

Syntax

aws lambda [invoke|list-functions|update-function-code]

Before you run it

Invoking prod functions does real work.

Related commands

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store