Skip to content
Advertisement

How to invalidate a file(to be refreshed) served from Cloudfront CDN via Java AWS SDK?

I am using Java SDK to uploaded images to S3, How do I invalidate a file in CloudFront so that it is refetched from s3 origin. How to do it via Java SDK ?

Advertisement

Answer

JavaScript

Note you can only have three concurrent invalidations; an invalidation seems to take 10-30 minutes.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement