{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-backup/json-schema/aws-backup-update-recovery-point-lifecycle-input-schema.json",
  "title": "UpdateRecoveryPointLifecycleInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-backup-recovery-points-api-openapi.yml#/components/schemas/UpdateRecoveryPointLifecycleInput",
  "type": "object",
  "properties": {
    "BackupVaultName": {
      "type": "string",
      "description": "The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created."
    },
    "RecoveryPointArn": {
      "type": "string",
      "description": "An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45."
    },
    "Lifecycle": {
      "$ref": "#/$defs/Lifecycle"
    }
  },
  "required": [
    "BackupVaultName",
    "RecoveryPointArn"
  ],
  "$defs": {
    "Lifecycle": {
      "type": "object",
      "properties": {
        "MoveToColdStorageAfterDays": {
          "type": "integer",
          "description": "The number of days after creation that a recovery point is moved to cold storage."
        },
        "DeleteAfterDays": {
          "type": "integer",
          "description": "The number of days after creation that a recovery point is deleted. This value must be at least 90 days after the number of days specified in MoveToColdStorageAfterDays."
        },
        "OptInToArchiveForSupportedResources": {
          "type": "boolean",
          "description": "If the value is true, your backup plan transitions supported resources to archive (cold) storage tier in accordance with your lifecycle settings."
        },
        "DeleteAfterEvent": {
          "type": "string",
          "enum": [
            "DELETE_AFTER_COPY"
          ],
          "description": "The event after which a recovery point is deleted. A recovery point with both DeleteAfterDays and DeleteAfterEvent will delete after whichever condition is satisfied first. Not valid as an input."
        }
      }
    }
  }
}