Show / Hide Table of Contents

Class MySqlInstanceEngineProps

Properties for MySQL instance engines.

Inheritance
System.Object
MySqlInstanceEngineProps
Implements
IMySqlInstanceEngineProps
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public class MySqlInstanceEngineProps : Object, IMySqlInstanceEngineProps
Syntax (vb)
Public Class MySqlInstanceEngineProps
    Inherits Object
    Implements IMySqlInstanceEngineProps
Remarks

Used in {@link DatabaseInstanceEngine.mysql}.

ExampleMetadata: infused

Examples
Vpc vpc;

var role = new Role(this, "RDSDirectoryServicesRole", new RoleProps {
    AssumedBy = new ServicePrincipal("rds.amazonaws.com"),
    ManagedPolicies = new [] { ManagedPolicy.FromAwsManagedPolicyName("service-role/AmazonRDSDirectoryServiceAccess") }
});
var instance = new DatabaseInstance(this, "Instance", new DatabaseInstanceProps {
    Engine = DatabaseInstanceEngine.Mysql(new MySqlInstanceEngineProps { Version = MysqlEngineVersion.VER_8_0_19 }),
    Vpc = vpc,
    Domain = "d-????????",  // The ID of the domain for the instance to join.
    DomainRole = role
});

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

MysqlEngineVersion

Implements

IMySqlInstanceEngineProps
Back to top Generated by DocFX