Skip to content
v2.275.0

PostgresEngineVersion Class ​

The versions for the PostgreSQL instance engines (those returned by DatabaseInstanceEngine.postgres).

Example ​

ts
declare const vpc: ec2.Vpc;
const instance = new rds.DatabaseInstance(this, 'Database', {
  engine: rds.DatabaseInstanceEngine.postgres({
    version: rds.PostgresEngineVersion.VER_17_7,
  }),
  vpc,
  iamAuthentication: true,
});

const proxy = new rds.DatabaseProxy(this, 'Proxy', {
  proxyTarget: rds.ProxyTarget.fromInstance(instance),
  vpc,
  defaultAuthScheme: rds.DefaultAuthScheme.IAM_AUTH, // No secrets required
});

// Grant IAM permissions for database connection
const role = new iam.Role(this, 'DBRole', { assumedBy: new iam.AccountPrincipal(this.account) });
proxy.grantConnect(role, 'database-user'); // Database user must be specified when using IAM auth

Properties ​

postgresFullVersionstringpostgres_full_versionstrpostgresFullVersionStringPostgresFullVersionstringPostgresFullVersion*string#
The full version string, for example, "13.11".
postgresMajorVersionstringpostgres_major_versionstrpostgresMajorVersionStringPostgresMajorVersionstringPostgresMajorVersion*string#
The major version of the engine, for example, "13".
PostgreSQL 10 is no longer supported by Amazon RDS.
PostgreSQL 10 is no longer supported by Amazon RDS.
PostgreSQL 10.10 is no longer supported by Amazon RDS.
PostgreSQL 10.11 is no longer supported by Amazon RDS.
PostgreSQL 10.12 is no longer supported by Amazon RDS.
PostgreSQL 10.13 is no longer supported by Amazon RDS.
PostgreSQL 10.14 is no longer supported by Amazon RDS.
PostgreSQL 10.15 is no longer supported by Amazon RDS.
PostgreSQL 10.16 is no longer supported by Amazon RDS.
PostgreSQL 10.17 is no longer supported by Amazon RDS.
PostgreSQL 10.18 is no longer supported by Amazon RDS.
PostgreSQL 10.19 is no longer supported by Amazon RDS.
PostgreSQL 10.20 is no longer supported by Amazon RDS.
PostgreSQL 10.21 is no longer supported by Amazon RDS.
PostgreSQL 10.22 is no longer supported by Amazon RDS.
PostgreSQL 10.23 is no longer supported by Amazon RDS.
PostgreSQL 10.3 is no longer supported by Amazon RDS.
PostgreSQL 10.4 is no longer supported by Amazon RDS.
PostgreSQL 10.5 is no longer supported by Amazon RDS.
PostgreSQL 10.6 is no longer supported by Amazon RDS.
PostgreSQL 10.7 is no longer supported by Amazon RDS.
PostgreSQL 10.9 is no longer supported by Amazon RDS.
Version "11" (only a major version, without a specific minor version).
PostgreSQL 11.1 is no longer supported by Amazon RDS.
PostgreSQL 11.10 is no longer supported by Amazon RDS.
PostgreSQL 11.11 is no longer supported by Amazon RDS.
PostgreSQL 11.12 is no longer supported by Amazon RDS.
PostgreSQL 11.13 is no longer supported by Amazon RDS.
PostgreSQL 11.14 is no longer supported by Amazon RDS.
PostgreSQL 11.15 is no longer supported by Amazon RDS.
PostgreSQL 11.16 is no longer supported by Amazon RDS.
PostgreSQL 11.17 is no longer supported by Amazon RDS.
PostgreSQL 11.18 is no longer supported by Amazon RDS.
PostgreSQL 11.19 is no longer supported by Amazon RDS.
PostgreSQL 11.2 is no longer supported by Amazon RDS.
PostgreSQL 11.20 is no longer supported by Amazon RDS.
PostgreSQL 11.21 is no longer supported by Amazon RDS.
PostgreSQL 11.22 is no longer supported by Amazon RDS.
VER_11_22_RDS_20240418PostgresEngineVersionver_11_22_rds_20240418PostgresEngineVersionVER_11_22_RDS_20240418PostgresEngineVersionVER_11_22_RDS_20240418PostgresEngineVersionVER_11_22_RDS_20240418PostgresEngineVersionstatic#
Version "11.22-rds.20240418".
VER_11_22_RDS_20240509PostgresEngineVersionver_11_22_rds_20240509PostgresEngineVersionVER_11_22_RDS_20240509PostgresEngineVersionVER_11_22_RDS_20240509PostgresEngineVersionVER_11_22_RDS_20240509PostgresEngineVersionstatic#
Version "11.22-rds.20240509".
VER_11_22_RDS_20240808PostgresEngineVersionver_11_22_rds_20240808PostgresEngineVersionVER_11_22_RDS_20240808PostgresEngineVersionVER_11_22_RDS_20240808PostgresEngineVersionVER_11_22_RDS_20240808PostgresEngineVersionstaticdeprecated#
PostgreSQL 11.22-rds.20240808 is no longer supported by Amazon RDS.
VER_11_22_RDS_20241121PostgresEngineVersionver_11_22_rds_20241121PostgresEngineVersionVER_11_22_RDS_20241121PostgresEngineVersionVER_11_22_RDS_20241121PostgresEngineVersionVER_11_22_RDS_20241121PostgresEngineVersionstaticdeprecated#
PostgreSQL 11.22-RDS.20241121 is no longer supported by Amazon RDS.
VER_11_22_RDS_20250220PostgresEngineVersionver_11_22_rds_20250220PostgresEngineVersionVER_11_22_RDS_20250220PostgresEngineVersionVER_11_22_RDS_20250220PostgresEngineVersionVER_11_22_RDS_20250220PostgresEngineVersionstaticdeprecated#
PostgreSQL 11.22-rds.20250220 is no longer supported by Amazon RDS.
VER_11_22_RDS_20250508PostgresEngineVersionver_11_22_rds_20250508PostgresEngineVersionVER_11_22_RDS_20250508PostgresEngineVersionVER_11_22_RDS_20250508PostgresEngineVersionVER_11_22_RDS_20250508PostgresEngineVersionstaticdeprecated#
PostgreSQL 11.22-rds.20250508 is no longer supported by Amazon RDS.
VER_11_22_RDS_20250814PostgresEngineVersionver_11_22_rds_20250814PostgresEngineVersionVER_11_22_RDS_20250814PostgresEngineVersionVER_11_22_RDS_20250814PostgresEngineVersionVER_11_22_RDS_20250814PostgresEngineVersionstaticdeprecated#
PostgreSQL 11.22-rds.20250814 is no longer supported by Amazon RDS.
VER_11_22_RDS_20251114PostgresEngineVersionver_11_22_rds_20251114PostgresEngineVersionVER_11_22_RDS_20251114PostgresEngineVersionVER_11_22_RDS_20251114PostgresEngineVersionVER_11_22_RDS_20251114PostgresEngineVersionstatic#
Version "11.22-rds.20251114".
PostgreSQL 11.4 is no longer supported by Amazon RDS.
PostgreSQL 11.5 is no longer supported by Amazon RDS.
PostgreSQL 11.6 is no longer supported by Amazon RDS.
PostgreSQL 11.7 is no longer supported by Amazon RDS.
PostgreSQL 11.8 is no longer supported by Amazon RDS.
PostgreSQL 11.9 is no longer supported by Amazon RDS.
Version "12" (only a major version, without a specific minor version).
PostgreSQL 12.10 is no longer supported by Amazon RDS.
PostgreSQL 12.11 is no longer supported by Amazon RDS.
PostgreSQL 12.12 is no longer supported by Amazon RDS.
PostgreSQL 12.13 is no longer supported by Amazon RDS.
PostgreSQL 12.14 is no longer supported by Amazon RDS.
PostgreSQL 12.15 is no longer supported by Amazon RDS.
PostgreSQL 12.16 is no longer supported by Amazon RDS.
PostgreSQL 12.17 is no longer supported by Amazon RDS.
PostgreSQL 12.18 is no longer supported by Amazon RDS.
PostgreSQL 12.19 is no longer supported by Amazon RDS.
PostgreSQL 12.2 is no longer supported by Amazon RDS.
PostgreSQL 12.20 is no longer supported by Amazon RDS.
PostgreSQL 12.21 is no longer supported by Amazon RDS.
VER_12_22_RDS_20250220PostgresEngineVersionver_12_22_rds_20250220PostgresEngineVersionVER_12_22_RDS_20250220PostgresEngineVersionVER_12_22_RDS_20250220PostgresEngineVersionVER_12_22_RDS_20250220PostgresEngineVersionstaticdeprecated#
PostgreSQL 12.22-rds.20250220 is no longer supported by Amazon RDS.
VER_12_22_RDS_20250508PostgresEngineVersionver_12_22_rds_20250508PostgresEngineVersionVER_12_22_RDS_20250508PostgresEngineVersionVER_12_22_RDS_20250508PostgresEngineVersionVER_12_22_RDS_20250508PostgresEngineVersionstaticdeprecated#
PostgreSQL 12.22-rds.20250508 is no longer supported by Amazon RDS.
VER_12_22_RDS_20250814PostgresEngineVersionver_12_22_rds_20250814PostgresEngineVersionVER_12_22_RDS_20250814PostgresEngineVersionVER_12_22_RDS_20250814PostgresEngineVersionVER_12_22_RDS_20250814PostgresEngineVersionstaticdeprecated#
PostgreSQL 12.22-rds.20250814 is no longer supported by Amazon RDS.
VER_12_22_RDS_20251114PostgresEngineVersionver_12_22_rds_20251114PostgresEngineVersionVER_12_22_RDS_20251114PostgresEngineVersionVER_12_22_RDS_20251114PostgresEngineVersionVER_12_22_RDS_20251114PostgresEngineVersionstatic#
Version "12.22-rds.20251114".
PostgreSQL 12.3 is no longer supported by Amazon RDS.
PostgreSQL 12.4 is no longer supported by Amazon RDS.
PostgreSQL 12.5 is no longer supported by Amazon RDS.
PostgreSQL 12.6 is no longer supported by Amazon RDS.
PostgreSQL 12.7 is no longer supported by Amazon RDS.
PostgreSQL 12.8 is no longer supported by Amazon RDS.
PostgreSQL 12.9 is no longer supported by Amazon RDS.
Version "13" (only a major version, without a specific minor version).
PostgreSQL 13.1 is no longer supported by Amazon RDS.
PostgreSQL 13.10 is no longer supported by Amazon RDS.
PostgreSQL 13.11 is no longer supported by Amazon RDS.
PostgreSQL 13.12 is no longer supported by Amazon RDS.
PostgreSQL 13.13 is no longer supported by Amazon RDS.
PostgreSQL 13.14 is no longer supported by Amazon RDS.
PostgreSQL 13.17 is no longer supported by Amazon RDS
PostgreSQL 13.19 is no longer supported by Amazon RDS
PostgreSQL 13.2 is no longer supported by Amazon RDS.
PostgreSQL 13.3 is no longer supported by Amazon RDS.
PostgreSQL 13.4 is no longer supported by Amazon RDS.
PostgreSQL 13.5 is no longer supported by Amazon RDS.
PostgreSQL 13.6 is no longer supported by Amazon RDS.
PostgreSQL 13.7 is no longer supported by Amazon RDS.
PostgreSQL 13.8 is no longer supported by Amazon RDS.
PostgreSQL 13.9 is no longer supported by Amazon RDS.
Version "14" (only a major version, without a specific minor version).
PostgreSQL 14.1 is no longer supported by Amazon RDS.
PostgreSQL 14.10 is no longer supported by Amazon RDS.
PostgreSQL 14.11 is no longer supported by Amazon RDS.
PostgreSQL 14.14 is no longer supported by Amazon RDS
PostgreSQL 14.16 is no longer supported by Amazon RDS
PostgreSQL 14.2 is no longer supported by Amazon RDS.
PostgreSQL 14.3 is no longer supported by Amazon RDS.
PostgreSQL 14.4 is no longer supported by Amazon RDS.
PostgreSQL 14.5 is no longer supported by Amazon RDS.
PostgreSQL 14.6 is no longer supported by Amazon RDS.
PostgreSQL 14.7 is no longer supported by Amazon RDS.
PostgreSQL 14.8 is no longer supported by Amazon RDS.
PostgreSQL 14.9 is no longer supported by Amazon RDS.
Version "15" (only a major version, without a specific minor version).
PostgreSQL 15.11 is no longer supported by Amazon RDS
PostgreSQL 15.2 is no longer supported by Amazon RDS.
PostgreSQL 15.3 is no longer supported by Amazon RDS.
PostgreSQL 15.4 is no longer supported by Amazon RDS.
PostgreSQL 15.5 is no longer supported by Amazon RDS
PostgreSQL 15.6 is no longer supported by Amazon RDS
PostgreSQL 15.9 is no longer supported by Amazon RDS
Version "16" (only a major version, without a specific minor version).
PostgreSQL 16.1 is no longer supported by Amazon RDS
PostgreSQL 16.2 is no longer supported by Amazon RDS
PostgreSQL 16.5 is no longer supported by Amazon RDS
PostgreSQL 16.7 is no longer supported by Amazon RDS
Version "17" (only a major version, without a specific minor version).
PostgreSQL 17.1 is no longer supported by Amazon RDS
PostgreSQL 17.3 is no longer supported by Amazon RDS
Version "18" (only a major version, without a specific minor version).
PostgreSQL 9.6 is no longer supported by Amazon RDS.

Methods ​

of(postgresFullVersion: string, postgresMajorVersion: string, postgresFeatures?: PostgresEngineFeatures): PostgresEngineVersion // chainable@staticmethod def of(postgres_full_version: str, postgres_major_version: str, postgres_features: typing.Optional[PostgresEngineFeatures] = None) -> PostgresEngineVersionpublic static PostgresEngineVersion of(String postgresFullVersion, String postgresMajorVersion, PostgresEngineFeatures postgresFeatures)public static PostgresEngineVersion Of(string postgresFullVersion, string postgresMajorVersion, PostgresEngineFeatures? postgresFeatures = null)func Of(PostgresFullVersion *string, PostgresMajorVersion *string, PostgresFeatures PostgresEngineFeatures) PostgresEngineVersionstatic#
Create a new PostgresEngineVersion with an arbitrary version.
2 parameters

Parameters

  • postgresFullVersionpostgres_full_versionpostgresFullVersionpostgresFullVersionPostgresFullVersion — the full version string, for example "13.11".
  • postgresMajorVersionpostgres_major_versionpostgresMajorVersionpostgresMajorVersionPostgresMajorVersion — the major version of the engine, for example "13".