Class DatabaseClusterEngine
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.rds.DatabaseClusterEngine
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.108Z")
@Stability(Stable)
public class DatabaseClusterEngine
extends software.amazon.jsii.JsiiObject
A database cluster engine.
Provides mapping to the serverless application used for secret rotation.
Example:
Vpc vpc; ServerlessCluster cluster = ServerlessCluster.Builder.create(this, "AnotherCluster") .engine(DatabaseClusterEngine.AURORA_POSTGRESQL) .parameterGroup(ParameterGroup.fromParameterGroupName(this, "ParameterGroup", "default.aurora-postgresql10")) .vpc(vpc) .scaling(ServerlessScalingOptions.builder() .autoPause(Duration.minutes(10)) // default is to pause after 5 minutes of idle time .minCapacity(AuroraCapacityUnit.ACU_8) // default is 2 Aurora capacity units (ACUs) .maxCapacity(AuroraCapacityUnit.ACU_32) .build()) .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 IClusterEngine
The unversioned 'aurora' cluster engine.static final IClusterEngine
The unversioned 'aurora-msql' cluster engine.static final IClusterEngine
The unversioned 'aurora-postgresql' cluster engine. -
Constructor Summary
ModifierConstructorDescriptionprotected
DatabaseClusterEngine
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
DatabaseClusterEngine
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic IClusterEngine
aurora
(AuroraClusterEngineProps props) Creates a new plain Aurora database cluster engine.static IClusterEngine
Creates a new Aurora MySQL database cluster engine.static IClusterEngine
Creates a new Aurora PostgreSQL database cluster 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
-
AURORA
The unversioned 'aurora' cluster engine.**Note**: we do not recommend using unversioned engines for non-serverless Clusters, as that can pose an availability risk. We recommend using versioned engines created using the
aurora()
method -
AURORA_MYSQL
The unversioned 'aurora-msql' cluster engine.**Note**: we do not recommend using unversioned engines for non-serverless Clusters, as that can pose an availability risk. We recommend using versioned engines created using the
auroraMysql()
method -
AURORA_POSTGRESQL
The unversioned 'aurora-postgresql' cluster engine.**Note**: we do not recommend using unversioned engines for non-serverless Clusters, as that can pose an availability risk. We recommend using versioned engines created using the
auroraPostgres()
method
-
-
Constructor Details
-
DatabaseClusterEngine
protected DatabaseClusterEngine(software.amazon.jsii.JsiiObjectRef objRef) -
DatabaseClusterEngine
protected DatabaseClusterEngine(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
DatabaseClusterEngine
@Stability(Stable) public DatabaseClusterEngine()
-
-
Method Details
-
aurora
@Stability(Stable) @NotNull public static IClusterEngine aurora(@NotNull AuroraClusterEngineProps props) Creates a new plain Aurora database cluster engine.- Parameters:
props
- This parameter is required.
-
auroraMysql
@Stability(Stable) @NotNull public static IClusterEngine auroraMysql(@NotNull AuroraMysqlClusterEngineProps props) Creates a new Aurora MySQL database cluster engine.- Parameters:
props
- This parameter is required.
-
auroraPostgres
@Stability(Stable) @NotNull public static IClusterEngine auroraPostgres(@NotNull AuroraPostgresClusterEngineProps props) Creates a new Aurora PostgreSQL database cluster engine.- Parameters:
props
- This parameter is required.
-