Class MySqlInstanceEngineProps
Properties for MySQL instance engines.
Inheritance
System.Object
MySqlInstanceEngineProps
Implements
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MySqlInstanceEngineProps : Object, IMySqlInstanceEngineProps
Syntax (vb)
Public Class MySqlInstanceEngineProps
Inherits Object
Implements 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_39 }),
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_39 }),
Vpc = vpc,
AllocatedStorage = 500,
StorageType = StorageType.GP3,
StorageThroughput = 500
});
Synopsis
Constructors
MySqlInstanceEngineProps() |
Properties
Version | The exact version of the engine to use. |
Constructors
MySqlInstanceEngineProps()
public MySqlInstanceEngineProps()
Properties
Version
The exact version of the engine to use.
public MysqlEngineVersion Version { get; set; }
Property Value