GetCachePolicyResult constructor

const GetCachePolicyResult({
  1. String? arn,
  2. String? comment,
  3. int? defaultTtl,
  4. String? etag,
  5. String? id,
  6. int? maxTtl,
  7. int? minTtl,
  8. String? name,
  9. List<GetCachePolicyParametersInCacheKeyAndForwardedToOrigin>? parametersInCacheKeyAndForwardedToOrigins,
})

Creates a new GetCachePolicyResult. arn The cache policy ARN. comment Comment to describe the cache policy. defaultTtl 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. etag Current version of the cache policy. id Optional. maxTtl Maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. minTtl Minimum 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. name Optional. parametersInCacheKeyAndForwardedToOrigins The HTTP headers, cookies, and URL query strings to include in the cache key. See Parameters In Cache Key And Forwarded To Origin for more information.

Implementation

const GetCachePolicyResult({
  this.arn,
  this.comment,
  this.defaultTtl,
  this.etag,
  this.id,
  this.maxTtl,
  this.minTtl,
  this.name,
  this.parametersInCacheKeyAndForwardedToOrigins,
});