maxTTL property
This field is deprecated. We recommend that you use the MaxTTL
field in a cache policy instead of this field. For more information, see Creating
cache policies or Using
the managed cache policies in the Amazon CloudFront Developer
Guide.
The maximum amount of time that you want objects to stay in CloudFront
caches before CloudFront forwards another request to your origin to
determine whether the object has been updated. The value that you specify
applies only when your origin adds HTTP headers such as Cache-Control
max-age
, Cache-Control s-maxage
, and
Expires
to objects. For more information, see Managing
How Long Content Stays in an Edge Cache (Expiration) in the Amazon
CloudFront Developer Guide.
Implementation
final int? maxTTL;