AuroraMysqlEngineVersion
- class aws_cdk.aws_rds.AuroraMysqlEngineVersion(*args: Any, **kwargs)
Bases:
object
The versions for the Aurora MySQL cluster engine (those returned by {@link DatabaseClusterEngine.auroraMysql}).
- ExampleMetadata:
infused
Example:
# vpc: ec2.Vpc cluster = rds.DatabaseCluster(self, "Database", engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_2_08_1), credentials=rds.Credentials.from_generated_secret("clusteradmin"), # Optional - will default to 'admin' username and generated password instance_props=rds.InstanceProps( # optional , defaults to t3.medium instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.SMALL), vpc_subnets=ec2.SubnetSelection( subnet_type=ec2.SubnetType.PRIVATE_WITH_NAT ), vpc=vpc ) )
Attributes
- VER_2_03_2 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_03_3 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_03_4 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_04_0 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_04_1 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_04_2 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_04_3 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_04_4 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_04_5 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_04_6 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_04_7 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_04_8 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_05_0 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_06_0 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_07_0 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_07_1 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_07_2 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_08_0 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_08_1 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_08_2 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_09_0 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_09_1 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_09_2 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_09_3 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_10_0 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_10_1 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_2_10_2 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_3_01_0 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- VER_5_7_12 = <aws_cdk.aws_rds.AuroraMysqlEngineVersion object>
- aurora_mysql_full_version
The full version string, for example, “5.7.mysql_aurora.1.78.3.6”.
- aurora_mysql_major_version
The major version of the engine.
Currently, it’s either “5.7”, or “8.0”.
Static Methods
- classmethod of(aurora_mysql_full_version, aurora_mysql_major_version=None)
Create a new AuroraMysqlEngineVersion with an arbitrary version.
- Parameters:
aurora_mysql_full_version (
str
) – the full version string, for example “5.7.mysql_aurora.2.78.3.6”.aurora_mysql_major_version (
Optional
[str
]) – the major version of the engine, defaults to “5.7”.
- Return type: