title: Invalidate all files in a folder in cloudfront console
body: <p>I know cloudfront provides a mechanism to invalidate a file, but what if I want to invalidate all files in a specific folder ? The documentation mentions that I can't use wildcards to do this.</p>
  
  <p>Here's the instruction taken from the official documentation:</p>
  
  <blockquote>
    <p>You must explicitly invalidate every object and every directory that you want CloudFront to stop serving. You cannot use wildcards to invalidate groups of objects, and you cannot invalidate all of the objects in a directory by specifying the directory path.</p>
  </blockquote>