{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-apigatewayv2-route.json",
  "title": "AWSApiGatewayV2RouteProperties",
  "description": "Resource Type definition for AWS::ApiGatewayV2::Route. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigatewayv2>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-apigatewayv2-route.json",
    "sourceSha256": "59407e0dabd9e218fc64d0611dc5763b6d284547cbc79aad83d121a28dafd9ff"
  },
  "type": "object",
  "properties": {
    "RouteResponseSelectionExpression": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "RequestModels": {
      "type": "object"
    },
    "OperationName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "AuthorizationScopes": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "type": "string"
      }
    },
    "ApiKeyRequired": {
      "type": "boolean"
    },
    "RouteKey": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "AuthorizationType": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "ModelSelectionExpression": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "ApiId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "RequestParameters": {
      "type": "object",
      "items": {
        "$ref": "#/$defs/ParameterConstraints"
      }
    },
    "Target": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "AuthorizerId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    }
  },
  "typeName": "AWS::ApiGatewayV2::Route",
  "tagging": {
    "taggable": false
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigatewayv2",
  "$defs": {
    "ParameterConstraints": {
      "type": "object",
      "title": "AWSApiGatewayV2RouteParameterConstraintsDefinition",
      "properties": {
        "Required": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  },
  "writeOnlyProperties": [
    "/properties/AuthorizerId",
    "/properties/RequestParameters"
  ],
  "additionalProperties": false,
  "required": [
    "RouteKey",
    "ApiId"
  ],
  "createOnlyProperties": [
    "/properties/ApiId"
  ],
  "primaryIdentifier": [
    "/properties/ApiId",
    "/properties/RouteId"
  ],
  "readOnlyProperties": [
    "/properties/RouteId"
  ]
}
