Interface AuroraMysqlClusterEngineProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AuroraMysqlClusterEngineProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-09T14:39:17.464Z")
@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()))
.credentials(Credentials.fromGeneratedSecret("clusteradmin")) // Optional - will default to 'admin' username and generated password
.writer(ClusterInstance.provisioned("writer", ProvisionedClusterInstanceProps.builder()
.publiclyAccessible(false)
.build()))
.readers(List.of(ClusterInstance.provisioned("reader1", ProvisionedClusterInstanceProps.builder().promotionTier(1).build()), ClusterInstance.serverlessV2("reader2")))
.vpcSubnets(SubnetSelection.builder()
.subnetType(SubnetType.PRIVATE_WITH_EGRESS)
.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
-