Amazon API Gateway · Schema

CreateRestApiRequest

CreateRestApiRequest schema from Amazon API Gateway v1 API

API GatewayCloudRESTHTTPWebSocketServerlessMCPAgentCoreDeveloper Portal

Properties

Name Type Description
name string Name of the new RestApi.
description string Optional description.
version string Version identifier.
endpointConfiguration object
View JSON Schema on GitHub

JSON Schema

v1-create-rest-api-request-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the new RestApi.",
      "example": "my-resource"
    },
    "description": {
      "type": "string",
      "description": "Optional description.",
      "example": "A description of this resource."
    },
    "version": {
      "type": "string",
      "description": "Version identifier.",
      "example": "1.0"
    },
    "endpointConfiguration": {
      "type": "object",
      "properties": {
        "types": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "EDGE",
              "REGIONAL",
              "PRIVATE"
            ]
          },
          "description": "List of endpoint types (EDGE, REGIONAL, PRIVATE).",
          "example": [
            "EDGE"
          ]
        }
      }
    }
  },
  "required": [
    "name"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aws-api-gateway/refs/heads/main/json-schema/v1-create-rest-api-request-schema.json",
  "title": "CreateRestApiRequest",
  "description": "CreateRestApiRequest schema from Amazon API Gateway v1 API"
}