Skip to content

Commit ee7672a

Browse files
author
Tarun Belani
committed
Merge branch 'aws:main' into imagebuilder-component
2 parents 543dea7 + b293fd8 commit ee7672a

3 files changed

Lines changed: 43 additions & 11 deletions

File tree

packages/@aws-cdk/aws-imagebuilder-alpha/lib/component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ export class Component extends ComponentBase {
11381138
public static fromComponentAttributes(scope: Construct, id: string, attrs: ComponentAttributes): IComponent {
11391139
if (attrs.componentArn && (attrs.componentName || attrs.componentVersion)) {
11401140
throw new cdk.ValidationError(
1141-
'a componentName/componentVersion cannot be provided when a componentArn is provided',
1141+
'a componentName or componentVersion cannot be provided when a componentArn is provided',
11421142
scope,
11431143
);
11441144
}
@@ -1157,7 +1157,7 @@ export class Component extends ComponentBase {
11571157

11581158
const [componentName, componentVersion] = (() => {
11591159
if (attrs.componentName) {
1160-
return [attrs.componentName, attrs.componentVersion ?? 'x.x.x'];
1160+
return [attrs.componentName, attrs.componentVersion ?? LATEST_VERSION];
11611161
}
11621162

11631163
const componentNameVersion = cdk.Stack.of(scope).splitArn(

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

Lines changed: 36 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,11 +1133,20 @@ export class AuroraPostgresEngineVersion {
11331133
* @deprecated Version 13.10 is no longer supported by Amazon RDS.
11341134
*/
11351135
public static readonly VER_13_10 = AuroraPostgresEngineVersion.of('13.10', '13', { s3Import: true, s3Export: true });
1136-
/** Version "13.11". */
1136+
/**
1137+
* Version "13.11"
1138+
* @deprecated Version 13.11 is no longer supported by Amazon RDS.
1139+
*/
11371140
public static readonly VER_13_11 = AuroraPostgresEngineVersion.of('13.11', '13', { s3Import: true, s3Export: true });
1138-
/** Version "13.12". */
1141+
/**
1142+
* Version "13.12"
1143+
* @deprecated Version 13.12 is no longer supported by Amazon RDS.
1144+
*/
11391145
public static readonly VER_13_12 = AuroraPostgresEngineVersion.of('13.12', '13', { s3Import: true, s3Export: true });
1140-
/** Version "13.13". */
1146+
/**
1147+
* Version "13.13"
1148+
* @deprecated Version 13.13 is no longer supported by Amazon RDS.
1149+
*/
11411150
public static readonly VER_13_13 = AuroraPostgresEngineVersion.of('13.13', '13', { s3Import: true, s3Export: true });
11421151
/** Version "13.14". */
11431152
public static readonly VER_13_14 = AuroraPostgresEngineVersion.of('13.14', '13', { s3Import: true, s3Export: true });
@@ -1178,11 +1187,20 @@ export class AuroraPostgresEngineVersion {
11781187
* @deprecated Version 14.7 is no longer supported by Amazon RDS.
11791188
*/
11801189
public static readonly VER_14_7 = AuroraPostgresEngineVersion.of('14.7', '14', { s3Import: true, s3Export: true });
1181-
/** Version "14.8". */
1190+
/**
1191+
* Version "14.8"
1192+
* @deprecated Version 14.8 is no longer supported by Amazon RDS.
1193+
*/
11821194
public static readonly VER_14_8 = AuroraPostgresEngineVersion.of('14.8', '14', { s3Import: true, s3Export: true });
1183-
/** Version "14.9". */
1195+
/**
1196+
* Version "14.9"
1197+
* @deprecated Version 14.9 is no longer supported by Amazon RDS.
1198+
*/
11841199
public static readonly VER_14_9 = AuroraPostgresEngineVersion.of('14.9', '14', { s3Import: true, s3Export: true });
1185-
/** Version "14.10". */
1200+
/**
1201+
* Version "14.10"
1202+
* @deprecated Version 14.10 is no longer supported by Amazon RDS.
1203+
*/
11861204
public static readonly VER_14_10 = AuroraPostgresEngineVersion.of('14.10', '14', { s3Import: true, s3Export: true });
11871205
/** Version "14.11". */
11881206
public static readonly VER_14_11 = AuroraPostgresEngineVersion.of('14.11', '14', { s3Import: true, s3Export: true });
@@ -1206,11 +1224,20 @@ export class AuroraPostgresEngineVersion {
12061224
* @deprecated Version 15.2 is no longer supported by Amazon RDS.
12071225
*/
12081226
public static readonly VER_15_2 = AuroraPostgresEngineVersion.of('15.2', '15', { s3Import: true, s3Export: true });
1209-
/** Version "15.3". */
1227+
/**
1228+
* Version "15.3"
1229+
* @deprecated Version 15.3 is no longer supported by Amazon RDS.
1230+
*/
12101231
public static readonly VER_15_3 = AuroraPostgresEngineVersion.of('15.3', '15', { s3Import: true, s3Export: true });
1211-
/** Version "15.4". */
1232+
/**
1233+
* Version "15.4"
1234+
* @deprecated Version 15.4 is no longer supported by Amazon RDS.
1235+
*/
12121236
public static readonly VER_15_4 = AuroraPostgresEngineVersion.of('15.4', '15', { s3Import: true, s3Export: true });
1213-
/** Version "15.5". */
1237+
/**
1238+
* Version "15.5"
1239+
* @deprecated Version 15.5 is no longer supported by Amazon RDS.
1240+
*/
12141241
public static readonly VER_15_5 = AuroraPostgresEngineVersion.of('15.5', '15', { s3Import: true, s3Export: true });
12151242
/** Version "15.6". */
12161243
public static readonly VER_15_6 = AuroraPostgresEngineVersion.of('15.6', '15', { s3Import: true, s3Export: true });

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1944,6 +1944,11 @@ export class PostgresEngineVersion {
19441944
/** Version "17.7". */
19451945
public static readonly VER_17_7 = PostgresEngineVersion.of('17.7', '17', { s3Import: true, s3Export: true });
19461946

1947+
/** Version "18" (only a major version, without a specific minor version). */
1948+
public static readonly VER_18 = PostgresEngineVersion.of('18', '18', { s3Import: true, s3Export: true });
1949+
/** Version "18.1". */
1950+
public static readonly VER_18_1 = PostgresEngineVersion.of('18.1', '18', { s3Import: true, s3Export: true });
1951+
19471952
/**
19481953
* Create a new PostgresEngineVersion with an arbitrary version.
19491954
*

0 commit comments

Comments
 (0)