Method: Aws::CloudFront::Types::CacheBehavior#min_ttl
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
#min_ttl ⇒ Integer
<note markdown=“1”> This field only supports standard distributions. You can’t specify this field for multi-tenant distributions. For more information, see
- Unsupported features for SaaS Manager for Amazon CloudFront][1
-
in
the *Amazon CloudFront Developer Guide*.
</note>
This field is deprecated. We recommend that you use the `MinTTL`
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 minimum 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. For more information, see [ Managing How Long Content Stays in an Edge Cache (Expiration)] in the Amazon CloudFront Developer Guide.
You must specify `0` for `MinTTL` if you configure CloudFront to
forward all headers to your origin (under ‘Headers`, if you specify `1` for `Quantity` and `*` for `Name`).
[1]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas [2]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy [3]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html [4]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 889 class CacheBehavior < Struct.new( :path_pattern, :target_origin_id, :trusted_signers, :trusted_key_groups, :viewer_protocol_policy, :allowed_methods, :smooth_streaming, :compress, :lambda_function_associations, :function_associations, :field_level_encryption_id, :realtime_log_config_arn, :cache_policy_id, :origin_request_policy_id, :response_headers_policy_id, :grpc_config, :forwarded_values, :min_ttl, :default_ttl, :max_ttl) SENSITIVE = [] include Aws::Structure end |