{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-efs/json-schema/amazon-efs-put-lifecycle-configuration-request-schema.json",
  "title": "PutLifecycleConfigurationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-efs-operations-api-openapi.yml#/components/schemas/PutLifecycleConfigurationRequest",
  "type": "object",
  "properties": {
    "FileSystemId": {
      "type": "string",
      "description": "The ID of the file system for which you are creating the LifecycleConfiguration object (String)."
    },
    "LifecyclePolicies": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LifecyclePolicy"
      },
      "description": "An array of LifecyclePolicy objects that define the file system's LifecycleConfiguration object. A LifecycleConfiguration object informs lifecycle management of the following: TransitionToIA – When to move files in the file system from primary storage (Standard storage class) into the Infrequent Access (IA) storage. TransitionToArchive – When to move files in the file system from their current storage class (either IA or Standard storage) into the Archive storage. File systems cannot transition into Archive storage before transitioning into IA storage. Therefore, TransitionToArchive must eithe"
    }
  },
  "required": [
    "FileSystemId",
    "LifecyclePolicies"
  ],
  "$defs": {
    "LifecyclePolicy": {
      "type": "object",
      "properties": {
        "TransitionToIA": {
          "type": "string",
          "enum": [
            "AFTER_7_DAYS",
            "AFTER_14_DAYS",
            "AFTER_30_DAYS",
            "AFTER_60_DAYS",
            "AFTER_90_DAYS",
            "AFTER_1_DAY",
            "AFTER_180_DAYS",
            "AFTER_270_DAYS",
            "AFTER_365_DAYS"
          ],
          "description": "The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events."
        },
        "TransitionToPrimaryStorageClass": {
          "type": "string",
          "enum": [
            "AFTER_1_ACCESS"
          ],
          "description": "Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events."
        },
        "TransitionToArchive": {
          "type": "string",
          "enum": [
            "AFTER_1_DAY",
            "AFTER_7_DAYS",
            "AFTER_14_DAYS",
            "AFTER_30_DAYS",
            "AFTER_60_DAYS",
            "AFTER_90_DAYS",
            "AFTER_180_DAYS",
            "AFTER_270_DAYS",
            "AFTER_365_DAYS"
          ],
          "description": "The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events."
        }
      }
    }
  }
}