pythonamazon-web-servicesaws-cdkpostgresql-15

Unable to use Postgres VER_15_5 using AWS CDDK python


While trying to upgrade minor version AWS Aurora Postgres from 15.3 to 15.5, I am getting below error.

AttributeError: type object 'AuroraPostgresEngineVersion' has no attribute 'VER_15_5'. Did you mean: 'VER_10_5'?

CDK version: 2.99


Solution

  • It was added in CDK version 2.118 in this commit

    You can use it in an earlier version directly:

    AuroraPostgresEngineVersion.of('15.5', '15', { s3Import: true, s3Export: true });