aws-lambda

CLI for AWS lambda.

TLDR

Run a function

$ aws lambda invoke --function-name [name] [path/to/response].json
copy

Run a function with an input payload in JSON format

$ aws lambda invoke --function-name [name] --payload [json] [path/to/response].json
copy

List functions

$ aws lambda list-functions
copy

Display the configuration of a function

$ aws lambda get-function-configuration --function-name [name]
copy

List function aliases

$ aws lambda list-aliases --function-name [name]
copy

Display the reserved concurrency configuration for a function

$ aws lambda get-function-concurrency --function-name [name]
copy

List which AWS services can invoke the function

$ aws lambda get-policy --function-name [name]
copy

Copied to clipboard
free 100$ digital ocean credit