Amazon API Gateway · Schema

CreateRestApiRequest

GatewayHTTP APIREST APIServerlessWebSocket

Properties

Name Type Description
name string The name of the REST API.
description string The description of the REST API.
version string A version identifier for the API.
cloneFrom string The ID of the REST API to clone from.
binaryMediaTypes array The list of binary media types to support.
minimumCompressionSize integer Minimum payload compression size in bytes.
apiKeySource string
endpointConfiguration object
policy string
tags object
disableExecuteApiEndpoint boolean
View JSON Schema on GitHub

JSON Schema

amazon-api-gateway-createrestapirequest-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CreateRestApiRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the REST API."
    },
    "description": {
      "type": "string",
      "description": "The description of the REST API."
    },
    "version": {
      "type": "string",
      "description": "A version identifier for the API."
    },
    "cloneFrom": {
      "type": "string",
      "description": "The ID of the REST API to clone from."
    },
    "binaryMediaTypes": {
      "type": "array",
      "description": "The list of binary media types to support.",
      "items": {
        "type": "string"
      }
    },
    "minimumCompressionSize": {
      "type": "integer",
      "description": "Minimum payload compression size in bytes."
    },
    "apiKeySource": {
      "type": "string",
      "enum": [
        "HEADER",
        "AUTHORIZER"
      ]
    },
    "endpointConfiguration": {
      "$ref": "#/definitions/EndpointConfiguration"
    },
    "policy": {
      "type": "string"
    },
    "tags": {
      "type": "object"
    },
    "disableExecuteApiEndpoint": {
      "type": "boolean"
    }
  },
  "required": [
    "name"
  ]
}