cdk-real-drift 0.22.0 → 0.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -5922,7 +5922,11 @@ const MEANINGFUL_WHEN_OFF = {
5922
5922
  },
5923
5923
  "AWS::Redshift::ScheduledAction": { Enable: () => true },
5924
5924
  "AWS::RDS::DBInstance": { AutoMinorVersionUpgrade: notRestored("DBSnapshotIdentifier") },
5925
- "AWS::RDS::DBCluster": { AutoMinorVersionUpgrade: notRestored("SnapshotIdentifier", "SourceDBClusterIdentifier") },
5925
+ "AWS::RDS::DBCluster": { AutoMinorVersionUpgrade: (ctx) => {
5926
+ const engine = ctx.live["Engine"] ?? ctx.declared["Engine"];
5927
+ if (typeof engine === "string" && engine.startsWith("aurora")) return false;
5928
+ return notRestored("SnapshotIdentifier", "SourceDBClusterIdentifier")(ctx);
5929
+ } },
5926
5930
  "AWS::Neptune::DBInstance": { AutoMinorVersionUpgrade: () => true },
5927
5931
  "AWS::ElastiCache::CacheCluster": { AutoMinorVersionUpgrade: notRestored("SnapshotName", "SnapshotArns") },
5928
5932
  "AWS::ElastiCache::ReplicationGroup": { AutoMinorVersionUpgrade: notRestored("SnapshotName", "SnapshotArns") },