Interface IMySqlInstanceEngineProps
Properties for MySQL instance engines.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public interface IMySqlInstanceEngineProps
Syntax (vb)
Public Interface 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
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