Netlify · Schema

functionConfig

CDNCloudContinuous DeploymentEdge ComputingJAMstackServerlessServerless FunctionsStatic SitesWeb HostingWebsites

Properties

Name Type Description
display_name string
generator string
build_data object
routes array
excluded_routes array
priority integer
traffic_rules object
View JSON Schema on GitHub

JSON Schema

netlify-functionconfig-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/functionConfig",
  "title": "functionConfig",
  "type": "object",
  "properties": {
    "display_name": {
      "type": "string"
    },
    "generator": {
      "type": "string"
    },
    "build_data": {
      "type": "object",
      "properties": {}
    },
    "routes": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/functionRoute"
      }
    },
    "excluded_routes": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/excludedFunctionRoute"
      }
    },
    "priority": {
      "type": "integer"
    },
    "traffic_rules": {
      "$ref": "#/components/schemas/trafficRulesConfig"
    }
  }
}