{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/DBClusterIdentifier",
  "/properties/AvailabilityZone",
  "/properties/DBInstanceIdentifier"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "AutoMinorVersionUpgrade": {
   "type": "boolean"
  },
  "AvailabilityZone": {
   "type": "string"
  },
  "CACertificateIdentifier": {
   "type": "string"
  },
  "CertificateRotationRestart": {
   "type": "boolean"
  },
  "DBClusterIdentifier": {
   "type": "string"
  },
  "DBInstanceClass": {
   "type": "string"
  },
  "DBInstanceIdentifier": {
   "type": "string"
  },
  "EnablePerformanceInsights": {
   "type": "boolean"
  },
  "Endpoint": {
   "type": "string"
  },
  "Id": {
   "type": "string"
  },
  "Port": {
   "type": "string"
  },
  "PreferredMaintenanceWindow": {
   "type": "string"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": false
  }
 },
 "readOnlyProperties": [
  "/properties/Port",
  "/properties/Id",
  "/properties/Endpoint"
 ],
 "required": [
  "DBInstanceClass",
  "DBClusterIdentifier"
 ],
 "typeName": "AWS::DocDB::DBInstance"
}
