class PostgresEngineVersion
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.RDS.PostgresEngineVersion |
Java | software.amazon.awscdk.services.rds.PostgresEngineVersion |
Python | aws_cdk.aws_rds.PostgresEngineVersion |
TypeScript (source) | @aws-cdk/aws-rds » PostgresEngineVersion |
The versions for the PostgreSQL instance engines (those returned by {@link DatabaseInstanceEngine.postgres}).
Example
declare const vpc: ec2.Vpc;
const engine = rds.DatabaseInstanceEngine.postgres({ version: rds.PostgresEngineVersion.VER_12_3 });
const myKey = new kms.Key(this, 'MyKey');
new rds.DatabaseInstance(this, 'InstanceWithCustomizedSecret', {
engine,
vpc,
credentials: rds.Credentials.fromGeneratedSecret('postgres', {
secretName: 'my-cool-name',
encryptionKey: myKey,
excludeCharacters: '!&*^#@()',
replicaRegions: [{ region: 'eu-west-1' }, { region: 'eu-west-2' }],
}),
});
Properties
Name | Type | Description |
---|---|---|
postgres | string | The full version string, for example, "13.11". |
postgres | string | The major version of the engine, for example, "13". |
static VER_10 | Postgres | Version "10" (only a major version, without a specific minor version). |
static VER_10_1 | Postgres | Version "10.1". |
static VER_10_10 | Postgres | Version "10.10". |
static VER_10_11 | Postgres | Version "10.11". |
static VER_10_12 | Postgres | Version "10.12". |
static VER_10_13 | Postgres | Version "10.13". |
static VER_10_14 | Postgres | Version "10.14". |
static VER_10_15 | Postgres | Version "10.15". |
static VER_10_16 | Postgres | Version "10.16". |
static VER_10_17 | Postgres | Version "10.17". |
static VER_10_18 | Postgres | Version "10.18". |
static VER_10_19 | Postgres | Version "10.19". |
static VER_10_20 | Postgres | Version "10.20". |
static VER_10_3 | Postgres | Version "10.3". |
static VER_10_4 | Postgres | Version "10.4". |
static VER_10_5 | Postgres | Version "10.5". |
static VER_10_6 | Postgres | Version "10.6". |
static VER_10_7 | Postgres | Version "10.7". |
static VER_10_9 | Postgres | Version "10.9". |
static VER_11 | Postgres | Version "11" (only a major version, without a specific minor version). |
static VER_11_1 | Postgres | Version "11.1". |
static VER_11_10 | Postgres | Version "11.10". |
static VER_11_11 | Postgres | Version "11.11". |
static VER_11_12 | Postgres | Version "11.12". |
static VER_11_13 | Postgres | Version "11.13". |
static VER_11_14 | Postgres | Version "11.14". |
static VER_11_15 | Postgres | Version "11.15". |
static VER_11_2 | Postgres | Version "11.2". |
static VER_11_4 | Postgres | Version "11.4". |
static VER_11_5 | Postgres | Version "11.5". |
static VER_11_6 | Postgres | Version "11.6". |
static VER_11_7 | Postgres | Version "11.7". |
static VER_11_8 | Postgres | Version "11.8". |
static VER_11_9 | Postgres | Version "11.9". |
static VER_12 | Postgres | Version "12" (only a major version, without a specific minor version). |
static VER_12_10 | Postgres | Version "12.10". |
static VER_12_2 | Postgres | Version "12.2". |
static VER_12_3 | Postgres | Version "12.3". |
static VER_12_4 | Postgres | Version "12.4". |
static VER_12_5 | Postgres | Version "12.5". |
static VER_12_6 | Postgres | Version "12.6". |
static VER_12_7 | Postgres | Version "12.7". |
static VER_12_8 | Postgres | Version "12.8". |
static VER_12_9 | Postgres | Version "12.9". |
static VER_13 | Postgres | Version "13" (only a major version, without a specific minor version). |
static VER_13_1 | Postgres | Version "13.1". |
static VER_13_2 | Postgres | Version "13.2". |
static VER_13_3 | Postgres | Version "13.3". |
static VER_13_4 | Postgres | Version "13.4". |
static VER_13_5 | Postgres | Version "13.5". |
static VER_13_6 | Postgres | Version "13.6". |
static VER_14 | Postgres | Version "14" (only a major version, without a specific minor version). |
static VER_14_1 | Postgres | Version "14.1". |
static VER_14_2 | Postgres | Version "14.2". |
static VER_9_5 | Postgres | Version "9.5" (only a major version, without a specific minor version). |
static VER_9_5_10 | Postgres | Version "9.5.10". |
static VER_9_5_12 | Postgres | Version "9.5.12". |
static VER_9_5_13 | Postgres | Version "9.5.13". |
static VER_9_5_14 | Postgres | Version "9.5.14". |
static VER_9_5_15 | Postgres | Version "9.5.15". |
static VER_9_5_16 | Postgres | Version "9.5.16". |
static VER_9_5_18 | Postgres | Version "9.5.18". |
static VER_9_5_19 | Postgres | Version "9.5.19". |
static VER_9_5_2 | Postgres | Version "9.5.2". |
static VER_9_5_20 | Postgres | Version "9.5.20". |
static VER_9_5_21 | Postgres | Version "9.5.21". |
static VER_9_5_22 | Postgres | Version "9.5.22". |
static VER_9_5_23 | Postgres | Version "9.5.23". |
static VER_9_5_24 | Postgres | Version "9.5.24". |
static VER_9_5_25 | Postgres | Version "9.5.25". |
static VER_9_5_4 | Postgres | Version "9.5.4". |
static VER_9_5_6 | Postgres | Version "9.5.6". |
static VER_9_5_7 | Postgres | Version "9.5.7". |
static VER_9_5_9 | Postgres | Version "9.5.9". |
static VER_9_6 | Postgres | Version "9.6" (only a major version, without a specific minor version). |
static VER_9_6_1 | Postgres | Version "9.6.1". |
static VER_9_6_10 | Postgres | Version "9.6.10". |
static VER_9_6_11 | Postgres | Version "9.6.11". |
static VER_9_6_12 | Postgres | Version "9.6.12". |
static VER_9_6_14 | Postgres | Version "9.6.14". |
static VER_9_6_15 | Postgres | Version "9.6.15". |
static VER_9_6_16 | Postgres | Version "9.6.16". |
static VER_9_6_17 | Postgres | Version "9.6.17". |
static VER_9_6_18 | Postgres | Version "9.6.18". |
static VER_9_6_19 | Postgres | Version "9.6.19". |
static VER_9_6_2 | Postgres | Version "9.6.2". |
static VER_9_6_20 | Postgres | Version "9.6.20". |
static VER_9_6_21 | Postgres | Version "9.6.21". |
static VER_9_6_22 | Postgres | Version "9.6.22". |
static VER_9_6_23 | Postgres | Version "9.6.23". |
static VER_9_6_24 | Postgres | Version "9.6.24". |
static VER_9_6_3 | Postgres | Version "9.6.3". |
static VER_9_6_5 | Postgres | Version "9.6.5". |
static VER_9_6_6 | Postgres | Version "9.6.6". |
static VER_9_6_8 | Postgres | Version "9.6.8". |
static VER_9_6_9 | Postgres | Version "9.6.9". |
postgresFullVersion
Type:
string
The full version string, for example, "13.11".
postgresMajorVersion
Type:
string
The major version of the engine, for example, "13".
static VER_10
Type:
Postgres
Version "10" (only a major version, without a specific minor version).
static VER_10_1
Type:
Postgres
Version "10.1".
static VER_10_10
Type:
Postgres
Version "10.10".
static VER_10_11
Type:
Postgres
Version "10.11".
static VER_10_12
Type:
Postgres
Version "10.12".
static VER_10_13
Type:
Postgres
Version "10.13".
static VER_10_14
Type:
Postgres
Version "10.14".
static VER_10_15
Type:
Postgres
Version "10.15".
static VER_10_16
Type:
Postgres
Version "10.16".
static VER_10_17
Type:
Postgres
Version "10.17".
static VER_10_18
Type:
Postgres
Version "10.18".
static VER_10_19
Type:
Postgres
Version "10.19".
static VER_10_20
Type:
Postgres
Version "10.20".
static VER_10_3
Type:
Postgres
Version "10.3".
static VER_10_4
Type:
Postgres
Version "10.4".
static VER_10_5
Type:
Postgres
Version "10.5".
static VER_10_6
Type:
Postgres
Version "10.6".
static VER_10_7
Type:
Postgres
Version "10.7".
static VER_10_9
Type:
Postgres
Version "10.9".
static VER_11
Type:
Postgres
Version "11" (only a major version, without a specific minor version).
static VER_11_1
Type:
Postgres
Version "11.1".
static VER_11_10
Type:
Postgres
Version "11.10".
static VER_11_11
Type:
Postgres
Version "11.11".
static VER_11_12
Type:
Postgres
Version "11.12".
static VER_11_13
Type:
Postgres
Version "11.13".
static VER_11_14
Type:
Postgres
Version "11.14".
static VER_11_15
Type:
Postgres
Version "11.15".
static VER_11_2
Type:
Postgres
Version "11.2".
static VER_11_4
Type:
Postgres
Version "11.4".
static VER_11_5
Type:
Postgres
Version "11.5".
static VER_11_6
Type:
Postgres
Version "11.6".
static VER_11_7
Type:
Postgres
Version "11.7".
static VER_11_8
Type:
Postgres
Version "11.8".
static VER_11_9
Type:
Postgres
Version "11.9".
static VER_12
Type:
Postgres
Version "12" (only a major version, without a specific minor version).
static VER_12_10
Type:
Postgres
Version "12.10".
static VER_12_2
Type:
Postgres
Version "12.2".
static VER_12_3
Type:
Postgres
Version "12.3".
static VER_12_4
Type:
Postgres
Version "12.4".
static VER_12_5
Type:
Postgres
Version "12.5".
static VER_12_6
Type:
Postgres
Version "12.6".
static VER_12_7
Type:
Postgres
Version "12.7".
static VER_12_8
Type:
Postgres
Version "12.8".
static VER_12_9
Type:
Postgres
Version "12.9".
static VER_13
Type:
Postgres
Version "13" (only a major version, without a specific minor version).
static VER_13_1
Type:
Postgres
Version "13.1".
static VER_13_2
Type:
Postgres
Version "13.2".
static VER_13_3
Type:
Postgres
Version "13.3".
static VER_13_4
Type:
Postgres
Version "13.4".
static VER_13_5
Type:
Postgres
Version "13.5".
static VER_13_6
Type:
Postgres
Version "13.6".
static VER_14
Type:
Postgres
Version "14" (only a major version, without a specific minor version).
static VER_14_1
Type:
Postgres
Version "14.1".
static VER_14_2
Type:
Postgres
Version "14.2".
static VER_9_5
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5" (only a major version, without a specific minor version).
static VER_9_5_10
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.10".
static VER_9_5_12
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.12".
static VER_9_5_13
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.13".
static VER_9_5_14
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.14".
static VER_9_5_15
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.15".
static VER_9_5_16
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.16".
static VER_9_5_18
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.18".
static VER_9_5_19
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.19".
static VER_9_5_2
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.2".
static VER_9_5_20
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.20".
static VER_9_5_21
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.21".
static VER_9_5_22
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.22".
static VER_9_5_23
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.23".
static VER_9_5_24
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.24".
static VER_9_5_25
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.25".
static VER_9_5_4
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.4".
static VER_9_5_6
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.6".
static VER_9_5_7
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.7".
static VER_9_5_9
⚠️ Deprecated: PostgreSQL 9.5 will reach end of life on February 16, 2021
Type:
Postgres
Version "9.5.9".
static VER_9_6
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6" (only a major version, without a specific minor version).
static VER_9_6_1
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.1".
static VER_9_6_10
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.10".
static VER_9_6_11
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.11".
static VER_9_6_12
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.12".
static VER_9_6_14
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.14".
static VER_9_6_15
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.15".
static VER_9_6_16
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.16".
static VER_9_6_17
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.17".
static VER_9_6_18
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.18".
static VER_9_6_19
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.19".
static VER_9_6_2
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.2".
static VER_9_6_20
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.20".
static VER_9_6_21
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.21".
static VER_9_6_22
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.22".
static VER_9_6_23
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.23".
static VER_9_6_24
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.24".
static VER_9_6_3
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.3".
static VER_9_6_5
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.5".
static VER_9_6_6
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.6".
static VER_9_6_8
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.8".
static VER_9_6_9
⚠️ Deprecated: PostgreSQL 9.6 will reach end of life in November 2021
Type:
Postgres
Version "9.6.9".
Methods
Name | Description |
---|---|
static of(postgresFullVersion, postgresMajorVersion, postgresFeatures?) | Create a new PostgresEngineVersion with an arbitrary version. |
static of(postgresFullVersion, postgresMajorVersion, postgresFeatures?)
public static of(postgresFullVersion: string, postgresMajorVersion: string, postgresFeatures?: PostgresEngineFeatures): PostgresEngineVersion
Parameters
- postgresFullVersion
string
— the full version string, for example "13.11". - postgresMajorVersion
string
— the major version of the engine, for example "13". - postgresFeatures
Postgres
Engine Features
Returns
Create a new PostgresEngineVersion with an arbitrary version.