Class AuroraMysqlEngineVersion
The versions for the Aurora MySQL cluster engine (those returned by {@link DatabaseClusterEngine.auroraMysql}).
Inheritance
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public class AuroraMysqlEngineVersion : DeputyBase
Syntax (vb)
Public Class AuroraMysqlEngineVersion
Inherits DeputyBase
Remarks
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
Constructors
AuroraMysqlEngineVersion(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
AuroraMysqlEngineVersion(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AuroraMysqlFullVersion | The full version string, for example, "5.7.mysql_aurora.1.78.3.6". |
AuroraMysqlMajorVersion | The major version of the engine. |
VER_2_03_2 | Version "5.7.mysql_aurora.2.03.2". |
VER_2_03_3 | Version "5.7.mysql_aurora.2.03.3". |
VER_2_03_4 | Version "5.7.mysql_aurora.2.03.4". |
VER_2_04_0 | Version "5.7.mysql_aurora.2.04.0". |
VER_2_04_1 | Version "5.7.mysql_aurora.2.04.1". |
VER_2_04_2 | Version "5.7.mysql_aurora.2.04.2". |
VER_2_04_3 | Version "5.7.mysql_aurora.2.04.3". |
VER_2_04_4 | Version "5.7.mysql_aurora.2.04.4". |
VER_2_04_5 | Version "5.7.mysql_aurora.2.04.5". |
VER_2_04_6 | Version "5.7.mysql_aurora.2.04.6". |
VER_2_04_7 | Version "5.7.mysql_aurora.2.04.7". |
VER_2_04_8 | Version "5.7.mysql_aurora.2.04.8". |
VER_2_05_0 | Version "5.7.mysql_aurora.2.05.0". |
VER_2_06_0 | Version "5.7.mysql_aurora.2.06.0". |
VER_2_07_0 | Version "5.7.mysql_aurora.2.07.0". |
VER_2_07_1 | Version "5.7.mysql_aurora.2.07.1". |
VER_2_07_2 | Version "5.7.mysql_aurora.2.07.2". |
VER_2_08_0 | Version "5.7.mysql_aurora.2.08.0". |
VER_2_08_1 | Version "5.7.mysql_aurora.2.08.1". |
VER_2_08_2 | Version "5.7.mysql_aurora.2.08.2". |
VER_2_09_0 | Version "5.7.mysql_aurora.2.09.0". |
VER_2_09_1 | Version "5.7.mysql_aurora.2.09.1". |
VER_2_09_2 | Version "5.7.mysql_aurora.2.09.2". |
VER_2_09_3 | Version "5.7.mysql_aurora.2.09.3". |
VER_2_10_0 | Version "5.7.mysql_aurora.2.10.0". |
VER_2_10_1 | Version "5.7.mysql_aurora.2.10.1". |
VER_2_10_2 | Version "5.7.mysql_aurora.2.10.2". |
VER_3_01_0 | Version "8.0.mysql_aurora.3.01.0". |
VER_5_7_12 | Version "5.7.12". |
Methods
Of(String, String) | Create a new AuroraMysqlEngineVersion with an arbitrary version. |
Constructors
AuroraMysqlEngineVersion(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected AuroraMysqlEngineVersion(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
AuroraMysqlEngineVersion(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected AuroraMysqlEngineVersion(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AuroraMysqlFullVersion
The full version string, for example, "5.7.mysql_aurora.1.78.3.6".
public virtual string AuroraMysqlFullVersion { get; }
Property Value
System.String
AuroraMysqlMajorVersion
The major version of the engine.
public virtual string AuroraMysqlMajorVersion { get; }
Property Value
System.String
Remarks
Currently, it's either "5.7", or "8.0".
VER_2_03_2
Version "5.7.mysql_aurora.2.03.2".
public static AuroraMysqlEngineVersion VER_2_03_2 { get; }
Property Value
VER_2_03_3
Version "5.7.mysql_aurora.2.03.3".
public static AuroraMysqlEngineVersion VER_2_03_3 { get; }
Property Value
VER_2_03_4
Version "5.7.mysql_aurora.2.03.4".
public static AuroraMysqlEngineVersion VER_2_03_4 { get; }
Property Value
VER_2_04_0
Version "5.7.mysql_aurora.2.04.0".
public static AuroraMysqlEngineVersion VER_2_04_0 { get; }
Property Value
VER_2_04_1
Version "5.7.mysql_aurora.2.04.1".
public static AuroraMysqlEngineVersion VER_2_04_1 { get; }
Property Value
VER_2_04_2
Version "5.7.mysql_aurora.2.04.2".
public static AuroraMysqlEngineVersion VER_2_04_2 { get; }
Property Value
VER_2_04_3
Version "5.7.mysql_aurora.2.04.3".
public static AuroraMysqlEngineVersion VER_2_04_3 { get; }
Property Value
VER_2_04_4
Version "5.7.mysql_aurora.2.04.4".
public static AuroraMysqlEngineVersion VER_2_04_4 { get; }
Property Value
VER_2_04_5
Version "5.7.mysql_aurora.2.04.5".
public static AuroraMysqlEngineVersion VER_2_04_5 { get; }
Property Value
VER_2_04_6
Version "5.7.mysql_aurora.2.04.6".
public static AuroraMysqlEngineVersion VER_2_04_6 { get; }
Property Value
VER_2_04_7
Version "5.7.mysql_aurora.2.04.7".
public static AuroraMysqlEngineVersion VER_2_04_7 { get; }
Property Value
VER_2_04_8
Version "5.7.mysql_aurora.2.04.8".
public static AuroraMysqlEngineVersion VER_2_04_8 { get; }
Property Value
VER_2_05_0
Version "5.7.mysql_aurora.2.05.0".
public static AuroraMysqlEngineVersion VER_2_05_0 { get; }
Property Value
VER_2_06_0
Version "5.7.mysql_aurora.2.06.0".
public static AuroraMysqlEngineVersion VER_2_06_0 { get; }
Property Value
VER_2_07_0
Version "5.7.mysql_aurora.2.07.0".
public static AuroraMysqlEngineVersion VER_2_07_0 { get; }
Property Value
VER_2_07_1
Version "5.7.mysql_aurora.2.07.1".
public static AuroraMysqlEngineVersion VER_2_07_1 { get; }
Property Value
VER_2_07_2
Version "5.7.mysql_aurora.2.07.2".
public static AuroraMysqlEngineVersion VER_2_07_2 { get; }
Property Value
VER_2_08_0
Version "5.7.mysql_aurora.2.08.0".
public static AuroraMysqlEngineVersion VER_2_08_0 { get; }
Property Value
VER_2_08_1
Version "5.7.mysql_aurora.2.08.1".
public static AuroraMysqlEngineVersion VER_2_08_1 { get; }
Property Value
VER_2_08_2
Version "5.7.mysql_aurora.2.08.2".
public static AuroraMysqlEngineVersion VER_2_08_2 { get; }
Property Value
VER_2_09_0
Version "5.7.mysql_aurora.2.09.0".
public static AuroraMysqlEngineVersion VER_2_09_0 { get; }
Property Value
VER_2_09_1
Version "5.7.mysql_aurora.2.09.1".
public static AuroraMysqlEngineVersion VER_2_09_1 { get; }
Property Value
VER_2_09_2
Version "5.7.mysql_aurora.2.09.2".
public static AuroraMysqlEngineVersion VER_2_09_2 { get; }
Property Value
VER_2_09_3
Version "5.7.mysql_aurora.2.09.3".
public static AuroraMysqlEngineVersion VER_2_09_3 { get; }
Property Value
VER_2_10_0
Version "5.7.mysql_aurora.2.10.0".
public static AuroraMysqlEngineVersion VER_2_10_0 { get; }
Property Value
VER_2_10_1
Version "5.7.mysql_aurora.2.10.1".
public static AuroraMysqlEngineVersion VER_2_10_1 { get; }
Property Value
VER_2_10_2
Version "5.7.mysql_aurora.2.10.2".
public static AuroraMysqlEngineVersion VER_2_10_2 { get; }
Property Value
VER_3_01_0
Version "8.0.mysql_aurora.3.01.0".
public static AuroraMysqlEngineVersion VER_3_01_0 { get; }
Property Value
VER_5_7_12
Version "5.7.12".
public static AuroraMysqlEngineVersion VER_5_7_12 { get; }
Property Value
Methods
Of(String, String)
Create a new AuroraMysqlEngineVersion with an arbitrary version.
public static AuroraMysqlEngineVersion Of(string auroraMysqlFullVersion, string auroraMysqlMajorVersion = null)
Parameters
- auroraMysqlFullVersion System.String
the full version string, for example "5.7.mysql_aurora.2.78.3.6".
- auroraMysqlMajorVersion System.String
the major version of the engine, defaults to "5.7".
Returns