AWS CLI 2 · Output and queries

Filter results with JMESPath

Select only the fields you need.

aws iam list-users --query "Users[].UserName"

Official AWS CLI 2 documentation

More output and queries commands

All output and queries commands · AWS CLI 2 cheatsheet

Was this page helpful?