Show / Hide Table of Contents

Interface IAuroraMysqlClusterEngineProps

Creation properties of the Aurora MySQL database cluster engine.

Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public interface IAuroraMysqlClusterEngineProps
Syntax (vb)
Public Interface IAuroraMysqlClusterEngineProps
Remarks

Used in {@link DatabaseClusterEngine.auroraMysql}.

ExampleMetadata: infused

Examples
Vpc vpc;

var cluster = new DatabaseCluster(this, "Database", new DatabaseClusterProps {
    Engine = DatabaseClusterEngine.AuroraMysql(new AuroraMysqlClusterEngineProps { Version = AuroraMysqlEngineVersion.VER_2_08_1 }),
    Credentials = Credentials.FromGeneratedSecret("clusteradmin"),  // Optional - will default to 'admin' username and generated password
    InstanceProps = new InstanceProps {
        // optional , defaults to t3.medium
        InstanceType = InstanceType.Of(InstanceClass.BURSTABLE2, InstanceSize.SMALL),
        VpcSubnets = new SubnetSelection {
            SubnetType = SubnetType.PRIVATE_WITH_NAT
        },
        Vpc = vpc
    }
});

Synopsis

Properties

Version

The version of the Aurora MySQL cluster engine.

Properties

Version

The version of the Aurora MySQL cluster engine.

AuroraMysqlEngineVersion Version { get; }
Property Value

AuroraMysqlEngineVersion

Back to top Generated by DocFX