Fastly · Schema

CustomVcl

A full custom VCL file uploaded for a service version.

CDNEdge CloudEdge ComputeWebAssemblySecurityAIObservabilityAsyncAPIStreamingWebhooksLogging

Properties

Name Type Description
name string The name of the custom VCL file.
content string The VCL source code.
main boolean Whether this is the main VCL file for the service version.
View JSON Schema on GitHub

JSON Schema

fastly-customvcl-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CustomVcl",
  "title": "CustomVcl",
  "type": "object",
  "description": "A full custom VCL file uploaded for a service version.",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the custom VCL file."
    },
    "content": {
      "type": "string",
      "description": "The VCL source code."
    },
    "main": {
      "type": "boolean",
      "description": "Whether this is the main VCL file for the service version."
    }
  }
}