Interface AuroraMysqlClusterEngineProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AuroraMysqlClusterEngineProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:58.887Z")
@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("writer", ProvisionedClusterInstanceProps.builder()
.caCertificate(CaCertificate.RDS_CA_RSA2048_G1)
.build()))
.readers(List.of(ClusterInstance.serverlessV2("reader", ServerlessV2ClusterInstanceProps.builder()
.caCertificate(CaCertificate.of("custom-ca"))
.build())))
.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
-