Class PostgresEngineVersion

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.rds.PostgresEngineVersion
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-04-10T22:22:34.147Z") @Stability(Stable) public class PostgresEngineVersion extends software.amazon.jsii.JsiiObject
The versions for the PostgreSQL instance engines (those returned by DatabaseInstanceEngine.postgres).

Example:

 Vpc vpc;
 IInstanceEngine engine = DatabaseInstanceEngine.postgres(PostgresInstanceEngineProps.builder().version(PostgresEngineVersion.VER_15_2).build());
 Key myKey = new Key(this, "MyKey");
 DatabaseInstance.Builder.create(this, "InstanceWithCustomizedSecret")
         .engine(engine)
         .vpc(vpc)
         .credentials(Credentials.fromGeneratedSecret("postgres", CredentialsBaseOptions.builder()
                 .secretName("my-cool-name")
                 .encryptionKey(myKey)
                 .excludeCharacters("!&*^#@()")
                 .replicaRegions(List.of(ReplicaRegion.builder().region("eu-west-1").build(), ReplicaRegion.builder().region("eu-west-2").build()))
                 .build()))
         .build();
 
  • Field Details

    • VER_10

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10
      Deprecated.
      PostgreSQL 10 is no longer supported by Amazon RDS.
      (deprecated) Version "10" (only a major version, without a specific minor version).

    • VER_10_1

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_1
      Deprecated.
      PostgreSQL 10 is no longer supported by Amazon RDS.
      (deprecated) Version "10.1".

    • VER_10_10

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_10
      Deprecated.
      PostgreSQL 10.10 is no longer supported by Amazon RDS.
      (deprecated) Version "10.10".

    • VER_10_11

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_11
      Deprecated.
      PostgreSQL 10.11 is no longer supported by Amazon RDS.
      (deprecated) Version "10.11".

    • VER_10_12

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_12
      Deprecated.
      PostgreSQL 10.12 is no longer supported by Amazon RDS.
      (deprecated) Version "10.12".

    • VER_10_13

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_13
      Deprecated.
      PostgreSQL 10.13 is no longer supported by Amazon RDS.
      (deprecated) Version "10.13".

    • VER_10_14

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_14
      Deprecated.
      PostgreSQL 10.14 is no longer supported by Amazon RDS.
      (deprecated) Version "10.14".

    • VER_10_15

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_15
      Deprecated.
      PostgreSQL 10.15 is no longer supported by Amazon RDS.
      (deprecated) Version "10.15".

    • VER_10_16

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_16
      Deprecated.
      PostgreSQL 10.16 is no longer supported by Amazon RDS.
      (deprecated) Version "10.16".

    • VER_10_17

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_17
      Deprecated.
      PostgreSQL 10.17 is no longer supported by Amazon RDS.
      (deprecated) Version "10.17".

    • VER_10_18

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_18
      Deprecated.
      PostgreSQL 10.18 is no longer supported by Amazon RDS.
      (deprecated) Version "10.18".

    • VER_10_19

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_19
      Deprecated.
      PostgreSQL 10.19 is no longer supported by Amazon RDS.
      (deprecated) Version "10.19".

    • VER_10_20

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_20
      Deprecated.
      PostgreSQL 10.20 is no longer supported by Amazon RDS.
      (deprecated) Version "10.20".

    • VER_10_21

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_21
      Deprecated.
      PostgreSQL 10.21 is no longer supported by Amazon RDS.
      (deprecated) Version "10.21".

    • VER_10_22

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_22
      Deprecated.
      PostgreSQL 10.22 is no longer supported by Amazon RDS.
      (deprecated) Version "10.22".

    • VER_10_23

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_23
      Deprecated.
      PostgreSQL 10.23 is no longer supported by Amazon RDS.
      (deprecated) Version "10.23".

    • VER_10_3

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_3
      Deprecated.
      PostgreSQL 10.3 is no longer supported by Amazon RDS.
      (deprecated) Version "10.3".

    • VER_10_4

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_4
      Deprecated.
      PostgreSQL 10.4 is no longer supported by Amazon RDS.
      (deprecated) Version "10.4".

    • VER_10_5

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_5
      Deprecated.
      PostgreSQL 10.5 is no longer supported by Amazon RDS.
      (deprecated) Version "10.5".

    • VER_10_6

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_6
      Deprecated.
      PostgreSQL 10.6 is no longer supported by Amazon RDS.
      (deprecated) Version "10.6".

    • VER_10_7

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_7
      Deprecated.
      PostgreSQL 10.7 is no longer supported by Amazon RDS.
      (deprecated) Version "10.7".

    • VER_10_9

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_10_9
      Deprecated.
      PostgreSQL 10.9 is no longer supported by Amazon RDS.
      (deprecated) Version "10.9".

    • VER_11

      @Stability(Stable) public static final PostgresEngineVersion VER_11
      Version "11" (only a major version, without a specific minor version).
    • VER_11_1

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_11_1
      Deprecated.
      PostgreSQL 11.1 is no longer supported by Amazon RDS.
      (deprecated) Version "11.1".

    • VER_11_10

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_11_10
      Deprecated.
      PostgreSQL 11.10 is no longer supported by Amazon RDS.
      (deprecated) Version "11.10".

    • VER_11_11

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_11_11
      Deprecated.
      PostgreSQL 11.11 is no longer supported by Amazon RDS.
      (deprecated) Version "11.11".

    • VER_11_12

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_11_12
      Deprecated.
      PostgreSQL 11.12 is no longer supported by Amazon RDS.
      (deprecated) Version "11.12".

    • VER_11_13

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_11_13
      Deprecated.
      PostgreSQL 11.13 is no longer supported by Amazon RDS.
      (deprecated) Version "11.13".

    • VER_11_14

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_11_14
      Deprecated.
      PostgreSQL 11.14 is no longer supported by Amazon RDS.
      (deprecated) Version "11.14".

    • VER_11_15

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_11_15
      Deprecated.
      PostgreSQL 11.15 is no longer supported by Amazon RDS.
      (deprecated) Version "11.15".

    • VER_11_16

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_11_16
      Deprecated.
      PostgreSQL 11.16 is no longer supported by Amazon RDS.
      (deprecated) Version "11.16".

    • VER_11_17

      @Stability(Stable) public static final PostgresEngineVersion VER_11_17
      Version "11.17".
    • VER_11_18

      @Stability(Stable) public static final PostgresEngineVersion VER_11_18
      Version "11.18".
    • VER_11_19

      @Stability(Stable) public static final PostgresEngineVersion VER_11_19
      Version "11.19".
    • VER_11_2

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_11_2
      Deprecated.
      PostgreSQL 11.2 is no longer supported by Amazon RDS.
      (deprecated) Version "11.2".

    • VER_11_20

      @Stability(Stable) public static final PostgresEngineVersion VER_11_20
      Version "11.20".
    • VER_11_21

      @Stability(Stable) public static final PostgresEngineVersion VER_11_21
      Version "11.21".
    • VER_11_22

      @Stability(Stable) public static final PostgresEngineVersion VER_11_22
      Version "11.22".
    • VER_11_4

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_11_4
      Deprecated.
      PostgreSQL 11.4 is no longer supported by Amazon RDS.
      (deprecated) Version "11.4".

    • VER_11_5

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_11_5
      Deprecated.
      PostgreSQL 11.5 is no longer supported by Amazon RDS.
      (deprecated) Version "11.5".

    • VER_11_6

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_11_6
      Deprecated.
      PostgreSQL 11.6 is no longer supported by Amazon RDS.
      (deprecated) Version "11.6".

    • VER_11_7

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_11_7
      Deprecated.
      PostgreSQL 11.7 is no longer supported by Amazon RDS.
      (deprecated) Version "11.7".

    • VER_11_8

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_11_8
      Deprecated.
      PostgreSQL 11.8 is no longer supported by Amazon RDS.
      (deprecated) Version "11.8".

    • VER_11_9

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_11_9
      Deprecated.
      PostgreSQL 11.9 is no longer supported by Amazon RDS.
      (deprecated) Version "11.9".

    • VER_12

      @Stability(Stable) public static final PostgresEngineVersion VER_12
      Version "12" (only a major version, without a specific minor version).
    • VER_12_10

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_12_10
      Deprecated.
      PostgreSQL 12.10 is no longer supported by Amazon RDS.
      (deprecated) Version "12.10".

    • VER_12_11

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_12_11
      Deprecated.
      PostgreSQL 12.11 is no longer supported by Amazon RDS.
      (deprecated) Version "12.11".

    • VER_12_12

      @Stability(Stable) public static final PostgresEngineVersion VER_12_12
      Version "12.12".
    • VER_12_13

      @Stability(Stable) public static final PostgresEngineVersion VER_12_13
      Version "12.13".
    • VER_12_14

      @Stability(Stable) public static final PostgresEngineVersion VER_12_14
      Version "12.14".
    • VER_12_15

      @Stability(Stable) public static final PostgresEngineVersion VER_12_15
      Version "12.15".
    • VER_12_16

      @Stability(Stable) public static final PostgresEngineVersion VER_12_16
      Version "12.16".
    • VER_12_17

      @Stability(Stable) public static final PostgresEngineVersion VER_12_17
      Version "12.17".
    • VER_12_18

      @Stability(Stable) public static final PostgresEngineVersion VER_12_18
      Version "12.18".
    • VER_12_2

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_12_2
      Deprecated.
      PostgreSQL 12.2 is no longer supported by Amazon RDS.
      (deprecated) Version "12.2".

    • VER_12_3

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_12_3
      Deprecated.
      PostgreSQL 12.3 is no longer supported by Amazon RDS.
      (deprecated) Version "12.3".

    • VER_12_4

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_12_4
      Deprecated.
      PostgreSQL 12.4 is no longer supported by Amazon RDS.
      (deprecated) Version "12.4".

    • VER_12_5

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_12_5
      Deprecated.
      PostgreSQL 12.5 is no longer supported by Amazon RDS.
      (deprecated) Version "12.5".

    • VER_12_6

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_12_6
      Deprecated.
      PostgreSQL 12.6 is no longer supported by Amazon RDS.
      (deprecated) Version "12.6".

    • VER_12_7

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_12_7
      Deprecated.
      PostgreSQL 12.7 is no longer supported by Amazon RDS.
      (deprecated) Version "12.7".

    • VER_12_8

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_12_8
      Deprecated.
      PostgreSQL 12.8 is no longer supported by Amazon RDS.
      (deprecated) Version "12.8".

    • VER_12_9

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_12_9
      Deprecated.
      PostgreSQL 12.9 is no longer supported by Amazon RDS.
      (deprecated) Version "12.9".

    • VER_13

      @Stability(Stable) public static final PostgresEngineVersion VER_13
      Version "13" (only a major version, without a specific minor version).
    • VER_13_1

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_13_1
      Deprecated.
      PostgreSQL 13.1 is no longer supported by Amazon RDS.
      (deprecated) Version "13.1".

    • VER_13_10

      @Stability(Stable) public static final PostgresEngineVersion VER_13_10
      Version "13.10".
    • VER_13_11

      @Stability(Stable) public static final PostgresEngineVersion VER_13_11
      Version "13.11".
    • VER_13_12

      @Stability(Stable) public static final PostgresEngineVersion VER_13_12
      Version "13.12".
    • VER_13_13

      @Stability(Stable) public static final PostgresEngineVersion VER_13_13
      Version "13.13".
    • VER_13_14

      @Stability(Stable) public static final PostgresEngineVersion VER_13_14
      Version "13.14".
    • VER_13_2

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_13_2
      Deprecated.
      PostgreSQL 13.2 is no longer supported by Amazon RDS.
      (deprecated) Version "13.2".

    • VER_13_3

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_13_3
      Deprecated.
      PostgreSQL 13.3 is no longer supported by Amazon RDS.
      (deprecated) Version "13.3".

    • VER_13_4

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_13_4
      Deprecated.
      PostgreSQL 13.4 is no longer supported by Amazon RDS.
      (deprecated) Version "13.4".

    • VER_13_5

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_13_5
      Deprecated.
      PostgreSQL 13.5 is no longer supported by Amazon RDS.
      (deprecated) Version "13.5".

    • VER_13_6

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_13_6
      Deprecated.
      PostgreSQL 13.6 is no longer supported by Amazon RDS.
      (deprecated) Version "13.6".

    • VER_13_7

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_13_7
      Deprecated.
      PostgreSQL 13.7 is no longer supported by Amazon RDS.
      (deprecated) Version "13.7".

    • VER_13_8

      @Stability(Stable) public static final PostgresEngineVersion VER_13_8
      Version "13.8".
    • VER_13_9

      @Stability(Stable) public static final PostgresEngineVersion VER_13_9
      Version "13.9".
    • VER_14

      @Stability(Stable) public static final PostgresEngineVersion VER_14
      Version "14" (only a major version, without a specific minor version).
    • VER_14_1

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_14_1
      Deprecated.
      PostgreSQL 14.1 is no longer supported by Amazon RDS.
      (deprecated) Version "14.1".

    • VER_14_10

      @Stability(Stable) public static final PostgresEngineVersion VER_14_10
      Version "14.10".
    • VER_14_11

      @Stability(Stable) public static final PostgresEngineVersion VER_14_11
      Version "14.11".
    • VER_14_2

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_14_2
      Deprecated.
      PostgreSQL 14.2 is no longer supported by Amazon RDS.
      (deprecated) Version "14.2".

    • VER_14_3

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_14_3
      Deprecated.
      PostgreSQL 14.3 is no longer supported by Amazon RDS.
      (deprecated) Version "14.3".

    • VER_14_4

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_14_4
      Deprecated.
      PostgreSQL 14.4 is no longer supported by Amazon RDS.
      (deprecated) Version "14.4".

    • VER_14_5

      @Stability(Stable) public static final PostgresEngineVersion VER_14_5
      Version "14.5".
    • VER_14_6

      @Stability(Stable) public static final PostgresEngineVersion VER_14_6
      Version "14.6".
    • VER_14_7

      @Stability(Stable) public static final PostgresEngineVersion VER_14_7
      Version "14.7".
    • VER_14_8

      @Stability(Stable) public static final PostgresEngineVersion VER_14_8
      Version "14.8".
    • VER_14_9

      @Stability(Stable) public static final PostgresEngineVersion VER_14_9
      Version "14.9".
    • VER_15

      @Stability(Stable) public static final PostgresEngineVersion VER_15
      Version "15" (only a major version, without a specific minor version).
    • VER_15_2

      @Stability(Stable) public static final PostgresEngineVersion VER_15_2
      Version "15.2".
    • VER_15_3

      @Stability(Stable) public static final PostgresEngineVersion VER_15_3
      Version "15.3".
    • VER_15_4

      @Stability(Stable) public static final PostgresEngineVersion VER_15_4
      Version "15.4".
    • VER_15_5

      @Stability(Stable) public static final PostgresEngineVersion VER_15_5
      Version "15.5".
    • VER_15_6

      @Stability(Stable) public static final PostgresEngineVersion VER_15_6
      Version "15.6".
    • VER_16

      @Stability(Stable) public static final PostgresEngineVersion VER_16
      Version "16" (only a major version, without a specific minor version).
    • VER_16_1

      @Stability(Stable) public static final PostgresEngineVersion VER_16_1
      Version "16.1".
    • VER_16_2

      @Stability(Stable) public static final PostgresEngineVersion VER_16_2
      Version "16.2".
    • VER_9_6_24

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_24
      Deprecated.
      PostgreSQL 9.6 is no longer supported by Amazon RDS.
      (deprecated) Version "9.6.24".

  • Constructor Details

    • PostgresEngineVersion

      protected PostgresEngineVersion(software.amazon.jsii.JsiiObjectRef objRef)
    • PostgresEngineVersion

      protected PostgresEngineVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • of

      @Stability(Stable) @NotNull public static PostgresEngineVersion of(@NotNull String postgresFullVersion, @NotNull String postgresMajorVersion, @Nullable PostgresEngineFeatures postgresFeatures)
      Create a new PostgresEngineVersion with an arbitrary version.

      Parameters:
      postgresFullVersion - the full version string, for example "13.11". This parameter is required.
      postgresMajorVersion - the major version of the engine, for example "13". This parameter is required.
      postgresFeatures -
    • of

      @Stability(Stable) @NotNull public static PostgresEngineVersion of(@NotNull String postgresFullVersion, @NotNull String postgresMajorVersion)
      Create a new PostgresEngineVersion with an arbitrary version.

      Parameters:
      postgresFullVersion - the full version string, for example "13.11". This parameter is required.
      postgresMajorVersion - the major version of the engine, for example "13". This parameter is required.
    • getPostgresFullVersion

      @Stability(Stable) @NotNull public String getPostgresFullVersion()
      The full version string, for example, "13.11".
    • getPostgresMajorVersion

      @Stability(Stable) @NotNull public String getPostgresMajorVersion()
      The major version of the engine, for example, "13".