Amazon API Gateway · JSON Structure

V2 Create Route Request Structure

CreateRouteRequest schema from Amazon API Gateway v2 API

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

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

Properties

RouteKey Target AuthorizationType

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

JSON Structure

Raw ↑
{
  "type": "object",
  "properties": {
    "RouteKey": {
      "type": "string",
      "description": "Route key for the new route.",
      "example": "example-value"
    },
    "Target": {
      "type": "string",
      "description": "Integration target reference.",
      "example": "example-value"
    },
    "AuthorizationType": {
      "type": "string",
      "description": "Authorization type for the route.",
      "example": "example-value"
    }
  },
  "required": [
    "RouteKey"
  ],
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aws-api-gateway/refs/heads/main/json-structure/v2-create-route-request-structure.json",
  "name": "CreateRouteRequest",
  "description": "CreateRouteRequest schema from Amazon API Gateway v2 API"
}