Created
March 17, 2011 10:30
-
-
Save 0xRoch/874131 to your computer and use it in GitHub Desktop.
How to invalidate CloudFront files using Python
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
import boto | |
cf = boto.connect_cloudfront('key1', 'key2') | |
cf.create_invalidation_request("distribution_id", ["/path1","/path2"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment