Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws_jmespath_utils-0.1.12.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

aws_jmespath_utils-0.1.12-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file aws_jmespath_utils-0.1.12.tar.gz.

File metadata

  • Download URL: aws_jmespath_utils-0.1.12.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

Hashes for aws_jmespath_utils-0.1.12.tar.gz
Algorithm Hash digest
SHA256 50043721c4853dedda632cfa9aeb34b852e70a5df83a58ce080fef3ad4e36c11
MD5 0c37227d439f5deb22d83eed213ac3d3
BLAKE2b-256 2f75ea67b5c58df16b24b1eb4763fa32d25c495ac0a9777f8c7acd358672d622

See more details on using hashes here.

File details

Details for the file aws_jmespath_utils-0.1.12-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_jmespath_utils-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 93c0300e032c7918d97fe04ee834dbbbb4568996ac8917075c6b18063abccd04
MD5 e0baf48a1cc48c739b59b1e6ddabb03b
BLAKE2b-256 268ec911da89f1d400bc6c7133715dad29d92f143c568639b48195303c0bcaa2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page