{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-apigatewayv2-stage.json",
  "title": "AWSApiGatewayV2StageProperties",
  "description": "Resource Type definition for AWS::ApiGatewayV2::Stage. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-apigatewayv2-stage.json",
    "sourceSha256": "074912887b52fa06e62e840b5f829c05535f43b2419c61f72f7199f1fc81c14b"
  },
  "type": "object",
  "properties": {
    "DeploymentId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Description": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "AutoDeploy": {
      "type": "boolean"
    },
    "RouteSettings": {
      "type": "object"
    },
    "StageName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "StageVariables": {
      "type": "object"
    },
    "AccessPolicyId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "ClientCertificateId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "AccessLogSettings": {
      "$ref": "#/$defs/AccessLogSettings"
    },
    "ApiId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "DefaultRouteSettings": {
      "$ref": "#/$defs/RouteSettings"
    },
    "Tags": {
      "type": "object"
    }
  },
  "typeName": "AWS::ApiGatewayV2::Stage",
  "readOnlyProperties": [
    "/properties/Id"
  ],
  "$defs": {
    "AccessLogSettings": {
      "type": "object",
      "title": "AWSApiGatewayV2StageAccessLogSettingsDefinition",
      "properties": {
        "DestinationArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Format": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "RouteSettings": {
      "type": "object",
      "title": "AWSApiGatewayV2StageRouteSettingsDefinition",
      "properties": {
        "DetailedMetricsEnabled": {
          "type": "boolean"
        },
        "LoggingLevel": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DataTraceEnabled": {
          "type": "boolean"
        },
        "ThrottlingBurstLimit": {
          "type": "integer"
        },
        "ThrottlingRateLimit": {
          "type": "number"
        }
      },
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "required": [
    "StageName",
    "ApiId"
  ],
  "createOnlyProperties": [
    "/properties/StageName",
    "/properties/ApiId"
  ]
}
