Last active
May 19, 2021 12:03
-
-
Save thanakijwanavit/cf0bd2e8a19a261c90faddd6190b4749 to your computer and use it in GitHub Desktop.
invalidate in cloudfront
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from nicHelper.cloudfront import invalidate | |
invalidate('E1I41NH6AGDJM8', path='/public/imagenames/*') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws cloudfront create-invalidation --distribution-id E1I41NH6AGDJM8 --paths "/public/imagenames/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment