DistributionCacheBehaviorSettings constructor

const DistributionCacheBehaviorSettings({
  1. Input<String?>? allowedHttpMethods,
  2. Input<String?>? cachedHttpMethods,
  3. Input<int?>? defaultTtl,
  4. Input<DistributionCacheBehaviorSettingsForwardedCookies?>? forwardedCookies,
  5. Input<DistributionCacheBehaviorSettingsForwardedHeaders?>? forwardedHeaders,
  6. Input<DistributionCacheBehaviorSettingsForwardedQueryStrings?>? forwardedQueryStrings,
  7. Input<int?>? maximumTtl,
  8. Input<int?>? minimumTtl,
})

Creates a new DistributionCacheBehaviorSettings. allowedHttpMethods HTTP methods that are processed and forwarded to the distribution's origin. cachedHttpMethods HTTP method responses that are cached by your distribution. defaultTtl Default amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the content has been updated. forwardedCookies Cookies that are forwarded to the origin. Your content is cached based on the cookies that are forwarded. See below. forwardedHeaders Headers that are forwarded to the origin. Your content is cached based on the headers that are forwarded. See below. forwardedQueryStrings Query strings that are forwarded to the origin. Your content is cached based on the query strings that are forwarded. See below. maximumTtl Maximum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated. minimumTtl Minimum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.

Implementation

const DistributionCacheBehaviorSettings({
  this.allowedHttpMethods,
  this.cachedHttpMethods,
  this.defaultTtl,
  this.forwardedCookies,
  this.forwardedHeaders,
  this.forwardedQueryStrings,
  this.maximumTtl,
  this.minimumTtl,
});