{
 "if": {
  "properties": {
   "Engine": {
    "pattern": "^(?!custom-).*$",
    "type": "string"
   }
  },
  "required": [
   "KmsKeyId",
   "Engine"
  ],
  "type": "object"
 },
 "then": {
  "properties": {
   "StorageEncrypted": {
    "enum": [
     "true",
     "True",
     true
    ]
   }
  },
  "required": [
   "StorageEncrypted"
  ]
 }
}
