Skip to content

Commit 4b0c378

Browse files
authored
feat(rds): add support for postgresql 11.21, 12.16, 13.12, 14.9, 15.4 and deprecate versions out-of-support (#26906)
https://docs.aws.amazon.com/AmazonRDS/latest/PostgreSQLReleaseNotes/postgresql-release-calendar.html ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 8cc9ecb commit 4b0c378

File tree

1 file changed

+134
-31
lines changed

1 file changed

+134
-31
lines changed

packages/aws-cdk-lib/aws-rds/lib/instance-engine.ts

+134-31
Original file line numberDiff line numberDiff line change
@@ -1036,33 +1036,75 @@ export class PostgresEngineVersion {
10361036

10371037
/** Version "11" (only a major version, without a specific minor version). */
10381038
public static readonly VER_11 = PostgresEngineVersion.of('11', '11', { s3Import: true });
1039-
/** Version "11.1". */
1039+
/**
1040+
* Version "11.1".
1041+
* @deprecated PostgreSQL 11.1 is no longer supported by Amazon RDS.
1042+
*/
10401043
public static readonly VER_11_1 = PostgresEngineVersion.of('11.1', '11', { s3Import: true });
1041-
/** Version "11.2". */
1044+
/**
1045+
* Version "11.2".
1046+
* @deprecated PostgreSQL 11.2 is no longer supported by Amazon RDS.
1047+
*/
10421048
public static readonly VER_11_2 = PostgresEngineVersion.of('11.2', '11', { s3Import: true });
1043-
/** Version "11.4". */
1049+
/**
1050+
* Version "11.4".
1051+
* @deprecated PostgreSQL 11.4 is no longer supported by Amazon RDS.
1052+
*/
10441053
public static readonly VER_11_4 = PostgresEngineVersion.of('11.4', '11', { s3Import: true });
1045-
/** Version "11.5". */
1054+
/**
1055+
* Version "11.5".
1056+
* @deprecated PostgreSQL 11.5 is no longer supported by Amazon RDS.
1057+
*/
10461058
public static readonly VER_11_5 = PostgresEngineVersion.of('11.5', '11', { s3Import: true });
1047-
/** Version "11.6". */
1059+
/**
1060+
* Version "11.6".
1061+
* @deprecated PostgreSQL 11.6 is no longer supported by Amazon RDS.
1062+
*/
10481063
public static readonly VER_11_6 = PostgresEngineVersion.of('11.6', '11', { s3Import: true });
1049-
/** Version "11.7". */
1064+
/**
1065+
* Version "11.7".
1066+
* @deprecated PostgreSQL 11.7 is no longer supported by Amazon RDS.
1067+
*/
10501068
public static readonly VER_11_7 = PostgresEngineVersion.of('11.7', '11', { s3Import: true });
1051-
/** Version "11.8". */
1069+
/**
1070+
* Version "11.8".
1071+
* @deprecated PostgreSQL 11.8 is no longer supported by Amazon RDS.
1072+
*/
10521073
public static readonly VER_11_8 = PostgresEngineVersion.of('11.8', '11', { s3Import: true });
1053-
/** Version "11.9". */
1074+
/**
1075+
* Version "11.9".
1076+
* @deprecated PostgreSQL 11.9 is no longer supported by Amazon RDS.
1077+
*/
10541078
public static readonly VER_11_9 = PostgresEngineVersion.of('11.9', '11', { s3Import: true, s3Export: true });
1055-
/** Version "11.10". */
1079+
/**
1080+
* Version "11.10"
1081+
* @deprecated PostgreSQL 11.10 is no longer supported by Amazon RDS.
1082+
*/
10561083
public static readonly VER_11_10 = PostgresEngineVersion.of('11.10', '11', { s3Import: true, s3Export: true });
1057-
/** Version "11.11". */
1084+
/**
1085+
* Version "11.11"
1086+
* @deprecated PostgreSQL 11.11 is no longer supported by Amazon RDS.
1087+
*/
10581088
public static readonly VER_11_11 = PostgresEngineVersion.of('11.11', '11', { s3Import: true, s3Export: true });
1059-
/** Version "11.12". */
1089+
/**
1090+
* Version "11.12"
1091+
* @deprecated PostgreSQL 11.12 is no longer supported by Amazon RDS.
1092+
*/
10601093
public static readonly VER_11_12 = PostgresEngineVersion.of('11.12', '11', { s3Import: true, s3Export: true });
1061-
/** Version "11.13". */
1094+
/**
1095+
* Version "11.13"
1096+
* @deprecated PostgreSQL 11.13 is no longer supported by Amazon RDS.
1097+
*/
10621098
public static readonly VER_11_13 = PostgresEngineVersion.of('11.13', '11', { s3Import: true, s3Export: true });
1063-
/** Version "11.14". */
1099+
/**
1100+
* Version "11.14"
1101+
* @deprecated PostgreSQL 11.14 is no longer supported by Amazon RDS.
1102+
*/
10641103
public static readonly VER_11_14 = PostgresEngineVersion.of('11.14', '11', { s3Import: true, s3Export: true });
1065-
/** Version "11.15". */
1104+
/**
1105+
* Version "11.15"
1106+
* @deprecated PostgreSQL 11.15 is no longer supported by Amazon RDS.
1107+
*/
10661108
public static readonly VER_11_15 = PostgresEngineVersion.of('11.15', '11', { s3Import: true, s3Export: true });
10671109
/** Version "11.16". */
10681110
public static readonly VER_11_16 = PostgresEngineVersion.of('11.16', '11', { s3Import: true, s3Export: true });
@@ -1074,26 +1116,55 @@ export class PostgresEngineVersion {
10741116
public static readonly VER_11_19 = PostgresEngineVersion.of('11.19', '11', { s3Import: true, s3Export: true });
10751117
/** Version "11.20". */
10761118
public static readonly VER_11_20 = PostgresEngineVersion.of('11.20', '11', { s3Import: true, s3Export: true });
1119+
/** Version "11.21". */
1120+
public static readonly VER_11_21 = PostgresEngineVersion.of('11.21', '11', { s3Import: true, s3Export: true });
10771121

10781122
/** Version "12" (only a major version, without a specific minor version). */
10791123
public static readonly VER_12 = PostgresEngineVersion.of('12', '12', { s3Import: true });
1080-
/** Version "12.2". */
1124+
/**
1125+
* Version "12.2".
1126+
* @deprecated PostgreSQL 12.2 is no longer supported by Amazon RDS.
1127+
*/
10811128
public static readonly VER_12_2 = PostgresEngineVersion.of('12.2', '12', { s3Import: true });
1082-
/** Version "12.3". */
1129+
/**
1130+
* Version "12.3".
1131+
* @deprecated PostgreSQL 12.3 is no longer supported by Amazon RDS.
1132+
*/
10831133
public static readonly VER_12_3 = PostgresEngineVersion.of('12.3', '12', { s3Import: true });
1084-
/** Version "12.4". */
1134+
/**
1135+
* Version "12.4".
1136+
* @deprecated PostgreSQL 12.4 is no longer supported by Amazon RDS.
1137+
*/
10851138
public static readonly VER_12_4 = PostgresEngineVersion.of('12.4', '12', { s3Import: true, s3Export: true });
1086-
/** Version "12.5". */
1139+
/**
1140+
* Version "12.5".
1141+
* @deprecated PostgreSQL 12.5 is no longer supported by Amazon RDS.
1142+
*/
10871143
public static readonly VER_12_5 = PostgresEngineVersion.of('12.5', '12', { s3Import: true, s3Export: true });
1088-
/** Version "12.6". */
1144+
/**
1145+
* Version "12.6".
1146+
* @deprecated PostgreSQL 12.6 is no longer supported by Amazon RDS.
1147+
*/
10891148
public static readonly VER_12_6 = PostgresEngineVersion.of('12.6', '12', { s3Import: true, s3Export: true });
1090-
/** Version "12.7". */
1149+
/**
1150+
* Version "12.7".
1151+
* @deprecated PostgreSQL 12.7 is no longer supported by Amazon RDS.
1152+
*/
10911153
public static readonly VER_12_7 = PostgresEngineVersion.of('12.7', '12', { s3Import: true, s3Export: true });
1092-
/** Version "12.8". */
1154+
/**
1155+
* Version "12.8".
1156+
* @deprecated PostgreSQL 12.8 is no longer supported by Amazon RDS.
1157+
*/
10931158
public static readonly VER_12_8 = PostgresEngineVersion.of('12.8', '12', { s3Import: true, s3Export: true });
1094-
/** Version "12.9". */
1159+
/**
1160+
* Version "12.9".
1161+
* @deprecated PostgreSQL 12.9 is no longer supported by Amazon RDS.
1162+
*/
10951163
public static readonly VER_12_9 = PostgresEngineVersion.of('12.9', '12', { s3Import: true, s3Export: true });
1096-
/** Version "12.10". */
1164+
/**
1165+
* Version "12.10"
1166+
* @deprecated PostgreSQL 12.10 is no longer supported by Amazon RDS.
1167+
*/
10971168
public static readonly VER_12_10 = PostgresEngineVersion.of('12.10', '12', { s3Import: true, s3Export: true });
10981169
/** Version "12.11". */
10991170
public static readonly VER_12_11 = PostgresEngineVersion.of('12.11', '12', { s3Import: true, s3Export: true });
@@ -1105,20 +1176,40 @@ export class PostgresEngineVersion {
11051176
public static readonly VER_12_14 = PostgresEngineVersion.of('12.14', '12', { s3Import: true, s3Export: true });
11061177
/** Version "12.15". */
11071178
public static readonly VER_12_15 = PostgresEngineVersion.of('12.15', '12', { s3Import: true, s3Export: true });
1179+
/** Version "12.16". */
1180+
public static readonly VER_12_16 = PostgresEngineVersion.of('12.16', '12', { s3Import: true, s3Export: true });
11081181

11091182
/** Version "13" (only a major version, without a specific minor version). */
11101183
public static readonly VER_13 = PostgresEngineVersion.of('13', '13', { s3Import: true, s3Export: true });
1111-
/** Version "13.1". */
1184+
/**
1185+
* Version "13.1".
1186+
* @deprecated PostgreSQL 13.1 is no longer supported by Amazon RDS.
1187+
*/
11121188
public static readonly VER_13_1 = PostgresEngineVersion.of('13.1', '13', { s3Import: true, s3Export: true });
1113-
/** Version "13.2". */
1189+
/**
1190+
* Version "13.2".
1191+
* @deprecated PostgreSQL 13.2 is no longer supported by Amazon RDS.
1192+
*/
11141193
public static readonly VER_13_2 = PostgresEngineVersion.of('13.2', '13', { s3Import: true, s3Export: true });
1115-
/** Version "13.3". */
1194+
/**
1195+
* Version "13.3".
1196+
* @deprecated PostgreSQL 13.3 is no longer supported by Amazon RDS.
1197+
*/
11161198
public static readonly VER_13_3 = PostgresEngineVersion.of('13.3', '13', { s3Import: true, s3Export: true });
1117-
/** Version "13.4". */
1199+
/**
1200+
* Version "13.4".
1201+
* @deprecated PostgreSQL 13.4 is no longer supported by Amazon RDS.
1202+
*/
11181203
public static readonly VER_13_4 = PostgresEngineVersion.of('13.4', '13', { s3Import: true, s3Export: true });
1119-
/** Version "13.5". */
1204+
/**
1205+
* Version "13.5".
1206+
* @deprecated PostgreSQL 13.5 is no longer supported by Amazon RDS.
1207+
*/
11201208
public static readonly VER_13_5 = PostgresEngineVersion.of('13.5', '13', { s3Import: true, s3Export: true });
1121-
/** Version "13.6". */
1209+
/**
1210+
* Version "13.6".
1211+
* @deprecated PostgreSQL 13.6 is no longer supported by Amazon RDS.
1212+
*/
11221213
public static readonly VER_13_6 = PostgresEngineVersion.of('13.6', '13', { s3Import: true, s3Export: true });
11231214
/** Version "13.7". */
11241215
public static readonly VER_13_7 = PostgresEngineVersion.of('13.7', '13', { s3Import: true, s3Export: true });
@@ -1130,12 +1221,20 @@ export class PostgresEngineVersion {
11301221
public static readonly VER_13_10 = PostgresEngineVersion.of('13.10', '13', { s3Import: true, s3Export: true });
11311222
/** Version "13.11". */
11321223
public static readonly VER_13_11 = PostgresEngineVersion.of('13.11', '13', { s3Import: true, s3Export: true });
1224+
/** Version "13.12". */
1225+
public static readonly VER_13_12 = PostgresEngineVersion.of('13.12', '13', { s3Import: true, s3Export: true });
11331226

11341227
/** Version "14" (only a major version, without a specific minor version). */
11351228
public static readonly VER_14 = PostgresEngineVersion.of('14', '14', { s3Import: true, s3Export: true });
1136-
/** Version "14.1". */
1229+
/**
1230+
* Version "14.1".
1231+
* @deprecated PostgreSQL 14.1 is no longer supported by Amazon RDS.
1232+
*/
11371233
public static readonly VER_14_1 = PostgresEngineVersion.of('14.1', '14', { s3Import: true, s3Export: true });
1138-
/** Version "14.2". */
1234+
/**
1235+
* Version "14.2".
1236+
* @deprecated PostgreSQL 14.2 is no longer supported by Amazon RDS.
1237+
*/
11391238
public static readonly VER_14_2 = PostgresEngineVersion.of('14.2', '14', { s3Import: true, s3Export: true });
11401239
/** Version "14.3". */
11411240
public static readonly VER_14_3 = PostgresEngineVersion.of('14.3', '14', { s3Import: true, s3Export: true });
@@ -1149,13 +1248,17 @@ export class PostgresEngineVersion {
11491248
public static readonly VER_14_7 = PostgresEngineVersion.of('14.7', '14', { s3Import: true, s3Export: true });
11501249
/** Version "14.8". */
11511250
public static readonly VER_14_8 = PostgresEngineVersion.of('14.8', '14', { s3Import: true, s3Export: true });
1251+
/** Version "14.9". */
1252+
public static readonly VER_14_9 = PostgresEngineVersion.of('14.9', '14', { s3Import: true, s3Export: true });
11521253

11531254
/** Version "15" (only a major version, without a specific minor version). */
11541255
public static readonly VER_15 = PostgresEngineVersion.of('15', '15', { s3Import: true, s3Export: true });
11551256
/** Version "15.2". */
11561257
public static readonly VER_15_2 = PostgresEngineVersion.of('15.2', '15', { s3Import: true, s3Export: true });
11571258
/** Version "15.3". */
11581259
public static readonly VER_15_3 = PostgresEngineVersion.of('15.3', '15', { s3Import: true, s3Export: true });
1260+
/** Version "15.4". */
1261+
public static readonly VER_15_4 = PostgresEngineVersion.of('15.4', '15', { s3Import: true, s3Export: true });
11591262

11601263
/**
11611264
* Create a new PostgresEngineVersion with an arbitrary version.

0 commit comments

Comments
 (0)