rds: Reboot the construct library #6713
Labels
@aws-cdk/aws-rds
Related to Amazon Relational Database
effort/large
Large work item – several weeks of effort
feature-request
A feature should be added or improved.
The RDS construct library today closely mimics how resources type are organized in CloudFormation -
The additional constructs such as
DatabaseSecret
does add value over simply using the L1 constructs. However, there are a number of modeling restrictions that come with this. A few instances of this are -timezone
that applies only to SQL Server. This leads to guard rails based development where there are validations all over the place, and the user has to keep adjusting to avoid these validations and take the working path.inno_db_file_per_table
will apply to Mysql and Aurora but not to other database types. Similarly, theaurora_load_from_s3_role
applies to Aurora databases but not others.Codifying all of this in the current RDS model will lead to fragmented code, validations lying around and overall, a poor customer experience where a feature is advertised as available (i.e., it's in the
Props
interface) but is actually not because there is validation that prevents it based on the database type (or some other condition).The alternative is to reboot the construct library along the lines of creating constructs such as
AuroraDatabase
,MysqlDatabase
,AuroraDBCluster
, etc. which would make this experience significantly better.The text was updated successfully, but these errors were encountered: