Amazon CloudFront · Schema

InvalidationBatch

InvalidationBatch schema

CloudFrontCDNContent DeliveryEdge

Properties

Name Type Description
Paths object
CallerReference string A unique value that ensures the request can't be replayed.
View JSON Schema on GitHub

JSON Schema

cloudfront-invalidation-batch-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cloudfront/refs/heads/main/json-schema/cloudfront-invalidation-batch-schema.json",
  "title": "InvalidationBatch",
  "description": "InvalidationBatch schema",
  "type": "object",
  "properties": {
    "Paths": {
      "type": "object",
      "properties": {
        "Quantity": {
          "type": "integer",
          "description": "The number of invalidation paths specified."
        },
        "Items": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of paths to invalidate (e.g., /images/image1.jpg, /images/*)."
        }
      }
    },
    "CallerReference": {
      "type": "string",
      "description": "A unique value that ensures the request can't be replayed."
    }
  },
  "required": [
    "Paths",
    "CallerReference"
  ]
}