CloudFront Invalidate

Component ID

1377558

Component name

CloudFront Invalidate

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

CloudFront Invalidate provides a wrapper around the AWS SDK library to allow modules to easily invalidate paths. Steps to use:

  1. Enable the module and its dependencies AWS SDK and Libraries (2.x branch).
  2. Provide your AWS details and CloudFront distribution ID
  3. From your module pass an array of paths to cloudfront_invalidate_invalidate_urls().
  4. DONE! The provided paths should be cleared shortly.

At the moment the module does not provide any user facing way to clear paths or integration with other modules (CDN, imagecrop, AmazonS3 spring to mind as possibilities). Co-maintainers who want to build upon this sandbox and turn it into a full project are gladly welcome.