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.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.214Z") @Stability(Stable) public class MysqlEngineVersion extends software.amazon.jsii.JsiiObject
The versions for the MySQL instance engines (those returned by
invalid @link
DatabaseInstanceEngine.mysql
).

Example:

 Vpc vpc;
 Role role = Role.Builder.create(this, "RDSDirectoryServicesRole")
         .assumedBy(new ServicePrincipal("rds.amazonaws.com"))
         .managedPolicies(List.of(ManagedPolicy.fromAwsManagedPolicyName("service-role/AmazonRDSDirectoryServiceAccess")))
         .build();
 DatabaseInstance instance = DatabaseInstance.Builder.create(this, "Instance")
         .engine(DatabaseInstanceEngine.mysql(MySqlInstanceEngineProps.builder().version(MysqlEngineVersion.VER_8_0_19).build()))
         .vpc(vpc)
         .domain("d-????????") // The ID of the domain for the instance to join.
         .domainRole(role)
         .build();
 
  • Field Details

    • VER_5_5

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_5
      Deprecated.
      MySQL 5.5 will reach end of life on May 25, 2021
      (deprecated) Version "5.5" (only a major version, without a specific minor version).

    • VER_5_5_46

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_5_46
      Deprecated.
      MySQL 5.5 will reach end of life on May 25, 2021
      (deprecated) Version "5.5.46".

    • VER_5_5_53

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_5_53
      Deprecated.
      MySQL 5.5 will reach end of life on May 25, 2021
      (deprecated) Version "5.5.53".

    • VER_5_5_57

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_5_57
      Deprecated.
      MySQL 5.5 will reach end of life on May 25, 2021
      (deprecated) Version "5.5.57".

    • VER_5_5_59

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_5_59
      Deprecated.
      MySQL 5.5 will reach end of life on May 25, 2021
      (deprecated) Version "5.5.59".

    • VER_5_5_61

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_5_61
      Deprecated.
      MySQL 5.5 will reach end of life on May 25, 2021
      (deprecated) Version "5.5.61".

    • VER_5_6

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_6
      Deprecated.
      MySQL 5.6 will reach end of life on August 3, 2021
      (deprecated) Version "5.6" (only a major version, without a specific minor version).

    • VER_5_6_34

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_6_34
      Deprecated.
      MySQL 5.6 will reach end of life on August 3, 2021
      (deprecated) Version "5.6.34".

    • VER_5_6_35

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_6_35
      Deprecated.
      MySQL 5.6 will reach end of life on August 3, 2021
      (deprecated) Version "5.6.35".

    • VER_5_6_37

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_6_37
      Deprecated.
      MySQL 5.6 will reach end of life on August 3, 2021
      (deprecated) Version "5.6.37".

    • VER_5_6_39

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_6_39
      Deprecated.
      MySQL 5.6 will reach end of life on August 3, 2021
      (deprecated) Version "5.6.39".

    • VER_5_6_40

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_6_40
      Deprecated.
      MySQL 5.6 will reach end of life on August 3, 2021
      (deprecated) Version "5.6.40".

    • VER_5_6_41

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_6_41
      Deprecated.
      MySQL 5.6 will reach end of life on August 3, 2021
      (deprecated) Version "5.6.41".

    • VER_5_6_43

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_6_43
      Deprecated.
      MySQL 5.6 will reach end of life on August 3, 2021
      (deprecated) Version "5.6.43".

    • VER_5_6_44

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_6_44
      Deprecated.
      MySQL 5.6 will reach end of life on August 3, 2021
      (deprecated) Version "5.6.44".

    • VER_5_6_46

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_6_46
      Deprecated.
      MySQL 5.6 will reach end of life on August 3, 2021
      (deprecated) Version "5.6.46".

    • VER_5_6_48

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_6_48
      Deprecated.
      MySQL 5.6 will reach end of life on August 3, 2021
      (deprecated) Version "5.6.48".

    • VER_5_6_49

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_6_49
      Deprecated.
      MySQL 5.6 will reach end of life on August 3, 2021
      (deprecated) Version "5.6.49".

    • VER_5_6_51

      @Stability(Deprecated) @Deprecated public static final MysqlEngineVersion VER_5_6_51
      Deprecated.
      MySQL 5.6 will reach end of life on August 3, 2021
      (deprecated) Version "5.6.51".

    • 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(Stable) public static final MysqlEngineVersion VER_5_7_16
      Version "5.7.16".
    • VER_5_7_17

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_17
      Version "5.7.17".
    • VER_5_7_19

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_19
      Version "5.7.19".
    • VER_5_7_21

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_21
      Version "5.7.21".
    • VER_5_7_22

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_22
      Version "5.7.22".
    • VER_5_7_23

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_23
      Version "5.7.23".
    • VER_5_7_24

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_24
      Version "5.7.24".
    • VER_5_7_25

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_25
      Version "5.7.25".
    • VER_5_7_26

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_26
      Version "5.7.26".
    • VER_5_7_28

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_28
      Version "5.7.28".
    • VER_5_7_30

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_30
      Version "5.7.30".
    • VER_5_7_31

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_31
      Version "5.7.31".
    • VER_5_7_33

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_33
      Version "5.7.33".
    • VER_5_7_34

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_34
      Version "5.7.34".
    • VER_5_7_35

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_35
      Version "5.7.35".
    • VER_5_7_36

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_36
      Version "5.7.36".
    • VER_5_7_37

      @Stability(Stable) public static final MysqlEngineVersion VER_5_7_37
      Version "5.7.37".
    • 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(Stable) public static final MysqlEngineVersion VER_8_0_11
      Version "8.0.11".
    • VER_8_0_13

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_13
      Version "8.0.13".
    • VER_8_0_15

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_15
      Version "8.0.15".
    • VER_8_0_16

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_16
      Version "8.0.16".
    • VER_8_0_17

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_17
      Version "8.0.17".
    • VER_8_0_19

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_19
      Version "8.0.19".
    • VER_8_0_20

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_20
      Version "8.0.20 ".
    • VER_8_0_21

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_21
      Version "8.0.21 ".
    • VER_8_0_23

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_23
      Version "8.0.23".
    • VER_8_0_25

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_25
      Version "8.0.25".
    • VER_8_0_26

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_26
      Version "8.0.26".
    • VER_8_0_27

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_27
      Version "8.0.27".
    • VER_8_0_28

      @Stability(Stable) public static final MysqlEngineVersion VER_8_0_28
      Version "8.0.28".
  • 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".