Interface IMySqlInstanceEngineProps
Properties for MySQL instance engines.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IMySqlInstanceEngineProps
Syntax (vb)
Public Interface IMySqlInstanceEngineProps
Remarks
Used in DatabaseInstanceEngine.mysql
.
ExampleMetadata: infused
Examples
Vpc vpc;
var iopsInstance = new DatabaseInstance(this, "IopsInstance", new DatabaseInstanceProps {
Engine = DatabaseInstanceEngine.Mysql(new MySqlInstanceEngineProps { Version = MysqlEngineVersion.VER_8_0_30 }),
Vpc = vpc,
StorageType = StorageType.IO1,
Iops = 5000
});
var gp3Instance = new DatabaseInstance(this, "Gp3Instance", new DatabaseInstanceProps {
Engine = DatabaseInstanceEngine.Mysql(new MySqlInstanceEngineProps { Version = MysqlEngineVersion.VER_8_0_30 }),
Vpc = vpc,
AllocatedStorage = 500,
StorageType = StorageType.GP3,
StorageThroughput = 500
});
Synopsis
Properties
Version | The exact version of the engine to use. |
Properties
Version
The exact version of the engine to use.
MysqlEngineVersion Version { get; }
Property Value