Skip to content

Commit

Permalink
chore(rds): update engine versions (#29422)
Browse files Browse the repository at this point in the history
### Issue # (if applicable)

Closes #29360, closes #23810

**Note**: #29421 already adds some of the missing Oracle versions, this PR also includes them

### Reason for this change

Update the CDK RDS engine versions to match the current availability, as well as facilitate automated alerts for updates in the future

### Description of changes

* Added missing engine version for all RDS engines
	* This includes engines missing in the CDK that are already deprecated, but still returned by the SDK. The goal is to remove any differences between the two, even if it means a few needless static fields
* Updated missing or un-needed `@deprecated` TSDoc tags

### Description of how you validated changes

Like I mentioned in #29360 (comment), I'm working on a CLI that compares the `aws-cdk-lib` TypeScript declarations to SDK API calls, in this case `DescribeDBEngineVersions`.
I am re-validating these locally edited files as I update them, until I have no differences between the CDK and the live SDK results.

This is currently a mostly manual process. I'll add support for more version fields such as `ec2.WindowsVersion` before adding automation, to bridge the other currently missing versions ASAP.

### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https:/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https:/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
nmussy authored Mar 11, 2024
1 parent 5b910f0 commit bf33efd
Show file tree
Hide file tree
Showing 2 changed files with 737 additions and 169 deletions.
77 changes: 63 additions & 14 deletions packages/aws-cdk-lib/aws-rds/lib/cluster-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,11 @@ export class AuroraMysqlEngineVersion {
* @deprecated Version 5.7.12 is no longer supported by Amazon RDS.
*/
public static readonly VER_5_7_12 = AuroraMysqlEngineVersion.builtIn_5_7('12', false);
/**
* Version "5.7.mysql_aurora.2.02.3"
* @deprecated Version 5.7.mysql_aurora.2.02.3 is no longer supported by Amazon RDS.
*/
public static readonly VER_2_02_3 = AuroraMysqlEngineVersion.builtIn_5_7('2.02.3');
/**
* Version "5.7.mysql_aurora.2.03.2".
* @deprecated Version 5.7.mysql_aurora.2.03.2 is no longer supported by Amazon RDS.
Expand Down Expand Up @@ -385,11 +390,21 @@ export class AuroraMysqlEngineVersion {
* @deprecated Version 5.7.mysql_aurora.2.04.8 is no longer supported by Amazon RDS.
*/
public static readonly VER_2_04_8 = AuroraMysqlEngineVersion.builtIn_5_7('2.04.8');
/**
* Version "5.7.mysql_aurora.2.04.9"
* @deprecated Version 5.7.mysql_aurora.2.04.9 is no longer supported by Amazon RDS.
*/
public static readonly VER_2_04_9 = AuroraMysqlEngineVersion.builtIn_5_7('2.04.9');
/**
* Version "5.7.mysql_aurora.2.05.0".
* @deprecated Version 5.7.mysql_aurora.2.05.0 is no longer supported by Amazon RDS.
*/
public static readonly VER_2_05_0 = AuroraMysqlEngineVersion.builtIn_5_7('2.05.0');
/**
* Version "5.7.mysql_aurora.2.05.1"
* @deprecated Version 5.7.mysql_aurora.2.05.1 is no longer supported by Amazon RDS.
*/
public static readonly VER_2_05_1 = AuroraMysqlEngineVersion.builtIn_5_7('2.05.1');
/**
* Version "5.7.mysql_aurora.2.06.0".
* @deprecated Version 5.7.mysql_aurora.2.06.0 is no longer supported by Amazon RDS.
Expand Down Expand Up @@ -510,8 +525,8 @@ export class AuroraMysqlEngineVersion {
*/
public static readonly VER_2_10_3 = AuroraMysqlEngineVersion.builtIn_5_7('2.10.3');
/**
* Version "5.7.mysql_aurora.2.11.0".
* This version isn't available for new creations.
* Version "5.7.mysql_aurora.2.11.0"
* @deprecated Version 5.7.mysql_aurora.2.11.0 is no longer supported by Amazon RDS.
*/
public static readonly VER_2_11_0 = AuroraMysqlEngineVersion.builtIn_5_7('2.11.0');
/** Version "5.7.mysql_aurora.2.11.1". */
Expand All @@ -524,6 +539,8 @@ export class AuroraMysqlEngineVersion {
public static readonly VER_2_11_4 = AuroraMysqlEngineVersion.builtIn_5_7('2.11.4');
/** Version "5.7.mysql_aurora.2.12.0". */
public static readonly VER_2_12_0 = AuroraMysqlEngineVersion.builtIn_5_7('2.12.0');
/** Version "5.7.mysql_aurora.2.12.1". */
public static readonly VER_2_12_1 = AuroraMysqlEngineVersion.builtIn_5_7('2.12.1');
/** Version "8.0.mysql_aurora.3.01.0". */
public static readonly VER_3_01_0 = AuroraMysqlEngineVersion.builtIn_8_0('3.01.0');
/** Version "8.0.mysql_aurora.3.01.1". */
Expand All @@ -540,16 +557,28 @@ export class AuroraMysqlEngineVersion {
public static readonly VER_3_03_0 = AuroraMysqlEngineVersion.builtIn_8_0('3.03.0');
/** Version "8.0.mysql_aurora.3.03.1". */
public static readonly VER_3_03_1 = AuroraMysqlEngineVersion.builtIn_8_0('3.03.1');
/** Version "8.0.mysql_aurora.3.03.2". */
public static readonly VER_3_03_2 = AuroraMysqlEngineVersion.builtIn_8_0('3.03.2');
/** Version "8.0.mysql_aurora.3.03.3". */
public static readonly VER_3_03_3 = AuroraMysqlEngineVersion.builtIn_8_0('3.03.3');
/** Version "8.0.mysql_aurora.3.04.0". */
public static readonly VER_3_04_0 = AuroraMysqlEngineVersion.builtIn_8_0('3.04.0');
/** Version "8.0.mysql_aurora.3.04.1". */
public static readonly VER_3_04_1 = AuroraMysqlEngineVersion.builtIn_8_0('3.04.1');
/** Version "8.0.mysql_aurora.3.05.0". */
/**
* Version "8.0.mysql_aurora.3.05.0"
* @deprecated Aurora MySQL 8.0.mysql_aurora.3.05.0 is no longer supported by Amazon RDS.
*/
public static readonly VER_3_05_0 = AuroraMysqlEngineVersion.builtIn_8_0('3.05.0');
/** Version "8.0.mysql_aurora.3.05.1". */
/**
* Version "8.0.mysql_aurora.3.05.1"
* @deprecated Aurora MySQL 8.0.mysql_aurora.3.05.1 is no longer supported by Amazon RDS.
*/
public static readonly VER_3_05_1 = AuroraMysqlEngineVersion.builtIn_8_0('3.05.1');
/** Version "8.0.mysql_aurora.3.05.2". */
public static readonly VER_3_05_2 = AuroraMysqlEngineVersion.builtIn_8_0('3.05.2');
/** Version "8.0.mysql_aurora.3.06.0". */
public static readonly VER_3_06_0 = AuroraMysqlEngineVersion.builtIn_8_0('3.06.0');

/**
* Create a new AuroraMysqlEngineVersion with an arbitrary version.
Expand Down Expand Up @@ -689,6 +718,11 @@ export class AuroraPostgresEngineVersion {
* @deprecated Version 9.6.19 is no longer supported by Amazon RDS.
*/
public static readonly VER_9_6_19 = AuroraPostgresEngineVersion.of('9.6.19', '9.6');
/**
* Version "9.6.22"
* @deprecated Version 9.6.22 is no longer supported by Amazon RDS.
*/
public static readonly VER_9_6_22 = AuroraPostgresEngineVersion.of('9.6.22', '9.6');
/**
* Version "10.4".
* @deprecated Version 10.4 is no longer supported by Amazon RDS.
Expand Down Expand Up @@ -806,15 +840,30 @@ export class AuroraPostgresEngineVersion {
* @deprecated Version 11.15 is no longer supported by Amazon RDS.
*/
public static readonly VER_11_15 = AuroraPostgresEngineVersion.of('11.15', '11', { s3Import: true, s3Export: true });
/** Version "11.16". */
/**
* Version "11.16"
* @deprecated Version 11.16 is no longer supported by Amazon RDS.
*/
public static readonly VER_11_16 = AuroraPostgresEngineVersion.of('11.16', '11', { s3Import: true, s3Export: true });
/** Version "11.17". */
/**
* Version "11.17"
* @deprecated Version 11.17 is no longer supported by Amazon RDS.
*/
public static readonly VER_11_17 = AuroraPostgresEngineVersion.of('11.17', '11', { s3Import: true, s3Export: true });
/** Version "11.18". */
/**
* Version "11.18"
* @deprecated Version 11.18 is no longer supported by Amazon RDS.
*/
public static readonly VER_11_18 = AuroraPostgresEngineVersion.of('11.18', '11', { s3Import: true, s3Export: true });
/** Version "11.19". */
/**
* Version "11.19"
* @deprecated Version 11.19 is no longer supported by Amazon RDS.
*/
public static readonly VER_11_19 = AuroraPostgresEngineVersion.of('11.19', '11', { s3Import: true, s3Export: true });
/** Version "11.20". */
/**
* Version "11.20"
* @deprecated Version 11.20 is no longer supported by Amazon RDS.
*/
public static readonly VER_11_20 = AuroraPostgresEngineVersion.of('11.20', '11', { s3Import: true, s3Export: true });
/** Version "11.21". */
public static readonly VER_11_21 = AuroraPostgresEngineVersion.of('11.21', '11', { s3Import: true, s3Export: true });
Expand Down Expand Up @@ -895,10 +944,7 @@ export class AuroraPostgresEngineVersion {
public static readonly VER_13_13 = AuroraPostgresEngineVersion.of('13.13', '13', { s3Import: true, s3Export: true });
/** Version "14.3". */
public static readonly VER_14_3 = AuroraPostgresEngineVersion.of('14.3', '14', { s3Import: true, s3Export: true });
/**
* Version "14.4".
* @deprecated Version 14.4 is no longer supported by Amazon RDS.
*/
/** Version "14.4". */
public static readonly VER_14_4 = AuroraPostgresEngineVersion.of('14.4', '14', { s3Import: true, s3Export: true });
/** Version "14.5". */
public static readonly VER_14_5 = AuroraPostgresEngineVersion.of('14.5', '14', { s3Import: true, s3Export: true });
Expand All @@ -920,7 +966,10 @@ export class AuroraPostgresEngineVersion {
public static readonly VER_15_4 = AuroraPostgresEngineVersion.of('15.4', '15', { s3Import: true, s3Export: true });
/** Version "15.5". */
public static readonly VER_15_5 = AuroraPostgresEngineVersion.of('15.5', '15', { s3Import: true, s3Export: true });
/** Version "16.0". */
/**
* Version "16.0"
* @deprecated Version 16.0 is no longer supported by Amazon RDS.
*/
public static readonly VER_16_0 = AuroraPostgresEngineVersion.of('16.0', '16', { s3Import: true, s3Export: true });
/** Version "16.1". */
public static readonly VER_16_1 = AuroraPostgresEngineVersion.of('16.1', '16', { s3Import: true, s3Export: true });
Expand Down
Loading

0 comments on commit bf33efd

Please sign in to comment.