aws cloudfront create-invalidation --distribution-id=S11A16G5KZMEQD --paths / code example
Example: aws cloudfront invalidation cli
aws cloudfront create-invalidation --distribution-id E1B1A4GHK9TTE --paths "/*"
aws cloudfront create-invalidation --distribution-id E1B1A4GHK9TTE --paths "/*"