Skip to content

Commit

Permalink
chore(rds): add support for newer aurora postgresql versions and depr…
Browse files Browse the repository at this point in the history
…ecate out-of-support versions (#27731)

Added newly supported aurora rds postgres versions, as well as deprecated versions no longer supported by aws.

Versions added: `11.20, 11.21, 12.15, 12.16, 13.11, 13.12, 14.9, 15.4`.

[Aurora Postgres Versions](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraPostgreSQLReleaseNotes/AuroraPostgreSQL.Updates.html)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
veho-mac committed Nov 27, 2023
1 parent 6c2d1b7 commit 04eaa54
Showing 1 changed file with 96 additions and 20 deletions.
116 changes: 96 additions & 20 deletions packages/aws-cdk-lib/aws-rds/lib/cluster-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -725,17 +725,35 @@ export class AuroraPostgresEngineVersion {
* @deprecated Version 10.14 is no longer supported by Amazon RDS.
*/
public static readonly VER_10_14 = AuroraPostgresEngineVersion.of('10.14', '10', { s3Import: true, s3Export: true });
/** Version "10.16". */
/**
* Version "10.16".
* @deprecated Version 10.16 is no longer supported by Amazon RDS.
*/
public static readonly VER_10_16 = AuroraPostgresEngineVersion.of('10.16', '10', { s3Import: true, s3Export: true });
/** Version "10.17". */
/**
* Version "10.17".
* @deprecated Version 10.17 is no longer supported by Amazon RDS.
*/
public static readonly VER_10_17 = AuroraPostgresEngineVersion.of('10.17', '10', { s3Import: true, s3Export: true });
/** Version "10.18". */
/**
* Version "10.18".
* @deprecated Version 10.18 is no longer supported by Amazon RDS.
*/
public static readonly VER_10_18 = AuroraPostgresEngineVersion.of('10.18', '10', { s3Import: true, s3Export: true });
/** Version "10.19". */
/**
* Version "10.19".
* @deprecated Version 10.19 is no longer supported by Amazon RDS.
*/
public static readonly VER_10_19 = AuroraPostgresEngineVersion.of('10.19', '10', { s3Import: true, s3Export: true });
/** Version "10.20". */
/**
* Version "10.20".
* @deprecated Version 10.20 is no longer supported by Amazon RDS.
*/
public static readonly VER_10_20 = AuroraPostgresEngineVersion.of('10.20', '10', { s3Import: true, s3Export: true });
/** Version "10.21". */
/**
* Version "10.21".
* @deprecated Version 10.21 is no longer supported by Amazon RDS.
*/
public static readonly VER_10_21 = AuroraPostgresEngineVersion.of('10.21', '10', { s3Import: true, s3Export: true });
/**
* Version "11.4".
Expand All @@ -759,15 +777,30 @@ export class AuroraPostgresEngineVersion {
public static readonly VER_11_8 = AuroraPostgresEngineVersion.of('11.8', '11', { s3Import: true, s3Export: true });
/** Version "11.9". */
public static readonly VER_11_9 = AuroraPostgresEngineVersion.of('11.9', '11', { s3Import: true, s3Export: true });
/** Version "11.11". */
/**
* Version "11.11".
* @deprecated Version 11.11 is no longer supported by Amazon RDS.
*/
public static readonly VER_11_11 = AuroraPostgresEngineVersion.of('11.11', '11', { s3Import: true, s3Export: true });
/** Version "11.12". */
/**
* Version "11.12".
* @deprecated Version 11.12 is no longer supported by Amazon RDS.
*/
public static readonly VER_11_12 = AuroraPostgresEngineVersion.of('11.12', '11', { s3Import: true, s3Export: true });
/** Version "11.13". */
/**
* Version "11.13".
* @deprecated Version 11.13 is no longer supported by Amazon RDS.
*/
public static readonly VER_11_13 = AuroraPostgresEngineVersion.of('11.13', '11', { s3Import: true, s3Export: true });
/** Version "11.14". */
/**
* Version "11.14".
* @deprecated Version 11.14 is no longer supported by Amazon RDS.
*/
public static readonly VER_11_14 = AuroraPostgresEngineVersion.of('11.14', '11', { s3Import: true, s3Export: true });
/** Version "11.15". */
/**
* Version "11.15".
* @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". */
public static readonly VER_11_16 = AuroraPostgresEngineVersion.of('11.16', '11', { s3Import: true, s3Export: true });
Expand All @@ -777,17 +810,36 @@ export class AuroraPostgresEngineVersion {
public static readonly VER_11_18 = AuroraPostgresEngineVersion.of('11.18', '11', { s3Import: true, s3Export: true });
/** Version "11.19". */
public static readonly VER_11_19 = AuroraPostgresEngineVersion.of('11.19', '11', { s3Import: true, s3Export: true });
/** Version "12.4". */
/** Version "11.20". */
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 });
/**
* Version "12.4".
* @deprecated Version 12.4 is no longer supported by Amazon RDS.
*/
public static readonly VER_12_4 = AuroraPostgresEngineVersion.of('12.4', '12', { s3Import: true, s3Export: true });
/** Version "12.6". */
/**
* Version "12.6".
* @deprecated Version 12.6 is no longer supported by Amazon RDS.
*/
public static readonly VER_12_6 = AuroraPostgresEngineVersion.of('12.6', '12', { s3Import: true, s3Export: true });
/** Version "12.7". */
/**
* Version "12.7".
* @deprecated Version 12.7 is no longer supported by Amazon RDS.
*/
public static readonly VER_12_7 = AuroraPostgresEngineVersion.of('12.7', '12', { s3Import: true, s3Export: true });
/** Version "12.8". */
/**
* Version "12.8".
* @deprecated Version 12.8 is no longer supported by Amazon RDS.
*/
public static readonly VER_12_8 = AuroraPostgresEngineVersion.of('12.8', '12', { s3Import: true, s3Export: true });
/** Version "12.9". */
public static readonly VER_12_9 = AuroraPostgresEngineVersion.of('12.9', '12', { s3Import: true, s3Export: true });
/** Version "12.10". */
/**
* Version "12.10".
* @deprecated Version 12.10 is no longer supported by Amazon RDS.
*/
public static readonly VER_12_10 = AuroraPostgresEngineVersion.of('12.10', '12', { s3Import: true, s3Export: true });
/** Version "12.11". */
public static readonly VER_12_11 = AuroraPostgresEngineVersion.of('12.11', '12', { s3Import: true, s3Export: true });
Expand All @@ -797,13 +849,29 @@ export class AuroraPostgresEngineVersion {
public static readonly VER_12_13 = AuroraPostgresEngineVersion.of('12.13', '12', { s3Import: true, s3Export: true });
/** Version "12.14". */
public static readonly VER_12_14 = AuroraPostgresEngineVersion.of('12.14', '12', { s3Import: true, s3Export: true });
/** Version "13.3". */
/** Version "12.15". */
public static readonly VER_12_15 = AuroraPostgresEngineVersion.of('12.15', '12', { s3Import: true, s3Export: true });
/** Version "12.16". */
public static readonly VER_12_16 = AuroraPostgresEngineVersion.of('12.16', '12', { s3Import: true, s3Export: true });
/**
* Version "13.3".
* @deprecated Version 13.3 is no longer supported by Amazon RDS.
*/
public static readonly VER_13_3 = AuroraPostgresEngineVersion.of('13.3', '13', { s3Import: true, s3Export: true });
/** Version "13.4". */
/**
* Version "13.4".
* @deprecated Version 13.4 is no longer supported by Amazon RDS.
*/
public static readonly VER_13_4 = AuroraPostgresEngineVersion.of('13.4', '13', { s3Import: true, s3Export: true });
/** Version "13.5". */
/**
* Version "13.5".
* @deprecated Version 13.5 is no longer supported by Amazon RDS.
*/
public static readonly VER_13_5 = AuroraPostgresEngineVersion.of('13.5', '13', { s3Import: true, s3Export: true });
/** Version "13.6". */
/**
* Version "13.6".
* @deprecated Version 13.6 is no longer supported by Amazon RDS.
*/
public static readonly VER_13_6 = AuroraPostgresEngineVersion.of('13.6', '13', { s3Import: true, s3Export: true });
/** Version "13.7". */
public static readonly VER_13_7 = AuroraPostgresEngineVersion.of('13.7', '13', { s3Import: true, s3Export: true });
Expand All @@ -813,6 +881,10 @@ export class AuroraPostgresEngineVersion {
public static readonly VER_13_9 = AuroraPostgresEngineVersion.of('13.9', '13', { s3Import: true, s3Export: true });
/** Version "13.10". */
public static readonly VER_13_10 = AuroraPostgresEngineVersion.of('13.10', '13', { s3Import: true, s3Export: true });
/** Version "13.11". */
public static readonly VER_13_11 = AuroraPostgresEngineVersion.of('13.11', '13', { s3Import: true, s3Export: true });
/** Version "13.12". */
public static readonly VER_13_12 = AuroraPostgresEngineVersion.of('13.12', '13', { s3Import: true, s3Export: true });
/** Version "14.3". */
public static readonly VER_14_3 = AuroraPostgresEngineVersion.of('14.3', '14', { s3Import: true, s3Export: true });
/**
Expand All @@ -828,10 +900,14 @@ export class AuroraPostgresEngineVersion {
public static readonly VER_14_7 = AuroraPostgresEngineVersion.of('14.7', '14', { s3Import: true, s3Export: true });
/** Version "14.8". */
public static readonly VER_14_8 = AuroraPostgresEngineVersion.of('14.8', '14', { s3Import: true, s3Export: true });
/** Version "14.9". */
public static readonly VER_14_9 = AuroraPostgresEngineVersion.of('14.9', '14', { s3Import: true, s3Export: true });
/** Version "15.2". */
public static readonly VER_15_2 = AuroraPostgresEngineVersion.of('15.2', '15', { s3Import: true, s3Export: true });
/** Version "15.3". */
public static readonly VER_15_3 = AuroraPostgresEngineVersion.of('15.3', '15', { s3Import: true, s3Export: true });
/** Version "15.4". */
public static readonly VER_15_4 = AuroraPostgresEngineVersion.of('15.4', '15', { s3Import: true, s3Export: true })

/**
* Create a new AuroraPostgresEngineVersion with an arbitrary version.
Expand Down

0 comments on commit 04eaa54

Please sign in to comment.