| Version: v2023-09-20 | Includes use: Yes | 
|---|
Behavior name: Scheduled Invalidation
Specifies when cached content that satisfies a rule's criteria expires, optionally at repeating intervals. In addition to periodic cache flushes, you can use this behavior to minimize potential conflicts when related objects expire at different times.
Warning: Scheduled invalidations can significantly increase origin servers' load when matching content expires simultaneously across all edge servers.
Default behavior
These samples reflect the behavior's default settings. You can use these as is in your configurations or make adjustments based on the behavior's available options.
data "akamai_property_rules_builder" "schedule_invalidation" {
  rules_v2023_09_20 {
    name     = "Scheduled Invalidation"
    comments = "Specifies when cached content expires."
    behavior {
      schedule_invalidation {
        start          = ""
        repeat         = false
        refresh_method = "INVALIDATE"
      }
    }
  }
}
"behaviors": [
  {
    "name": "scheduleInvalidation",
    "options": {
      "start": "",
      "repeat": false,
      "refreshMethod": "INVALIDATE"
    }
  }
]
Options
| Option | Description | 
|---|---|
| start | The UTC date and time when matching cached content is to expire.
         | 
| repeat | When enabled, invalidation recurs periodically from the  starttime based on therepeat_intervaltime. | 
| repeat_interval | Specifies how often to invalidate content from the  starttime in seconds. For example, an expiration set to midnight and an interval of86400seconds invalidates content once a day. Repeating intervals of less than 5 minutes are not allowed for NetStorage origins. | 
| refresh_method | Specifies how to invalidate the content. Value is one of:
           
 | 
