Python code. How to pass parameters to JMESpath instead of hardcoding?
ext= '.md'
filtered_iterator = page_iterator.search("Contents[?ends_with(Key, `.md`)].Key")
I would like to pass ext paramters in the contents path in the place of .md
.
What will be the possible way?