CachePolicyState constructor

const CachePolicyState({
  1. Input<String?>? arn,
  2. Input<String?>? comment,
  3. Input<int?>? defaultTtl,
  4. Input<String?>? etag,
  5. Input<int?>? maxTtl,
  6. Input<int?>? minTtl,
  7. Input<String?>? name,
  8. Input<CachePolicyParametersInCacheKeyAndForwardedToOrigin?>? parametersInCacheKeyAndForwardedToOrigin,
})

Creates a new CachePolicyState. arn The cache policy ARN. comment Description for the cache policy. defaultTtl Amount of time, in seconds, that objects are allowed to remain in the CloudFront cache before CloudFront sends a new request to the origin server to check if the object has been updated. etag Current version of the cache policy. 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 objects should remain in the CloudFront cache before a new request is sent to the origin to check for updates. name Unique name used to identify the cache policy. parametersInCacheKeyAndForwardedToOrigin Configuration for including HTTP headers, cookies, and URL query strings in the cache key. For more information, refer to the Parameters In Cache Key And Forwarded To Origin section.

Implementation

const CachePolicyState({
  this.arn,
  this.comment,
  this.defaultTtl,
  this.etag,
  this.maxTtl,
  this.minTtl,
  this.name,
  this.parametersInCacheKeyAndForwardedToOrigin,
});