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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aws_jmespath_utils-0.1.11.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.11.tar.gz
Algorithm Hash digest
SHA256 92cd03500c152d87b1b82359e478a2c1b9f241f1c940bcee0aae5de7023f8b0d
MD5 1db7fee0e819c41cc71c8f9cadfe9144
BLAKE2b-256 27e3207c0bc39e19de57169a43c79db4dd067dfb1a040d4b368e278e300a08ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_jmespath_utils-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 44bacf4b6f1b09c2cdb3df903b99f4f67fb3a217d3e0e806fdd6a3cd2909e3b9
MD5 b5b17947b5b668422c9da28130e4fa71
BLAKE2b-256 6b01e06e98843aee5a5f2b61e89d60b2d00a550373437d7235905052a2bd6152

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