Jq Examples

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Organizatorium

Get the ID of a Amazon API Gateway API with a certain name:

aws apigateway get-rest-apis | jq -r '.items[] | select(.name == "blue") | .id'

Other:

jq -r '.Regions[] | .RegionName'