jmespath / jmespath.py

JMESPath is a query language for JSON.
http://jmespath.org
MIT License
2.19k stars 181 forks source link

Check one value exists in a list with specific output #123

Closed henrysher closed 7 years ago

henrysher commented 7 years ago

Actually I have such a use case:

  1. Call DescribeAutoScalingGroups to get all ASG information,
  2. Filter in the list of LoadBalancerNames, if one contains "XX-LB",
  3. Output the AutoScalingGroupName

It seems directly to use jp.py cannot support that case. Am I right?