Interface AuroraMysqlClusterEngineProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AuroraMysqlClusterEngineProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-04T12:43:14.008Z")
@Stability(Stable)
public interface AuroraMysqlClusterEngineProps
extends software.amazon.jsii.JsiiSerializable
Creation properties of the Aurora MySQL database cluster engine.
Used in DatabaseClusterEngine.auroraMysql.
Example:
Vpc vpc;
DatabaseCluster cluster = DatabaseCluster.Builder.create(this, "Database")
.engine(DatabaseClusterEngine.auroraMysql(AuroraMysqlClusterEngineProps.builder().version(AuroraMysqlEngineVersion.VER_3_01_0).build()))
.writer(ClusterInstance.provisioned("Instance", ProvisionedClusterInstanceProps.builder()
.instanceType(InstanceType.of(InstanceClass.BURSTABLE3, InstanceSize.SMALL))
.build()))
.readers(List.of(ClusterInstance.provisioned("reader")))
.instanceUpdateBehaviour(InstanceUpdateBehaviour.ROLLING) // Optional - defaults to rds.InstanceUpdateBehaviour.BULK
.vpc(vpc)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAuroraMysqlClusterEnginePropsstatic final classAn implementation forAuroraMysqlClusterEngineProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVersion
The version of the Aurora MySQL cluster engine. -
builder
-