'aws lambda list-functions filter out function name based on layer ARN
I just want to get back a list of function names based on Layer Name or ARN
This will give me list of ARN
aws lambda list-functions --query 'Functions[].Layers[*]'
How to filter our lambda function name based on the Layer ARN. Means Give me all function name which has the Layer ARN X
Solution 1:[1]
If I understand what you're trying to do here, use the awscli filtering, for example:
aws lambda list-functions \
--query 'Functions[].Layers[?Arn==`arn:aws:lambda:us-east-1:1234:layer:MyLayerX:1`]'
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | jarmod |
