BackendServiceCdnPolicyNegativeCachingPolicy constructor

const BackendServiceCdnPolicyNegativeCachingPolicy({
  1. Input<int?>? code,
  2. Input<int?>? ttl,
})

Creates a new BackendServiceCdnPolicyNegativeCachingPolicy. code The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 308, 404, 405, 410, 421, 451 and 501 ttl The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s

Implementation

const BackendServiceCdnPolicyNegativeCachingPolicy({
  this.code,
  this.ttl,
});