{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/StageName",
  "/properties/ApiId"
 ],
 "definitions": {
  "AccessLogSettings": {
   "additionalProperties": false,
   "properties": {
    "DestinationArn": {
     "type": "string"
    },
    "Format": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "RouteSettings": {
   "additionalProperties": false,
   "properties": {
    "DataTraceEnabled": {
     "type": "boolean"
    },
    "DetailedMetricsEnabled": {
     "type": "boolean"
    },
    "LoggingLevel": {
     "type": "string"
    },
    "ThrottlingBurstLimit": {
     "type": "integer"
    },
    "ThrottlingRateLimit": {
     "type": "number"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "AccessLogSettings": {
   "$ref": "#/definitions/AccessLogSettings"
  },
  "AccessPolicyId": {
   "type": "string"
  },
  "ApiId": {
   "type": "string"
  },
  "AutoDeploy": {
   "type": "boolean"
  },
  "ClientCertificateId": {
   "type": "string"
  },
  "DefaultRouteSettings": {
   "$ref": "#/definitions/RouteSettings"
  },
  "DeploymentId": {
   "type": "string"
  },
  "Description": {
   "type": "string"
  },
  "Id": {
   "type": "string"
  },
  "RouteSettings": {
   "format": "json",
   "type": [
    "object",
    "string"
   ]
  },
  "StageName": {
   "type": "string"
  },
  "StageVariables": {
   "format": "json",
   "type": [
    "object",
    "string"
   ]
  },
  "Tags": {
   "additionalProperties": false,
   "patternProperties": {
    ".*": {
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "readOnlyProperties": [
  "/properties/Id"
 ],
 "required": [
  "StageName",
  "ApiId"
 ],
 "typeName": "AWS::ApiGatewayV2::Stage"
}
