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 ? Answer Note you can only have three concurrent invalidations; an invalidation seems to take 10-30 minutes.