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;
Key kmsKey;
var instance = new DatabaseInstance(this, "Instance", new DatabaseInstanceProps {
Engine = DatabaseInstanceEngine.Mysql(new MySqlInstanceEngineProps { Version = MysqlEngineVersion.VER_8_0_39 }),
InstanceType = InstanceType.Of(InstanceClass.R7G, InstanceSize.LARGE),
Vpc = vpc,
EnablePerformanceInsights = true,
PerformanceInsightRetention = PerformanceInsightRetention.LONG_TERM,
PerformanceInsightEncryptionKey = kmsKey
});
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
Remarks
Used in DatabaseInstanceEngine.mysql
.
ExampleMetadata: infused