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.9.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

aws_jmespath_utils-0.1.9-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aws_jmespath_utils-0.1.9.tar.gz
  • Upload date:
  • Size: 7.0 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.9.tar.gz
Algorithm Hash digest
SHA256 13235969b31ac5f976ac55e88f8be78672f1d4f95b30987d30516d5497115d2c
MD5 d216e975cd4235e15a663a9a5322e67d
BLAKE2b-256 851974ac9c816b6e749f8e8113a2b96c5ecc3d3c7eb7a68c83700770315d9b5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_jmespath_utils-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 b7f697922f548a836d3e27187c31609e91b3f4b67b7ab91a6521b99a011057ef
MD5 1911d3db8b030bf09690663f6e7f3684
BLAKE2b-256 11ed66e65c50451b0845335130c4aab69e0ce591f4845ca757072682e8f79aea

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