CloudFront url not expiring from cache

If you are having a url with querystring like this:


and you want to expire the cache for that url in CloudFront distribution then the solution is to enter this url in the invalidations of your CloudFront distribution to expire the cache:


This will expire the cache for all the versions of url with different querystrings keys.