Amazon CloudFront · JSON Structure

Cloudfront Invalidation Batch Structure

InvalidationBatch schema

Type: object Properties: 2 Required: 2
CloudFrontCDNContent DeliveryEdge

InvalidationBatch is a JSON Structure definition published by Amazon CloudFront, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

Paths CallerReference

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cloudfront/refs/heads/main/json-structure/cloudfront-invalidation-batch-structure.json",
  "name": "InvalidationBatch",
  "description": "InvalidationBatch schema",
  "type": "object",
  "properties": {
    "Paths": {
      "type": "object",
      "properties": {
        "Quantity": {
          "type": "int32",
          "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"
  ]
}