Skip to content

Commit 59d795b

Browse files
authored
feat(rds): PostgreSQL engine version 15.2 (#24463)
RDS supports PostgreSQL engine version 15.2, but the `PostgresEngineVersion.VER_15_2` constant is not implemented yet. The current CDK version only lists up to `VER_14_6`. ```sh aws rds describe-db-engine-versions --engine postgres | jq -r '.DBEngineVersions[] | [.EngineVersion]' | grep "15\." "15.2" ``` ### Use Case ```js new DatabaseInstance(this, 'PostgresDatabase', engine: DatabaseInstanceEngine.postgres({ version: PostgresEngineVersion.VER_15_2 }), ) ``` Closes #24462. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 70fd3e9 commit 59d795b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,8 @@ export class PostgresEngineVersion {
10491049

10501050
/** Version "15" (only a major version, without a specific minor version). */
10511051
public static readonly VER_15 = PostgresEngineVersion.of('15', '15', { s3Import: true, s3Export: true });
1052+
/** Version "15.2". */
1053+
public static readonly VER_15_2 = PostgresEngineVersion.of('15.2', '15', { s3Import: true, s3Export: true });
10521054

10531055
/**
10541056
* Create a new PostgresEngineVersion with an arbitrary version.

0 commit comments

Comments
 (0)