{
 "additionalProperties": true,
 "description": "When creating an aurora DBInstance don't specify 'AllocatedStorage', 'CopyTagsToSnapshot', 'DeletionProtection', 'EnableIAMDatabaseAuthentication', 'MasterUserPassword', or 'StorageEncrypted'",
 "if": {
  "properties": {
   "Engine": {
    "pattern": "(aurora|aurora-mysql|aurora-postgresql)",
    "type": "string"
   }
  },
  "required": [
   "Engine"
  ],
  "type": "object"
 },
 "then": {
  "not": {
   "anyOf": [
    {
     "required": [
      "AllocatedStorage"
     ]
    },
    {
     "required": [
      "CopyTagsToSnapshot"
     ]
    },
    {
     "required": [
      "DeletionProtection"
     ]
    },
    {
     "required": [
      "EnableIAMDatabaseAuthentication"
     ]
    },
    {
     "required": [
      "MasterUserPassword"
     ]
    }
   ],
   "properties": {
    "AllocatedStorage": true,
    "CopyTagsToSnapshot": true,
    "DeletionProtection": true,
    "EnableIAMDatabaseAuthentication": true,
    "MasterUserPassword": true
   }
  }
 }
}
