How to Return a List of All AWS Lambda Function Names in CLI

0 min read 88 words

If you would like to list all AWS Lambda Function Names in your CLI using the AWS CLI, then you can do this:

Get a List of all Lambda Functions

aws lambda list-functions

However, note that this will return a potentially large JSON payload back to your CLI. So what if you only want a list of the function names themselves?

You can couple the AWS command above, with the jq command as follows:

Get a List of all Lambda Function Names

aws lambda list-functions | jq '.Functions[].FunctionName'
Tags:
Andrew
Andrew

Andrew is a visionary software engineer and DevOps expert with a proven track record of delivering cutting-edge solutions that drive innovation at Ataiva.com. As a leader on numerous high-profile projects, Andrew brings his exceptional technical expertise and collaborative leadership skills to the table, fostering a culture of agility and excellence within the team. With a passion for architecting scalable systems, automating workflows, and empowering teams, Andrew is a sought-after authority in the field of software development and DevOps.

Tags

Recent Posts