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.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.235Z") @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_12_3).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(Stable) public static final PostgresEngineVersion VER_10
      Version "10" (only a major version, without a specific minor version).
    • VER_10_1

      @Stability(Stable) public static final PostgresEngineVersion VER_10_1
      Version "10.1".
    • VER_10_10

      @Stability(Stable) public static final PostgresEngineVersion VER_10_10
      Version "10.10".
    • VER_10_11

      @Stability(Stable) public static final PostgresEngineVersion VER_10_11
      Version "10.11".
    • VER_10_12

      @Stability(Stable) public static final PostgresEngineVersion VER_10_12
      Version "10.12".
    • VER_10_13

      @Stability(Stable) public static final PostgresEngineVersion VER_10_13
      Version "10.13".
    • VER_10_14

      @Stability(Stable) public static final PostgresEngineVersion VER_10_14
      Version "10.14".
    • VER_10_15

      @Stability(Stable) public static final PostgresEngineVersion VER_10_15
      Version "10.15".
    • VER_10_16

      @Stability(Stable) public static final PostgresEngineVersion VER_10_16
      Version "10.16".
    • VER_10_17

      @Stability(Stable) public static final PostgresEngineVersion VER_10_17
      Version "10.17".
    • VER_10_18

      @Stability(Stable) public static final PostgresEngineVersion VER_10_18
      Version "10.18".
    • VER_10_19

      @Stability(Stable) public static final PostgresEngineVersion VER_10_19
      Version "10.19".
    • VER_10_20

      @Stability(Stable) public static final PostgresEngineVersion VER_10_20
      Version "10.20".
    • VER_10_3

      @Stability(Stable) public static final PostgresEngineVersion VER_10_3
      Version "10.3".
    • VER_10_4

      @Stability(Stable) public static final PostgresEngineVersion VER_10_4
      Version "10.4".
    • VER_10_5

      @Stability(Stable) public static final PostgresEngineVersion VER_10_5
      Version "10.5".
    • VER_10_6

      @Stability(Stable) public static final PostgresEngineVersion VER_10_6
      Version "10.6".
    • VER_10_7

      @Stability(Stable) public static final PostgresEngineVersion VER_10_7
      Version "10.7".
    • VER_10_9

      @Stability(Stable) public static final PostgresEngineVersion VER_10_9
      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(Stable) public static final PostgresEngineVersion VER_11_1
      Version "11.1".
    • VER_11_10

      @Stability(Stable) public static final PostgresEngineVersion VER_11_10
      Version "11.10".
    • VER_11_11

      @Stability(Stable) public static final PostgresEngineVersion VER_11_11
      Version "11.11".
    • VER_11_12

      @Stability(Stable) public static final PostgresEngineVersion VER_11_12
      Version "11.12".
    • VER_11_13

      @Stability(Stable) public static final PostgresEngineVersion VER_11_13
      Version "11.13".
    • VER_11_14

      @Stability(Stable) public static final PostgresEngineVersion VER_11_14
      Version "11.14".
    • VER_11_15

      @Stability(Stable) public static final PostgresEngineVersion VER_11_15
      Version "11.15".
    • VER_11_2

      @Stability(Stable) public static final PostgresEngineVersion VER_11_2
      Version "11.2".
    • VER_11_4

      @Stability(Stable) public static final PostgresEngineVersion VER_11_4
      Version "11.4".
    • VER_11_5

      @Stability(Stable) public static final PostgresEngineVersion VER_11_5
      Version "11.5".
    • VER_11_6

      @Stability(Stable) public static final PostgresEngineVersion VER_11_6
      Version "11.6".
    • VER_11_7

      @Stability(Stable) public static final PostgresEngineVersion VER_11_7
      Version "11.7".
    • VER_11_8

      @Stability(Stable) public static final PostgresEngineVersion VER_11_8
      Version "11.8".
    • VER_11_9

      @Stability(Stable) public static final PostgresEngineVersion VER_11_9
      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(Stable) public static final PostgresEngineVersion VER_12_10
      Version "12.10".
    • VER_12_2

      @Stability(Stable) public static final PostgresEngineVersion VER_12_2
      Version "12.2".
    • VER_12_3

      @Stability(Stable) public static final PostgresEngineVersion VER_12_3
      Version "12.3".
    • VER_12_4

      @Stability(Stable) public static final PostgresEngineVersion VER_12_4
      Version "12.4".
    • VER_12_5

      @Stability(Stable) public static final PostgresEngineVersion VER_12_5
      Version "12.5".
    • VER_12_6

      @Stability(Stable) public static final PostgresEngineVersion VER_12_6
      Version "12.6".
    • VER_12_7

      @Stability(Stable) public static final PostgresEngineVersion VER_12_7
      Version "12.7".
    • VER_12_8

      @Stability(Stable) public static final PostgresEngineVersion VER_12_8
      Version "12.8".
    • VER_12_9

      @Stability(Stable) public static final PostgresEngineVersion VER_12_9
      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(Stable) public static final PostgresEngineVersion VER_13_1
      Version "13.1".
    • VER_13_2

      @Stability(Stable) public static final PostgresEngineVersion VER_13_2
      Version "13.2".
    • VER_13_3

      @Stability(Stable) public static final PostgresEngineVersion VER_13_3
      Version "13.3".
    • VER_13_4

      @Stability(Stable) public static final PostgresEngineVersion VER_13_4
      Version "13.4".
    • VER_13_5

      @Stability(Stable) public static final PostgresEngineVersion VER_13_5
      Version "13.5".
    • VER_13_6

      @Stability(Stable) public static final PostgresEngineVersion VER_13_6
      Version "13.6".
    • 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(Stable) public static final PostgresEngineVersion VER_14_1
      Version "14.1".
    • VER_14_2

      @Stability(Stable) public static final PostgresEngineVersion VER_14_2
      Version "14.2".
    • VER_9_5

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5" (only a major version, without a specific minor version).

    • VER_9_5_10

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_10
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.10".

    • VER_9_5_12

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_12
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.12".

    • VER_9_5_13

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_13
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.13".

    • VER_9_5_14

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_14
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.14".

    • VER_9_5_15

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_15
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.15".

    • VER_9_5_16

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_16
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.16".

    • VER_9_5_18

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_18
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.18".

    • VER_9_5_19

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_19
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.19".

    • VER_9_5_2

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_2
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.2".

    • VER_9_5_20

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_20
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.20".

    • VER_9_5_21

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_21
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.21".

    • VER_9_5_22

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_22
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.22".

    • VER_9_5_23

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_23
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.23".

    • VER_9_5_24

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_24
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.24".

    • VER_9_5_25

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_25
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.25".

    • VER_9_5_4

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_4
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.4".

    • VER_9_5_6

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_6
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.6".

    • VER_9_5_7

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_7
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.7".

    • VER_9_5_9

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_5_9
      Deprecated.
      PostgreSQL 9.5 will reach end of life on February 16, 2021
      (deprecated) Version "9.5.9".

    • VER_9_6

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6" (only a major version, without a specific minor version).

    • VER_9_6_1

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_1
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.1".

    • VER_9_6_10

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_10
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.10".

    • VER_9_6_11

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_11
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.11".

    • VER_9_6_12

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_12
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.12".

    • VER_9_6_14

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_14
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.14".

    • VER_9_6_15

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_15
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.15".

    • VER_9_6_16

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_16
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.16".

    • VER_9_6_17

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_17
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.17".

    • VER_9_6_18

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_18
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.18".

    • VER_9_6_19

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_19
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.19".

    • VER_9_6_2

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_2
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.2".

    • VER_9_6_20

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_20
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.20".

    • VER_9_6_21

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_21
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.21".

    • VER_9_6_22

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_22
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.22".

    • VER_9_6_23

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_23
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.23".

    • VER_9_6_24

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_24
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.24".

    • VER_9_6_3

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_3
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.3".

    • VER_9_6_5

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_5
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.5".

    • VER_9_6_6

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_6
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.6".

    • VER_9_6_8

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_8
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.8".

    • VER_9_6_9

      @Stability(Deprecated) @Deprecated public static final PostgresEngineVersion VER_9_6_9
      Deprecated.
      PostgreSQL 9.6 will reach end of life in November 2021
      (deprecated) Version "9.6.9".

  • 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".