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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aws_jmespath_utils-0.1.10.tar.gz
  • Upload date:
  • Size: 7.1 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.10.tar.gz
Algorithm Hash digest
SHA256 acbe4f6a93e97ee7ce15285e9aa9f1454b1b0e7863701e3ac37ca59971c23352
MD5 07f0c53b73a1492ecbef173886e12093
BLAKE2b-256 af037f8531e6c909dfa522a7f7611ec3fad1f98a433e440ffb8f74f42e424284

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_jmespath_utils-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 5b442fb0bd3a2de3656009ec7abdf5b3e6953df7167f11cdf8473bc9354540ed
MD5 f645246b7db54c8647909b59cc04a6a8
BLAKE2b-256 e5ce9c08f48a2c284f81ffbaa17624e76e24116a7ae7087b107829ce49242c7d

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