title: Run a command for each item in jq array
body: <p>This is how my input file looks like:</p>
  
  <pre><code>[
    {
      "ConfigType": "ABC",
      "Prop1": 3,
      "Prop2": 30
    },
    {
      "ConfigType": "XYZ",
      "Prop3": "Hello",
      "Prop4": "World",
      "Prop5": "Application"
    }
  ]
  </code></pre>
  
  <p>I need to prepare insert statement for each item.</p>
  
  <p>This is how my jq command looks like which gives me each item.</p>
  
  <pre><code>cat app-cnfg.json |  jq -r ".[]"
  </code></pre>
  
  <p>How do I execute <code>aws dynamodb put-item --table-name "xxx" --item &lt;&lt;array's element&gt;&gt;</code>?</p>