aws-samples / serverless-snippets

Snippets of code used for Serverless Development. Code examples hosted on serverlessland.com/snippets
https://serverlessland.com/snippets
MIT No Attribution
140 stars 93 forks source link

Test Snippet #126

Closed boyney123 closed 9 months ago

boyney123 commented 9 months ago

Snippet ID

aws-cli-find-function-runtimes2

Title of the Snippet

Find all Lambda functions with a specific runtime

Subtitle

Using AWS CLI to find all instances of a specific runtime

Description

The AWSCLI can find all instances of a specific runtime in a single location or across multiple regions

Type

Integration

Which services are related to this snippet?

What programming languages can be applied to this snippet?

Snippet title

Find all Lambda functions in a single region with a specific runtime

Snippet

aws lambda list-functions --function-version ALL --output text --query "Functions[?Runtime=='python2.7'].FunctionArn"