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

Find function runtimes #129

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

Search a single region

Snippet

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

Name

David Boyne

Bio (optional)

David Boyne Hero

LinkedIn

No response

Twitter

@boyney123