jmespath custom functions for filtering AWS resources by tag
Project description
aws-jmespath-utils
Installation
pip3 install aws_jmespath_utils
Usage
jmespath.search( # it's important that your expression array must be inside `` backticks
'[] | filter_tags(`["Name=*"]`, @)', data_list, options=jmespath_options
)
jmespath.search( # it's important that your expression array must be inside `` backticks
'[] | filter_tags(`["[!Name]="]`, @)', data_list, options=jmespath_options
)
# set log level as you wish
export AWS_JMESPATH_UTILS_LOG_LEVEL="DEBUG"
export AWS_JMESPATH_UTILS_LOG_LEVEL="WARNING"
export AWS_JMESPATH_UTILS_LOG_LEVEL="INFO" # default
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aws_jmespath_utils-0.1.13.tar.gz
.
File metadata
- Download URL: aws_jmespath_utils-0.1.13.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.12 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc1acb806d28d6bcf12e8063425d938da672d1611fea7d8e0453f1ba1f810eb6 |
|
MD5 | 71761af7b12590dcaf5c25f2af8e6909 |
|
BLAKE2b-256 | 7568f09bcd3f08c2dac9297764a1d9efa035294f2c26556a5c0536b76adc726e |
File details
Details for the file aws_jmespath_utils-0.1.13-py3-none-any.whl
.
File metadata
- Download URL: aws_jmespath_utils-0.1.13-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.12 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4e3d543e860dd59a1f41b417a28d10d41aa5fb7b4ab4366dd50f8d87418258b |
|
MD5 | a413dd7194d5c3d3a21eedc5eb551736 |
|
BLAKE2b-256 | 3538abb5b2618df26aba01c3c0abdc020e66c85f086abfd4e295c801a669dc3d |