Class DatabaseInstanceEngine
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
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_39).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_39).build())) .vpc(vpc) .allocatedStorage(500) .storageType(StorageType.GP3) .storageThroughput(500) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final IInstanceEngine
The unversioned 'mariadb' instance engine.static final IInstanceEngine
The unversioned 'mysql' instance engine.static final IInstanceEngine
The unversioned 'oracle-ee' instance engine.static final IInstanceEngine
The unversioned 'oracle-ee-cdb' instance engine.static final IInstanceEngine
The unversioned 'oracle-se2' instance engine.static final IInstanceEngine
The unversioned 'oracle-se2-cdb' instance engine.static final IInstanceEngine
The unversioned 'postgres' instance engine.static final IInstanceEngine
The unversioned 'sqlserver-ee' instance engine.static final IInstanceEngine
The unversioned 'sqlserver-ex' instance engine.static final IInstanceEngine
The unversioned 'sqlserver-se' instance engine.static final IInstanceEngine
The unversioned 'sqlserver-web' instance engine. -
Constructor Summary
ModifierConstructorDescriptionprotected
DatabaseInstanceEngine
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
DatabaseInstanceEngine
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic IInstanceEngine
Creates a new MariaDB instance engine.static IInstanceEngine
mysql
(MySqlInstanceEngineProps props) Creates a new MySQL instance engine.static IInstanceEngine
Creates a new Oracle Enterprise Edition instance engine.static IInstanceEngine
Creates a new Oracle Enterprise Edition (CDB) instance engine.static IInstanceEngine
Creates a new Oracle Standard Edition 2 instance engine.static IInstanceEngine
Creates a new Oracle Standard Edition 2 (CDB) instance engine.static IInstanceEngine
Creates a new PostgreSQL instance engine.static IInstanceEngine
Creates a new SQL Server Enterprise Edition instance engine.static IInstanceEngine
Creates a new SQL Server Express Edition instance engine.static IInstanceEngine
Creates a new SQL Server Standard Edition instance engine.static IInstanceEngine
Creates a new SQL Server Web Edition instance engine.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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
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
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
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
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
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
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
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
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
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
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.
-