Skip to content

Commit

Permalink
Merge branch 'main' into rbp-fix-lhnng
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeroyHannigan authored Aug 13, 2024
2 parents 7c74c78 + 5b3b2d1 commit 35db782
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/aws-cdk-lib/aws-rds/lib/cluster-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,8 @@ export class AuroraPostgresEngineVersion {
public static readonly VER_12_17 = AuroraPostgresEngineVersion.of('12.17', '12', { s3Import: true, s3Export: true });
/** Version "12.18". */
public static readonly VER_12_18 = AuroraPostgresEngineVersion.of('12.18', '12', { s3Import: true, s3Export: true });
/** Version "12.19". */
public static readonly VER_12_19 = AuroraPostgresEngineVersion.of('12.19', '12', { s3Import: true, s3Export: true });
/**
* Version "13.3".
* @deprecated Version 13.3 is no longer supported by Amazon RDS.
Expand Down Expand Up @@ -982,6 +984,8 @@ export class AuroraPostgresEngineVersion {
public static readonly VER_13_13 = AuroraPostgresEngineVersion.of('13.13', '13', { s3Import: true, s3Export: true });
/** Version "13.14". */
public static readonly VER_13_14 = AuroraPostgresEngineVersion.of('13.14', '13', { s3Import: true, s3Export: true });
/** Version "13.15". */
public static readonly VER_13_15 = AuroraPostgresEngineVersion.of('13.15', '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". */
Expand All @@ -1000,6 +1004,8 @@ export class AuroraPostgresEngineVersion {
public static readonly VER_14_10 = AuroraPostgresEngineVersion.of('14.10', '14', { s3Import: true, s3Export: true });
/** Version "14.11". */
public static readonly VER_14_11 = AuroraPostgresEngineVersion.of('14.11', '14', { s3Import: true, s3Export: true });
/** Version "14.12". */
public static readonly VER_14_12 = AuroraPostgresEngineVersion.of('14.12', '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". */
Expand All @@ -1010,6 +1016,8 @@ export class AuroraPostgresEngineVersion {
public static readonly VER_15_5 = AuroraPostgresEngineVersion.of('15.5', '15', { s3Import: true, s3Export: true });
/** Version "15.6". */
public static readonly VER_15_6 = AuroraPostgresEngineVersion.of('15.6', '15', { s3Import: true, s3Export: true });
/** Version "15.7". */
public static readonly VER_15_7 = AuroraPostgresEngineVersion.of('15.7', '15', { s3Import: true, s3Export: true });
/**
* Version "16.0"
* @deprecated Version 16.0 is no longer supported by Amazon RDS.
Expand Down
20 changes: 20 additions & 0 deletions packages/aws-cdk-lib/aws-rds/lib/instance-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,8 @@ export class MysqlEngineVersion {
public static readonly VER_8_0_36 = MysqlEngineVersion.of('8.0.36', '8.0');
/** Version "8.0.37". */
public static readonly VER_8_0_37 = MysqlEngineVersion.of('8.0.37', '8.0');
/** Version "8.0.39". */
public static readonly VER_8_0_39 = MysqlEngineVersion.of('8.0.39', '8.0');

/**
* Create a new MysqlEngineVersion with an arbitrary version.
Expand Down Expand Up @@ -1525,6 +1527,8 @@ export class PostgresEngineVersion {
public static readonly VER_12_18 = PostgresEngineVersion.of('12.18', '12', { s3Import: true, s3Export: true });
/** Version "12.19". */
public static readonly VER_12_19 = PostgresEngineVersion.of('12.19', '12', { s3Import: true, s3Export: true });
/** Version "12.20". */
public static readonly VER_12_20 = PostgresEngineVersion.of('12.20', '12', { s3Import: true, s3Export: true });

/** Version "13" (only a major version, without a specific minor version). */
public static readonly VER_13 = PostgresEngineVersion.of('13', '13', { s3Import: true, s3Export: true });
Expand Down Expand Up @@ -1588,6 +1592,8 @@ export class PostgresEngineVersion {
public static readonly VER_13_14 = PostgresEngineVersion.of('13.14', '13', { s3Import: true, s3Export: true });
/** Version "13.15". */
public static readonly VER_13_15 = PostgresEngineVersion.of('13.15', '13', { s3Import: true, s3Export: true });
/** Version "13.16". */
public static readonly VER_13_16 = PostgresEngineVersion.of('13.16', '13', { s3Import: true, s3Export: true });

/** Version "14" (only a major version, without a specific minor version). */
public static readonly VER_14 = PostgresEngineVersion.of('14', '14', { s3Import: true, s3Export: true });
Expand Down Expand Up @@ -1639,6 +1645,8 @@ export class PostgresEngineVersion {
public static readonly VER_14_11 = PostgresEngineVersion.of('14.11', '14', { s3Import: true, s3Export: true });
/** Version "14.12". */
public static readonly VER_14_12 = PostgresEngineVersion.of('14.12', '14', { s3Import: true, s3Export: true });
/** Version "14.13". */
public static readonly VER_14_13 = PostgresEngineVersion.of('14.13', '14', { s3Import: true, s3Export: true });

/** Version "15" (only a major version, without a specific minor version). */
public static readonly VER_15 = PostgresEngineVersion.of('15', '15', { s3Import: true, s3Export: true });
Expand All @@ -1660,6 +1668,8 @@ export class PostgresEngineVersion {
public static readonly VER_15_6 = PostgresEngineVersion.of('15.6', '15', { s3Import: true, s3Export: true });
/** Version "15.7". */
public static readonly VER_15_7 = PostgresEngineVersion.of('15.7', '15', { s3Import: true, s3Export: true });
/** Version "15.8". */
public static readonly VER_15_8 = PostgresEngineVersion.of('15.8', '15', { s3Import: true, s3Export: true });

/** Version "16" (only a major version, without a specific minor version). */
public static readonly VER_16 = PostgresEngineVersion.of('16', '16', { s3Import: true, s3Export: true });
Expand Down Expand Up @@ -2549,6 +2559,8 @@ export class SqlServerEngineVersion {
public static readonly VER_13_00_6430_49_V1 = SqlServerEngineVersion.of('13.00.6430.49.v1', '13.00');
/** Version "13.00.6435.1.v1". */
public static readonly VER_13_00_6435_1_V1 = SqlServerEngineVersion.of('13.00.6435.1.v1', '13.00');
/** Version "13.00.6441.1.v1". */
public static readonly VER_13_00_6441_1_V1 = SqlServerEngineVersion.of('13.00.6441.1.v1', '13.00');

/** Version "14.00" (only a major version, without a specific minor version). */
public static readonly VER_14 = SqlServerEngineVersion.of('14.00', '14.00');
Expand Down Expand Up @@ -2600,6 +2612,8 @@ export class SqlServerEngineVersion {
public static readonly VER_14_00_3460_9_V1 = SqlServerEngineVersion.of('14.00.3460.9.v1', '14.00');
/** Version "14.00.3465.1.v1". */
public static readonly VER_14_00_3465_1_V1 = SqlServerEngineVersion.of('14.00.3465.1.v1', '14.00');
/** Version "14.00.3471.2.v1 ". */
public static readonly VER_14_00_3471_2_V1 = SqlServerEngineVersion.of('14.00.3471.2.v1 ', '14.00');

/** Version "15.00" (only a major version, without a specific minor version). */
public static readonly VER_15 = SqlServerEngineVersion.of('15.00', '15.00');
Expand Down Expand Up @@ -2632,6 +2646,10 @@ export class SqlServerEngineVersion {
public static readonly VER_15_00_4345_5_V1 = SqlServerEngineVersion.of('15.00.4345.5.v1', '15.00');
/** Version "15.00.4365.2.v1". */
public static readonly VER_15_00_4365_2_V1 = SqlServerEngineVersion.of('15.00.4365.2.v1', '15.00');
/** Version "15.00.4375.4.v1". */
public static readonly VER_15_00_4375_4_V1 = SqlServerEngineVersion.of('15.00.4375.4.v1', '15.00');
/** Version "15.00.4382.1.v1". */
public static readonly VER_15_00_4382_1_V1 = SqlServerEngineVersion.of('15.00.4382.1.v1', '15.00');

/** Version "16.00" (only a major version, without a specific minor version). */
public static readonly VER_16 = SqlServerEngineVersion.of('16.00', '16.00');
Expand All @@ -2647,6 +2665,8 @@ export class SqlServerEngineVersion {
public static readonly VER_16_00_4120_1_V1 = SqlServerEngineVersion.of('16.00.4120.1.v1', '16.00');
/** Version "16.00.4125.3.v1". */
public static readonly VER_16_00_4125_3_V1 = SqlServerEngineVersion.of('16.00.4125.3.v1', '16.00');
/** Version "16.00.4131.2.v1". */
public static readonly VER_16_00_4131_2_V1 = SqlServerEngineVersion.of('16.00.4131.2.v1', '16.00');

/**
* Create a new SqlServerEngineVersion with an arbitrary version.
Expand Down
2 changes: 2 additions & 0 deletions packages/aws-cdk-lib/aws-rds/test/cluster-engine.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ describe('cluster engine', () => {
'aurora-postgresql10');
expect(DatabaseClusterEngine.auroraPostgres({ version: AuroraPostgresEngineVersion.of('14.3', '14') }).parameterGroupFamily).toEqual(
'aurora-postgresql14');
expect(DatabaseClusterEngine.auroraPostgres({ version: AuroraPostgresEngineVersion.of('15.7', '15') }).parameterGroupFamily).toEqual(
'aurora-postgresql15');
expect(DatabaseClusterEngine.auroraPostgres({ version: AuroraPostgresEngineVersion.of('16.3', '16') }).parameterGroupFamily).toEqual(
'aurora-postgresql16');
});
Expand Down

0 comments on commit 35db782

Please sign in to comment.