aws-lambda: add page (#4774)

beep
honarmand-io 2020-10-28 12:12:01 -06:00 committed by GitHub
parent c96586e605
commit 4e011efcbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# aws lambda
> CLI for AWS lambda.
> More information: <https://docs.aws.amazon.com/cli/latest/reference/lambda/index.html>.
- Run a function:
`aws lambda invoke --function-name {{name}} {{path/to/response}}.json`
- Run a function with an input payload in JSON format:
`aws lambda invoke --function-name {{name}} --payload {{json}} {{path/to/response}}.json`
- List functions:
`aws lambda list-functions`
- Display the configuration of a function:
`aws lambda get-function-configuration --function-name {{name}}`
- List function aliases:
`aws lambda list-aliases --function-name {{name}}`
- Display the reserved concurrency configuration for a function:
`aws lambda get-function-concurrency --function-name {{name}}`
- List which AWS services can invoke the function:
`aws lambda get-policy --function-name {{name}}`