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