User Tools

Site Tools


aws:query-with-jq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
aws:query-with-jq [18/12/2025 12:27] andrewaws:query-with-jq [17/04/2026 13:38] (current) andrew
Line 10: Line 10:
  
 Sadly, or more likely serves you right, jq is a linux and not windows command. Just one more reason to dump windows. [[crashed-windows:start|Crashed Windows pictures]] Sadly, or more likely serves you right, jq is a linux and not windows command. Just one more reason to dump windows. [[crashed-windows:start|Crashed Windows pictures]]
 +
 +
 +===== Parse AWS cli output =====
 +
 +
 +<code>
 +aws lambda list-functions | jq '[.Functions[] | {FunctionName, Description,  Runtime}]'
 +
 +
 +[
 +  {
 +    "FunctionName": "UpdateStackFunction",
 +    "Runtime": "python3.8"
 +  },
 +  {
 +    "FunctionName": "ExtractDict",
 +    "Runtime": "python3.9"
 +  }
 +
 +.....
 +]
 +</code>
 +
aws/query-with-jq.txt · Last modified: by andrew

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki