{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/ProtocolType"
 ],
 "definitions": {
  "BodyS3Location": {
   "additionalProperties": false,
   "properties": {
    "Bucket": {
     "type": "string"
    },
    "Etag": {
     "type": "string"
    },
    "Key": {
     "type": "string"
    },
    "Version": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "Cors": {
   "additionalProperties": false,
   "properties": {
    "AllowCredentials": {
     "type": "boolean"
    },
    "AllowHeaders": {
     "items": {
      "type": "string"
     },
     "type": "array",
     "uniqueItems": false
    },
    "AllowMethods": {
     "items": {
      "type": "string"
     },
     "type": "array",
     "uniqueItems": false
    },
    "AllowOrigins": {
     "items": {
      "type": "string"
     },
     "type": "array",
     "uniqueItems": false
    },
    "ExposeHeaders": {
     "items": {
      "type": "string"
     },
     "type": "array",
     "uniqueItems": false
    },
    "MaxAge": {
     "type": "integer"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "ApiEndpoint": {
   "type": "string"
  },
  "ApiKeySelectionExpression": {
   "type": "string"
  },
  "BasePath": {
   "type": "string"
  },
  "Body": {
   "format": "json",
   "type": [
    "object",
    "string"
   ]
  },
  "BodyS3Location": {
   "$ref": "#/definitions/BodyS3Location"
  },
  "CorsConfiguration": {
   "$ref": "#/definitions/Cors"
  },
  "CredentialsArn": {
   "type": "string"
  },
  "Description": {
   "type": "string"
  },
  "DisableExecuteApiEndpoint": {
   "type": "boolean"
  },
  "DisableSchemaValidation": {
   "type": "boolean"
  },
  "FailOnWarnings": {
   "type": "boolean"
  },
  "Id": {
   "type": "string"
  },
  "Name": {
   "type": "string"
  },
  "ProtocolType": {
   "type": "string"
  },
  "RouteKey": {
   "type": "string"
  },
  "RouteSelectionExpression": {
   "type": "string"
  },
  "Tags": {
   "additionalProperties": false,
   "patternProperties": {
    ".*": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "Target": {
   "type": "string"
  },
  "Version": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Id",
  "/properties/ApiEndpoint"
 ],
 "typeName": "AWS::ApiGatewayV2::Api"
}
