I am using Cloudfront and S3 together. I want to set the TTL to 0 for S3 files. I know that this can be done by setting the Cache-Control field to max-age=0.
The issue is that I only know how to do this for individual files using the AWS Console.
How do I make it so that an entire bucket will default to a TTL of 0, including files that are uploaded in the future?
You can set whole buckets to certain TTL using the S3 Browser tool , the link is also a guide to setting bucket wide TTL.