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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store