AWS CLI Tips for Working with Lambda
Sometimes you need to confirm that a Lambda function was updated after your CI/CD pipeline ran, or simply verify that the function exists with the correct name and configuration.
Logging into the AWS Management Console, completing two-factor authentication, and scrolling through a long list of functions can be slow and tedious. Instead, use the AWS CLI to pull the same information straight from your terminal.
1. Choose exactly which fields to display
The option lets you select and format the data you care about. Separate multiple fields with a comma inside square brackets:
2. Handle large fleets with pagination
If your account hosts many Lambdas, add --max-items to control page size and let the CLI fetch results in manageable chunks:
3. Filter by part of the function name
You can also use a JMESPath filter inside to find functions whose names contain a specific substring:
This returns only the Lambdas whose names include pricing, along with their last-modified timestamps—a quick way to verify that the correct deployments have reached production.
Senior Software Engineer | Java | Spring Boot | AWS | React | Angular | LLM | GenAI | CI/CD | MySQL | MongoDB | JUnit | Mockito | APIs
2moThanks for sharing, Renan
Back-End Developer | Java | Spring Boot | MySQL | NodeJs | RESTful APIs
2mopor onde você recomenda começar? algum serviço ou recurso que considera essencial no início?
Software Engineer backend focused | C# | .Net Core | Azure | Angular
2moVery helpful
Software Engineer | C# | .Net | Backend | Azure | Devops
2moDefinitely worth reading
Data Scientist | Machine Learning | Python | MLOps | Geophysics
2moSuper useful tips, Renan! The query and JMESPath filtering are game-changers for keeping Lambda workflows clean and verifiable straight from the terminal. No more console hunting, just fast, scriptable insights!