Class MysqlEngineVersion

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

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:23.580Z") @Stability(Stable) public class MysqlEngineVersion extends software.amazon.jsii.JsiiObject
The versions for the MySQL instance engines (those returned by DatabaseInstanceEngine.mysql).

Example:

 Vpc vpc;
 DatabaseInstance iopsInstance = DatabaseInstance.Builder.create(this, "IopsInstance")
         .engine(DatabaseInstanceEngine.mysql(MySqlInstanceEngineProps.builder().version(MysqlEngineVersion.VER_8_0_30).build()))
         .vpc(vpc)
         .storageType(StorageType.IO1)
         .iops(5000)
         .build();
 DatabaseInstance gp3Instance = DatabaseInstance.Builder.create(this, "Gp3Instance")
         .engine(DatabaseInstanceEngine.mysql(MySqlInstanceEngineProps.builder().version(MysqlEngineVersion.VER_8_0_30).build()))
         .vpc(vpc)
         .allocatedStorage(500)
         .storageType(StorageType.GP3)
         .storageThroughput(500)
         .build();
 
  • Field Details

    • VER_5_5_54

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_5_54
      Deprecated.
      MySQL 5.5.54 is no longer supported by Amazon RDS.
      (deprecated) Version "5.5.54".

    • VER_5_7

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7
      Version "5.7" (only a major version, without a specific minor version).
    • VER_5_7_16

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_7_16
      Deprecated.
      MySQL 5.7.16 is no longer supported by Amazon RDS.
      (deprecated) Version "5.7.16".

    • VER_5_7_17

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_7_17
      Deprecated.
      MySQL 5.7.17 is no longer supported by Amazon RDS.
      (deprecated) Version "5.7.17".

    • VER_5_7_19

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_7_19
      Deprecated.
      MySQL 5.7.19 is no longer supported by Amazon RDS.
      (deprecated) Version "5.7.19".

    • VER_5_7_21

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_7_21
      Deprecated.
      MySQL 5.7.21 is no longer supported by Amazon RDS.
      (deprecated) Version "5.7.21".

    • VER_5_7_22

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_7_22
      Deprecated.
      MySQL 5.7.22 is no longer supported by Amazon RDS.
      (deprecated) Version "5.7.22".

    • VER_5_7_23

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_7_23
      Deprecated.
      MySQL 5.7.23 is no longer supported by Amazon RDS.
      (deprecated) Version "5.7.23".

    • VER_5_7_24

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_7_24
      Deprecated.
      MySQL 5.7.24 is no longer supported by Amazon RDS.
      (deprecated) Version "5.7.24".

    • VER_5_7_25

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_7_25
      Deprecated.
      MySQL 5.7.25 is no longer supported by Amazon RDS.
      (deprecated) Version "5.7.25".

    • VER_5_7_26

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_7_26
      Deprecated.
      MySQL 5.7.26 is no longer supported by Amazon RDS.
      (deprecated) Version "5.7.26".

    • VER_5_7_28

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_7_28
      Deprecated.
      MySQL 5.7.28 is no longer supported by Amazon RDS.
      (deprecated) Version "5.7.28".

    • VER_5_7_30

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_7_30
      Deprecated.
      MySQL 5.7.30 is no longer supported by Amazon RDS.
      (deprecated) Version "5.7.30".

    • VER_5_7_31

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_7_31
      Deprecated.
      MySQL 5.7.31 is no longer supported by Amazon RDS.
      (deprecated) Version "5.7.31".

    • VER_5_7_33

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_7_33
      Deprecated.
      MySQL 5.7.33 is no longer supported by Amazon RDS.
      (deprecated) Version "5.7.33".

    • VER_5_7_34

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_7_34
      Deprecated.
      MySQL 5.7.34 is no longer supported by Amazon RDS.
      (deprecated) Version "5.7.34".

    • VER_5_7_35

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_7_35
      Deprecated.
      MySQL 5.7.35 is no longer supported by Amazon RDS.
      (deprecated) Version "5.7.35".

    • VER_5_7_36

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_7_36
      Deprecated.
      MySQL 5.7.36 is no longer supported by Amazon RDS.
      (deprecated) Version "5.7.36".

    • VER_5_7_37

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_37
      Version "5.7.37".
    • VER_5_7_38

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_38
      Version "5.7.38".
    • VER_5_7_39

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_39
      Version "5.7.39".
    • VER_5_7_40

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_40
      Version "5.7.40".
    • VER_5_7_41

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_41
      Version "5.7.41".
    • VER_5_7_42

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_42
      Version "5.7.42".
    • VER_5_7_43

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_43
      Version "5.7.43".
    • VER_5_7_44

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_44
      Version "5.7.44".
    • VER_8_0

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0
      Version "8.0" (only a major version, without a specific minor version).
    • VER_8_0_11

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_8_0_11
      Deprecated.
      MySQL 8.0.11 is no longer supported by Amazon RDS.
      (deprecated) Version "8.0.11".

    • VER_8_0_13

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_8_0_13
      Deprecated.
      MySQL 8.0.13 is no longer supported by Amazon RDS.
      (deprecated) Version "8.0.13".

    • VER_8_0_15

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_8_0_15
      Deprecated.
      MySQL 8.0.15 is no longer supported by Amazon RDS.
      (deprecated) Version "8.0.15".

    • VER_8_0_16

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_8_0_16
      Deprecated.
      MySQL 8.0.16 is no longer supported by Amazon RDS.
      (deprecated) Version "8.0.16".

    • VER_8_0_17

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_8_0_17
      Deprecated.
      MySQL 8.0.17 is no longer supported by Amazon RDS.
      (deprecated) Version "8.0.17".

    • VER_8_0_19

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_8_0_19
      Deprecated.
      MySQL 8.0.19 is no longer supported by Amazon RDS.
      (deprecated) Version "8.0.19".

    • VER_8_0_20

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_8_0_20
      Deprecated.
      MySQL 8.0.20 is no longer supported by Amazon RDS.
      (deprecated) Version "8.0.20".

    • VER_8_0_21

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_8_0_21
      Deprecated.
      MySQL 8.0.21 is no longer supported by Amazon RDS.
      (deprecated) Version "8.0.21".

    • VER_8_0_23

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_8_0_23
      Deprecated.
      MySQL 8.0.23 is no longer supported by Amazon RDS.
      (deprecated) Version "8.0.23".

    • VER_8_0_25

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_8_0_25
      Deprecated.
      MySQL 8.0.25 is no longer supported by Amazon RDS.
      (deprecated) Version "8.0.25".

    • VER_8_0_26

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_8_0_26
      Deprecated.
      MySQL 8.0.26 is no longer supported by Amazon RDS.
      (deprecated) Version "8.0.26".

    • VER_8_0_27

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_8_0_27
      Deprecated.
      MySQL 8.0.27 is no longer supported by Amazon RDS.
      (deprecated) Version "8.0.27".

    • VER_8_0_28

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_28
      Version "8.0.28".
    • VER_8_0_29

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_8_0_29
      Deprecated.
      MySQL 8.0.29 is no longer supported by Amazon RDS.
      (deprecated) Version "8.0.29".

    • VER_8_0_30

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_8_0_30
      Deprecated.
      MySQL 8.0.30 is no longer supported by Amazon RDS.
      (deprecated) Version "8.0.30".

    • VER_8_0_31

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_31
      Version "8.0.31".
    • VER_8_0_32

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_32
      Version "8.0.32".
    • VER_8_0_33

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_33
      Version "8.0.33".
    • VER_8_0_34

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_34
      Version "8.0.34".
    • VER_8_0_35

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_35
      Version "8.0.35".
    • VER_8_0_36

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_36
      Version "8.0.36".
  • Constructor Details

    • MysqlEngineVersion

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

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

    • of

      @Stability(Stable) @NotNull public static MysqlEngineVersion of(@NotNull String mysqlFullVersion, @NotNull String mysqlMajorVersion)
      Create a new MysqlEngineVersion with an arbitrary version.

      Parameters:
      mysqlFullVersion - the full version string, for example "8.1.43". This parameter is required.
      mysqlMajorVersion - the major version of the engine, for example "8.1". This parameter is required.
    • getMysqlFullVersion

      @Stability(Stable) @NotNull public String getMysqlFullVersion()
      The full version string, for example, "10.5.28".
    • getMysqlMajorVersion

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