title: Retrieve only one parameter value from aws ssm get-parameter command?
body: <p>How can I print only the value of Value attribute from the below output of the following command</p>
  <pre><code>aws ssm get-parameter --name &quot;/test/ip/cidr&quot; --profile test
  {
      &quot;Parameter&quot;: {
          &quot;Name&quot;: &quot;/test/ip/cidr&quot;,
          &quot;Type&quot;: &quot;String&quot;,
          &quot;Value&quot;: &quot;172.18.0.0/20&quot;,
          &quot;Version&quot;: 1,
          &quot;LastModifiedDate&quot;: 1585251360.78,
          &quot;ARN&quot;: &quot;arn:aws:ssm:us-east-1:123233:parameter/test/ip/cidr&quot;,
          &quot;DataType&quot;: &quot;text&quot;
      }
  }
  </code></pre>
  <p>Tried running the below command but prints  like [{&quot;Value&quot;: &quot;172.18.0.0/20&quot;}] but just want to see only 172.18.0.0/20</p>
  <pre><code>aws ssm get-parameters --names &quot;/test/ip/cidr&quot; --query &quot;Parameters[*].{Value:Value}&quot; --profile test
  [
      {
          &quot;Value&quot;: &quot;172.18.0.0/20&quot;
      }
  ]
  </code></pre>