Retain Rule

Specifies retention settings for snapshots.

BackupEBS SnapshotsLifecycle ManagementStorageAutomationCompliance

Properties

Name Type Description
Count integer The number of snapshots to retain
Interval integer
IntervalUnit string
View JSON Schema on GitHub

JSON Schema

retain-rule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/amazon-data-lifecycle-manager/json-schema/retain-rule-schema.json",
  "title": "Retain Rule",
  "description": "Specifies retention settings for snapshots.",
  "type": "object",
  "properties": {
    "Count": {
      "type": "integer",
      "description": "The number of snapshots to retain"
    },
    "Interval": {
      "type": "integer"
    },
    "IntervalUnit": {
      "type": "string",
      "enum": [
        "DAYS",
        "WEEKS",
        "MONTHS",
        "YEARS"
      ]
    }
  }
}