{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/KmsKeyId",
  "/properties/ResourceIdentifier",
  "/properties/DnsNameServers",
  "/properties/ReplicationSubnetGroupIdentifier",
  "/properties/PubliclyAccessible"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "AllocatedStorage": {
   "type": "integer"
  },
  "AllowMajorVersionUpgrade": {
   "type": "boolean"
  },
  "AutoMinorVersionUpgrade": {
   "type": "boolean"
  },
  "AvailabilityZone": {
   "type": "string"
  },
  "DnsNameServers": {
   "type": "string"
  },
  "EngineVersion": {
   "type": "string"
  },
  "Id": {
   "type": "string"
  },
  "KmsKeyId": {
   "type": "string"
  },
  "MultiAZ": {
   "type": "boolean"
  },
  "NetworkType": {
   "type": "string"
  },
  "PreferredMaintenanceWindow": {
   "type": "string"
  },
  "PubliclyAccessible": {
   "type": "boolean"
  },
  "ReplicationInstanceClass": {
   "type": "string"
  },
  "ReplicationInstanceIdentifier": {
   "type": "string"
  },
  "ReplicationInstancePrivateIpAddresses": {
   "type": "string"
  },
  "ReplicationInstancePublicIpAddresses": {
   "type": "string"
  },
  "ReplicationSubnetGroupIdentifier": {
   "type": "string"
  },
  "ResourceIdentifier": {
   "type": "string"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": false
  },
  "VpcSecurityGroupIds": {
   "format": "AWS::EC2::SecurityGroup.Ids",
   "items": {
    "format": "AWS::EC2::SecurityGroup.Id",
    "type": "string"
   },
   "type": "array",
   "uniqueItems": false
  }
 },
 "readOnlyProperties": [
  "/properties/ReplicationInstancePublicIpAddresses",
  "/properties/Id",
  "/properties/ReplicationInstancePrivateIpAddresses"
 ],
 "required": [
  "ReplicationInstanceClass"
 ],
 "typeName": "AWS::DMS::ReplicationInstance"
}
