CloudFront · Schema

CreateFunctionResult

Amazon Web ServicesCDNCachingContent DeliveryEdge ComputingLambda@EdgeNetworks

Properties

Name Type Description
FunctionSummary object
Location string The URL of the CloudFront function. Use the URL to manage the function with the CloudFront API.
ETag string The version identifier for the current version of the CloudFront function.
View JSON Schema on GitHub

JSON Schema

cloudfront-create-function-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudfront/json-schema/cloudfront-create-function-result-schema.json",
  "title": "CreateFunctionResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudfront-functions-api-openapi.yml#/components/schemas/CreateFunctionResult",
  "type": "object",
  "properties": {
    "FunctionSummary": {
      "$ref": "#/$defs/FunctionSummary"
    },
    "Location": {
      "type": "string",
      "description": "The URL of the CloudFront function. Use the URL to manage the function with the CloudFront API."
    },
    "ETag": {
      "type": "string",
      "description": "The version identifier for the current version of the CloudFront function."
    }
  },
  "$defs": {
    "FunctionConfig": {
      "type": "object",
      "properties": {
        "Comment": {
          "type": "string",
          "description": "A comment to describe the function."
        },
        "Runtime": {
          "type": "string",
          "enum": [
            "cloudfront-js-1.0",
            "cloudfront-js-2.0"
          ],
          "description": "The function's runtime environment version."
        },
        "KeyValueStoreAssociations": {
          "$ref": "#/$defs/KeyValueStoreAssociations"
        }
      },
      "required": [
        "Comment",
        "Runtime"
      ]
    },
    "FunctionMetadata": {
      "type": "object",
      "properties": {
        "FunctionARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function."
        },
        "Stage": {
          "type": "string",
          "enum": [
            "DEVELOPMENT",
            "LIVE"
          ],
          "description": "The stage that the function is in, either DEVELOPMENT or LIVE. When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction. When a function is in the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's ARN."
        },
        "CreatedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the function was created."
        },
        "LastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the function was most recently updated."
        }
      },
      "required": [
        "FunctionARN",
        "LastModifiedTime"
      ]
    },
    "FunctionSummary": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the CloudFront function."
        },
        "Status": {
          "type": "string",
          "description": "The status of the CloudFront function."
        },
        "FunctionConfig": {
          "$ref": "#/$defs/FunctionConfig"
        },
        "FunctionMetadata": {
          "$ref": "#/$defs/FunctionMetadata"
        }
      },
      "required": [
        "Name",
        "FunctionConfig",
        "FunctionMetadata"
      ]
    },
    "KeyValueStoreAssociation": {
      "type": "object",
      "properties": {
        "KeyValueStoreARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the key value store association."
        }
      },
      "required": [
        "KeyValueStoreARN"
      ]
    },
    "KeyValueStoreAssociations": {
      "type": "object",
      "properties": {
        "Quantity": {
          "type": "integer",
          "description": "The quantity of key value store associations."
        },
        "Items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/KeyValueStoreAssociation"
          },
          "description": "The items of the key value store association."
        }
      },
      "required": [
        "Quantity"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cloudfront-create-function-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.