GetRegionBackendServiceCdnPolicyNegativeCachingPolicy constructor

const GetRegionBackendServiceCdnPolicyNegativeCachingPolicy({
  1. required Input<int> code,
  2. required Input<int> ttl,
})

Creates a new GetRegionBackendServiceCdnPolicyNegativeCachingPolicy. 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 GetRegionBackendServiceCdnPolicyNegativeCachingPolicy({
  required this.code,
  required this.ttl,
});