Class DatabaseInstanceEngine
A database instance engine.
Inheritance
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DatabaseInstanceEngine : DeputyBase
Syntax (vb)
Public Class DatabaseInstanceEngine
Inherits DeputyBase
Remarks
Provides mapping to DatabaseEngine used for secret rotation.
ExampleMetadata: infused
Examples
Vpc vpc;
var iopsInstance = new DatabaseInstance(this, "IopsInstance", new DatabaseInstanceProps {
Engine = DatabaseInstanceEngine.Mysql(new MySqlInstanceEngineProps { Version = MysqlEngineVersion.VER_8_0_39 }),
Vpc = vpc,
StorageType = StorageType.IO1,
Iops = 5000
});
var gp3Instance = new DatabaseInstance(this, "Gp3Instance", new DatabaseInstanceProps {
Engine = DatabaseInstanceEngine.Mysql(new MySqlInstanceEngineProps { Version = MysqlEngineVersion.VER_8_0_39 }),
Vpc = vpc,
AllocatedStorage = 500,
StorageType = StorageType.GP3,
StorageThroughput = 500
});
Synopsis
Constructors
DatabaseInstanceEngine() | |
DatabaseInstanceEngine(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
DatabaseInstanceEngine(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
MARIADB | The unversioned 'mariadb' instance engine. |
MYSQL | The unversioned 'mysql' instance engine. |
ORACLE_EE | The unversioned 'oracle-ee' instance engine. |
ORACLE_EE_CDB | The unversioned 'oracle-ee-cdb' instance engine. |
ORACLE_SE2 | The unversioned 'oracle-se2' instance engine. |
ORACLE_SE2_CDB | The unversioned 'oracle-se2-cdb' instance engine. |
POSTGRES | The unversioned 'postgres' instance engine. |
SQL_SERVER_EE | The unversioned 'sqlserver-ee' instance engine. |
SQL_SERVER_EX | The unversioned 'sqlserver-ex' instance engine. |
SQL_SERVER_SE | The unversioned 'sqlserver-se' instance engine. |
SQL_SERVER_WEB | The unversioned 'sqlserver-web' instance engine. |
Methods
MariaDb(IMariaDbInstanceEngineProps) | Creates a new MariaDB instance engine. |
Mysql(IMySqlInstanceEngineProps) | Creates a new MySQL instance engine. |
OracleEe(IOracleEeInstanceEngineProps) | Creates a new Oracle Enterprise Edition instance engine. |
OracleEeCdb(IOracleEeCdbInstanceEngineProps) | Creates a new Oracle Enterprise Edition (CDB) instance engine. |
OracleSe2(IOracleSe2InstanceEngineProps) | Creates a new Oracle Standard Edition 2 instance engine. |
OracleSe2Cdb(IOracleSe2CdbInstanceEngineProps) | Creates a new Oracle Standard Edition 2 (CDB) instance engine. |
Postgres(IPostgresInstanceEngineProps) | Creates a new PostgreSQL instance engine. |
SqlServerEe(ISqlServerEeInstanceEngineProps) | Creates a new SQL Server Enterprise Edition instance engine. |
SqlServerEx(ISqlServerExInstanceEngineProps) | Creates a new SQL Server Express Edition instance engine. |
SqlServerSe(ISqlServerSeInstanceEngineProps) | Creates a new SQL Server Standard Edition instance engine. |
SqlServerWeb(ISqlServerWebInstanceEngineProps) | Creates a new SQL Server Web Edition instance engine. |
Constructors
DatabaseInstanceEngine()
public DatabaseInstanceEngine()
DatabaseInstanceEngine(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected DatabaseInstanceEngine(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
DatabaseInstanceEngine(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected DatabaseInstanceEngine(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
MARIADB
The unversioned 'mariadb' instance engine.
public static IInstanceEngine MARIADB { get; }
Property Value
Remarks
NOTE: using unversioned engines is an availability risk.
We recommend using versioned engines created using the mariaDb()
method
MYSQL
The unversioned 'mysql' instance engine.
public static IInstanceEngine MYSQL { get; }
Property Value
Remarks
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.
public static IInstanceEngine ORACLE_EE { get; }
Property Value
Remarks
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.
public static IInstanceEngine ORACLE_EE_CDB { get; }
Property Value
Remarks
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.
public static IInstanceEngine ORACLE_SE2 { get; }
Property Value
Remarks
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.
public static IInstanceEngine ORACLE_SE2_CDB { get; }
Property Value
Remarks
NOTE: using unversioned engines is an availability risk.
We recommend using versioned engines created using the oracleSe2Cdb()
method
POSTGRES
The unversioned 'postgres' instance engine.
public static IInstanceEngine POSTGRES { get; }
Property Value
Remarks
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.
public static IInstanceEngine SQL_SERVER_EE { get; }
Property Value
Remarks
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.
public static IInstanceEngine SQL_SERVER_EX { get; }
Property Value
Remarks
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.
public static IInstanceEngine SQL_SERVER_SE { get; }
Property Value
Remarks
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.
public static IInstanceEngine SQL_SERVER_WEB { get; }
Property Value
Remarks
NOTE: using unversioned engines is an availability risk.
We recommend using versioned engines created using the sqlServerWeb()
method
Methods
MariaDb(IMariaDbInstanceEngineProps)
Creates a new MariaDB instance engine.
public static IInstanceEngine MariaDb(IMariaDbInstanceEngineProps props)
Parameters
Returns
Mysql(IMySqlInstanceEngineProps)
Creates a new MySQL instance engine.
public static IInstanceEngine Mysql(IMySqlInstanceEngineProps props)
Parameters
Returns
OracleEe(IOracleEeInstanceEngineProps)
Creates a new Oracle Enterprise Edition instance engine.
public static IInstanceEngine OracleEe(IOracleEeInstanceEngineProps props)
Parameters
Returns
OracleEeCdb(IOracleEeCdbInstanceEngineProps)
Creates a new Oracle Enterprise Edition (CDB) instance engine.
public static IInstanceEngine OracleEeCdb(IOracleEeCdbInstanceEngineProps props)
Parameters
Returns
OracleSe2(IOracleSe2InstanceEngineProps)
Creates a new Oracle Standard Edition 2 instance engine.
public static IInstanceEngine OracleSe2(IOracleSe2InstanceEngineProps props)
Parameters
Returns
OracleSe2Cdb(IOracleSe2CdbInstanceEngineProps)
Creates a new Oracle Standard Edition 2 (CDB) instance engine.
public static IInstanceEngine OracleSe2Cdb(IOracleSe2CdbInstanceEngineProps props)
Parameters
Returns
Postgres(IPostgresInstanceEngineProps)
Creates a new PostgreSQL instance engine.
public static IInstanceEngine Postgres(IPostgresInstanceEngineProps props)
Parameters
Returns
SqlServerEe(ISqlServerEeInstanceEngineProps)
Creates a new SQL Server Enterprise Edition instance engine.
public static IInstanceEngine SqlServerEe(ISqlServerEeInstanceEngineProps props)
Parameters
Returns
SqlServerEx(ISqlServerExInstanceEngineProps)
Creates a new SQL Server Express Edition instance engine.
public static IInstanceEngine SqlServerEx(ISqlServerExInstanceEngineProps props)
Parameters
Returns
SqlServerSe(ISqlServerSeInstanceEngineProps)
Creates a new SQL Server Standard Edition instance engine.
public static IInstanceEngine SqlServerSe(ISqlServerSeInstanceEngineProps props)
Parameters
Returns
SqlServerWeb(ISqlServerWebInstanceEngineProps)
Creates a new SQL Server Web Edition instance engine.
public static IInstanceEngine SqlServerWeb(ISqlServerWebInstanceEngineProps props)
Parameters
Returns