{
 "if": {
  "properties": {
   "Engine": {
    "enum": [
     "aurora-mysql",
     "aurora-postgresql"
    ],
    "type": "string"
   },
   "EngineMode": {
    "enum": [
     "serverless"
    ],
    "type": "string"
   }
  },
  "required": [
   "Engine",
   "EngineMode"
  ]
 },
 "then": {
  "properties": {
   "PerformanceInsightsEnabled": false,
   "PerformanceInsightsKmsKeyId": false,
   "PerformanceInsightsRetentionPeriod": false
  }
 }
}
