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.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.124Z") @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 sourceInstance;
 DatabaseInstanceFromSnapshot.Builder.create(this, "Instance")
         .snapshotIdentifier("my-snapshot")
         .engine(DatabaseInstanceEngine.postgres(PostgresInstanceEngineProps.builder().version(PostgresEngineVersion.VER_12_3).build()))
         // optional, defaults to m5.large
         .instanceType(InstanceType.of(InstanceClass.BURSTABLE2, InstanceSize.LARGE))
         .vpc(vpc)
         .build();
 DatabaseInstanceReadReplica.Builder.create(this, "ReadReplica")
         .sourceDatabaseInstance(sourceInstance)
         .instanceType(InstanceType.of(InstanceClass.BURSTABLE2, InstanceSize.LARGE))
         .vpc(vpc)
         .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

      invalid @link
      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

      invalid @link
      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

      invalid @link
      oracleEe()
      method
    • ORACLE_SE

      @Stability(Deprecated) @Deprecated public static final IInstanceEngine ORACLE_SE
      Deprecated.
      instances can no longer be created with this engine. See https://forums.aws.amazon.com/ann.jspa?annID=7341
      (deprecated) The unversioned 'oracle-se' instance engine.

    • ORACLE_SE1

      @Stability(Deprecated) @Deprecated public static final IInstanceEngine ORACLE_SE1
      Deprecated.
      instances can no longer be created with this engine. See https://forums.aws.amazon.com/ann.jspa?annID=7341
      (deprecated) The unversioned 'oracle-se1' instance engine.

    • 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

      invalid @link
      oracleSe2()
      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

      invalid @link
      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

      invalid @link
      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

      invalid @link
      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

      invalid @link
      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

      invalid @link
      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.
    • oracleSe

      @Stability(Deprecated) @Deprecated @NotNull public static IInstanceEngine oracleSe(@NotNull OracleSeInstanceEngineProps props)
      Deprecated.
      instances can no longer be created with this engine. See https://forums.aws.amazon.com/ann.jspa?annID=7341
      (deprecated) Creates a new Oracle Standard Edition instance engine.

      Parameters:
      props - This parameter is required.
    • oracleSe1

      @Stability(Deprecated) @Deprecated @NotNull public static IInstanceEngine oracleSe1(@NotNull OracleSe1InstanceEngineProps props)
      Deprecated.
      instances can no longer be created with this engine. See https://forums.aws.amazon.com/ann.jspa?annID=7341
      (deprecated) Creates a new Oracle Standard Edition 1 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 1 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.