linux:jq
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:jq [12/02/2025 10:54] – [Parameter Store] andrew | linux:jq [28/05/2025 09:30] (current) – [jq - json parser] andrew | ||
---|---|---|---|
Line 3: | Line 3: | ||
jq tutorial:- [[https:// | jq tutorial:- [[https:// | ||
+ | |||
+ | See also [[bash-json|Embedding a BASH variable in JSON]] | ||
====== AWS Policy - get ARN ====== | ====== AWS Policy - get ARN ====== | ||
Line 64: | Line 66: | ||
Raw outpput for NAT gateways | Raw outpput for NAT gateways | ||
- | < | + | < |
$ aws ec2 describe-nat-gateways | $ aws ec2 describe-nat-gateways | ||
{ | { | ||
Line 98: | Line 100: | ||
Code to extract just NAT id, state and Elastic ip in use:- | Code to extract just NAT id, state and Elastic ip in use:- | ||
- | < | + | < |
$ aws ec2 describe-nat-gateways | jq " | $ aws ec2 describe-nat-gateways | jq " | ||
linux/jq.1739357678.txt.gz · Last modified: by andrew