{
 "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/ApiId"
 ],
 "properties": {
  "ApiEndpoint": {
   "type": "string"
  },
  "ApiId": {
   "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"
  },
  "IpAddressType": {
   "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/ApiId",
  "/properties/ApiEndpoint"
 ],
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::ApiGatewayV2::Api",
 "writeOnlyProperties": [
  "/properties/Body",
  "/properties/BasePath",
  "/properties/BodyS3Location",
  "/properties/BodyS3Location/Etag",
  "/properties/BodyS3Location/Bucket",
  "/properties/BodyS3Location/Version",
  "/properties/BodyS3Location/Key",
  "/properties/CredentialsArn",
  "/properties/FailOnWarnings",
  "/properties/RouteKey",
  "/properties/Target",
  "/properties/DisableSchemaValidation"
 ]
}
