Interface MySqlInstanceEngineProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MySqlInstanceEngineProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:13.401Z")
@Stability(Stable)
public interface MySqlInstanceEngineProps
extends software.amazon.jsii.JsiiSerializable
Properties for MySQL instance engines.
Used in DatabaseInstanceEngine.mysql.
Example:
Vpc vpc;
Key kmsKey;
DatabaseInstance instance = DatabaseInstance.Builder.create(this, "Instance")
.engine(DatabaseInstanceEngine.mysql(MySqlInstanceEngineProps.builder().version(MysqlEngineVersion.VER_8_0_39).build()))
.instanceType(InstanceType.of(InstanceClass.R7G, InstanceSize.LARGE))
.vpc(vpc)
.enablePerformanceInsights(true)
.performanceInsightRetention(PerformanceInsightRetention.LONG_TERM)
.performanceInsightEncryptionKey(kmsKey)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forMySqlInstanceEnginePropsstatic final classAn implementation forMySqlInstanceEngineProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVersion
The exact version of the engine to use. -
builder
- Returns:
- a
MySqlInstanceEngineProps.BuilderofMySqlInstanceEngineProps
-