defaultTTL property
The default amount of time, in seconds, that you want objects to stay in the
CloudFront cache before CloudFront sends another request to the origin to
see if the object has been updated. CloudFront uses this value as the
object’s time to live (TTL) only when the origin does not send
Cache-Control
or Expires
headers with the object.
For more information, see Managing
How Long Content Stays in an Edge Cache (Expiration) in the Amazon
CloudFront Developer Guide.
The default value for this field is 86400 seconds (one day). If the value of
MinTTL
is more than 86400 seconds, then the default value for
this field is the same as the value of MinTTL
.
Implementation
final int? defaultTTL;