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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aws_jmespath_utils-0.1.7.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.7.tar.gz
Algorithm Hash digest
SHA256 b2661cc2a91a1bc00574c6e5ba84ef4f599f266acad26feb3c072fb597ecf64e
MD5 d6d9951b175cd223f1195164883348be
BLAKE2b-256 aa9d7fbe699663958f080b454321380e277a5dc2b43c5c21065800a2d572bc6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_jmespath_utils-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 586d70a4ce6a1c48ff0deabd48d77efeabbbde0b95f97855ae6fa63b583a2e2a
MD5 07a8074011a7a9f2a799d8eeeec86e45
BLAKE2b-256 6940363854681d67a14dc4d185b45bd99d446d81a6876eb2df7e4ee252503589

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