Show / Hide Table of Contents

Class MySqlInstanceEngineProps

Properties for MySQL instance engines.

Inheritance
object
MySqlInstanceEngineProps
Implements
IMySqlInstanceEngineProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MySqlInstanceEngineProps : IMySqlInstanceEngineProps
Syntax (vb)
Public Class MySqlInstanceEngineProps Implements 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

Constructors

MySqlInstanceEngineProps()

Properties for MySQL instance engines.

Properties

Version

The exact version of the engine to use.

Constructors

MySqlInstanceEngineProps()

Properties for MySQL instance engines.

public MySqlInstanceEngineProps()
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
             });

Properties

Version

The exact version of the engine to use.

public MysqlEngineVersion Version { get; set; }
Property Value

MysqlEngineVersion

Remarks

Used in DatabaseInstanceEngine.mysql.

ExampleMetadata: infused

Implements

IMySqlInstanceEngineProps
Back to top Generated by DocFX