Amazon API Gateway · JSON Structure

V1 Create Rest Api Request Structure

CreateRestApiRequest schema from Amazon API Gateway v1 API

Type: object Properties: 4 Required: 1
API GatewayCloudRESTHTTPWebSocketServerlessMCPAgentCoreDeveloper Portal

CreateRestApiRequest is a JSON Structure definition published by Amazon API Gateway, describing 4 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name description version endpointConfiguration

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

JSON Structure

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-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aws-api-gateway/refs/heads/main/json-structure/v1-create-rest-api-request-structure.json",
  "name": "CreateRestApiRequest",
  "description": "CreateRestApiRequest schema from Amazon API Gateway v1 API"
}