Class DatabaseInstanceEngine

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

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:35.165Z") @Stability(Stable) public class DatabaseInstanceEngine extends software.amazon.jsii.JsiiObject
A database instance engine.

Provides mapping to DatabaseEngine used for secret rotation.

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

    • MARIADB

      @Stability(Stable) public static final IInstanceEngine MARIADB
      The unversioned 'mariadb' instance engine.

      NOTE: using unversioned engines is an availability risk. We recommend using versioned engines created using the mariaDb() method

    • MYSQL

      @Stability(Stable) public static final IInstanceEngine MYSQL
      The unversioned 'mysql' instance engine.

      NOTE: using unversioned engines is an availability risk. We recommend using versioned engines created using the mysql() method

    • ORACLE_EE

      @Stability(Stable) public static final IInstanceEngine ORACLE_EE
      The unversioned 'oracle-ee' instance engine.

      NOTE: using unversioned engines is an availability risk. We recommend using versioned engines created using the oracleEe() method

    • ORACLE_EE_CDB

      @Stability(Stable) public static final IInstanceEngine ORACLE_EE_CDB
      The unversioned 'oracle-ee-cdb' instance engine.

      NOTE: using unversioned engines is an availability risk. We recommend using versioned engines created using the oracleEeCdb() method

    • ORACLE_SE2

      @Stability(Stable) public static final IInstanceEngine ORACLE_SE2
      The unversioned 'oracle-se2' instance engine.

      NOTE: using unversioned engines is an availability risk. We recommend using versioned engines created using the oracleSe2() method

    • ORACLE_SE2_CDB

      @Stability(Stable) public static final IInstanceEngine ORACLE_SE2_CDB
      The unversioned 'oracle-se2-cdb' instance engine.

      NOTE: using unversioned engines is an availability risk. We recommend using versioned engines created using the oracleSe2Cdb() method

    • POSTGRES

      @Stability(Stable) public static final IInstanceEngine POSTGRES
      The unversioned 'postgres' instance engine.

      NOTE: using unversioned engines is an availability risk. We recommend using versioned engines created using the postgres() method

    • SQL_SERVER_EE

      @Stability(Stable) public static final IInstanceEngine SQL_SERVER_EE
      The unversioned 'sqlserver-ee' instance engine.

      NOTE: using unversioned engines is an availability risk. We recommend using versioned engines created using the sqlServerEe() method

    • SQL_SERVER_EX

      @Stability(Stable) public static final IInstanceEngine SQL_SERVER_EX
      The unversioned 'sqlserver-ex' instance engine.

      NOTE: using unversioned engines is an availability risk. We recommend using versioned engines created using the sqlServerEx() method

    • SQL_SERVER_SE

      @Stability(Stable) public static final IInstanceEngine SQL_SERVER_SE
      The unversioned 'sqlserver-se' instance engine.

      NOTE: using unversioned engines is an availability risk. We recommend using versioned engines created using the sqlServerSe() method

    • SQL_SERVER_WEB

      @Stability(Stable) public static final IInstanceEngine SQL_SERVER_WEB
      The unversioned 'sqlserver-web' instance engine.

      NOTE: using unversioned engines is an availability risk. We recommend using versioned engines created using the sqlServerWeb() method

  • Constructor Details

    • DatabaseInstanceEngine

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

      protected DatabaseInstanceEngine(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • DatabaseInstanceEngine

      @Stability(Stable) public DatabaseInstanceEngine()
  • Method Details

    • mariaDb

      @Stability(Stable) @NotNull public static IInstanceEngine mariaDb(@NotNull MariaDbInstanceEngineProps props)
      Creates a new MariaDB instance engine.

      Parameters:
      props - This parameter is required.
    • mysql

      @Stability(Stable) @NotNull public static IInstanceEngine mysql(@NotNull MySqlInstanceEngineProps props)
      Creates a new MySQL instance engine.

      Parameters:
      props - This parameter is required.
    • oracleEe

      @Stability(Stable) @NotNull public static IInstanceEngine oracleEe(@NotNull OracleEeInstanceEngineProps props)
      Creates a new Oracle Enterprise Edition instance engine.

      Parameters:
      props - This parameter is required.
    • oracleEeCdb

      @Stability(Stable) @NotNull public static IInstanceEngine oracleEeCdb(@NotNull OracleEeCdbInstanceEngineProps props)
      Creates a new Oracle Enterprise Edition (CDB) instance engine.

      Parameters:
      props - This parameter is required.
    • oracleSe2

      @Stability(Stable) @NotNull public static IInstanceEngine oracleSe2(@NotNull OracleSe2InstanceEngineProps props)
      Creates a new Oracle Standard Edition 2 instance engine.

      Parameters:
      props - This parameter is required.
    • oracleSe2Cdb

      @Stability(Stable) @NotNull public static IInstanceEngine oracleSe2Cdb(@NotNull OracleSe2CdbInstanceEngineProps props)
      Creates a new Oracle Standard Edition 2 (CDB) instance engine.

      Parameters:
      props - This parameter is required.
    • postgres

      @Stability(Stable) @NotNull public static IInstanceEngine postgres(@NotNull PostgresInstanceEngineProps props)
      Creates a new PostgreSQL instance engine.

      Parameters:
      props - This parameter is required.
    • sqlServerEe

      @Stability(Stable) @NotNull public static IInstanceEngine sqlServerEe(@NotNull SqlServerEeInstanceEngineProps props)
      Creates a new SQL Server Enterprise Edition instance engine.

      Parameters:
      props - This parameter is required.
    • sqlServerEx

      @Stability(Stable) @NotNull public static IInstanceEngine sqlServerEx(@NotNull SqlServerExInstanceEngineProps props)
      Creates a new SQL Server Express Edition instance engine.

      Parameters:
      props - This parameter is required.
    • sqlServerSe

      @Stability(Stable) @NotNull public static IInstanceEngine sqlServerSe(@NotNull SqlServerSeInstanceEngineProps props)
      Creates a new SQL Server Standard Edition instance engine.

      Parameters:
      props - This parameter is required.
    • sqlServerWeb

      @Stability(Stable) @NotNull public static IInstanceEngine sqlServerWeb(@NotNull SqlServerWebInstanceEngineProps props)
      Creates a new SQL Server Web Edition instance engine.

      Parameters:
      props - This parameter is required.