title: parse JSON to jq to get a list from AWS CLI
body: <p>I would like to get a list of task definitions I can create a list from via AWS CLI. Here is a partial list from the command;</p>
  
  <p><code>aws ecs list-task-definitions --region eu-west-1</code></p>
  
  <pre><code>{
      "taskDefinitionArns": [
          "arn:aws:ecs:eu-west-1:543573289192:task-definition/audience-view-dev-api:4", 
          "arn:aws:ecs:eu-west-1:543573289192:task-definition/audience-view-dev-groups:4", 
          "arn:aws:ecs:eu-west-1:543573289192:task-definition/audience-view-dev-groups:5", 
          "arn:aws:ecs:eu-west-1:543573289192:task-definition/audience-view-dev-mock-api:1", 
          "arn:aws:ecs:eu-west-1:543573289192:task-definition/audience-view-dev-mock-responder:1"
      ]
  }
  </code></pre>
  
  <p>From this I would like to only show;</p>
  
  <pre><code>audience-view-dev-api
  audience-view-dev-groups
  audience-view-dev-groups
  audience-view-dev-mock-api
  audience-view-dev-mock-responder
  </code></pre>
  
  <p>I believe if I pipe this to <code>jq</code> then I can get what I'm after? I am trying various combinations of;  <code>aws ecs list-task-definitions --region eu-west-1 | jq -r '.taskDefinitionArns[].&lt;something_here&gt;'</code> to no avail</p>