Describe the feature
Add manageMasterUserPassword support to DatabaseInstanceFromSnapshotProps.
Use Case
DatabaseInstance and DatabaseClusterFromSnapshot already support manageMasterUserPassword (added in #35734), but DatabaseInstanceFromSnapshot does not. Per the RestoreDBInstanceFromDBSnapshot API docs, this applies to RDS for Oracle only.
An Oracle user restoring an instance from a snapshot currently has to use the L1 escape hatch:
(instance.node.defaultChild as rds.CfnDBInstance).addPropertyOverride('ManageMasterUserPassword', true);
Proposed Solution
Add manageMasterUserPassword to DatabaseInstanceFromSnapshotProps with a synth-time validation that rejects non-Oracle engines.
Other information
Acknowledgements
Describe the feature
Add
manageMasterUserPasswordsupport toDatabaseInstanceFromSnapshotProps.Use Case
DatabaseInstanceandDatabaseClusterFromSnapshotalready supportmanageMasterUserPassword(added in #35734), butDatabaseInstanceFromSnapshotdoes not. Per theRestoreDBInstanceFromDBSnapshotAPI docs, this applies to RDS for Oracle only.An Oracle user restoring an instance from a snapshot currently has to use the L1 escape hatch:
Proposed Solution
Add
manageMasterUserPasswordtoDatabaseInstanceFromSnapshotPropswith a synth-time validation that rejects non-Oracle engines.Other information
Acknowledgements