{
 "PropertyTypes": {
  "AWS::Route53::HealthCheck.HealthCheckConfig": {
   "Type": [
    {
     "Regex": "CLOUDWATCH_METRIC",
     "RequiredProperties": [
      "AlarmIdentifier"
     ]
    }
   ]
  }
 },
 "ResourceTypes": {
  "AWS::DynamoDB::Table": {
   "BillingMode": [
    {
     "Regex": "PAY_PER_REQUEST",
     "UnwantedProperties": [
      "ProvisionedThroughput"
     ]
    }
   ]
  },
  "AWS::Lambda::EventSourceMapping": {
   "EventSourceArn": [
    {
     "GetAtt": {
      "AWS::DynamoDB::Table": "StreamArn",
      "AWS::Kinesis::Stream": "Arn"
     },
     "Ref": [
      "AWS::MSK::Cluster"
     ],
     "Regex": "arn:aws.*:(kinesis|kafka|dynamodb):.*",
     "RequiredProperties": [
      "StartingPosition"
     ]
    },
    {
     "GetAtt": {
      "AWS::SQS::Queue": "Arn"
     },
     "Regex": "arn:aws.*:sqs:.*",
     "UnwantedProperties": [
      "StartingPosition"
     ]
    }
   ]
  },
  "AWS::RDS::DBCluster": {
   "EngineMode": [
    {
     "Regex": "^((?!serverless).)*$",
     "UnwantedProperties": [
      "ScalingConfiguration"
     ]
    }
   ]
  },
  "AWS::RDS::DBInstance": {
   "Engine": [
    {
     "Regex": "(aurora|aurora-mysql|aurora-postgresql)",
     "UnwantedProperties": [
      "AllocatedStorage",
      "BackupRetentionPeriod",
      "CopyTagsToSnapshot",
      "DeletionProtection",
      "EnableIAMDatabaseAuthentication",
      "MasterUserPassword",
      "StorageEncrypted"
     ]
    }
   ]
  }
 }
}