AuroraEngineVersion

class aws_cdk.aws_rds.AuroraEngineVersion(*args: Any, **kwargs)

Bases: object

The versions for the Aurora cluster engine (those returned by {@link DatabaseClusterEngine.aurora}).

ExampleMetadata:

infused

Example:

# vpc: ec2.Vpc

rds.DatabaseClusterFromSnapshot(self, "Database",
    engine=rds.DatabaseClusterEngine.aurora(version=rds.AuroraEngineVersion.VER_1_22_2),
    instance_props=rds.InstanceProps(
        vpc=vpc
    ),
    snapshot_identifier="mySnapshot"
)

Attributes

VER_10_A = <aws_cdk.aws_rds.AuroraEngineVersion object>
VER_1_17_9 = <aws_cdk.aws_rds.AuroraEngineVersion object>
VER_1_19_0 = <aws_cdk.aws_rds.AuroraEngineVersion object>
VER_1_19_1 = <aws_cdk.aws_rds.AuroraEngineVersion object>
VER_1_19_2 = <aws_cdk.aws_rds.AuroraEngineVersion object>
VER_1_19_5 = <aws_cdk.aws_rds.AuroraEngineVersion object>
VER_1_19_6 = <aws_cdk.aws_rds.AuroraEngineVersion object>
VER_1_20_0 = <aws_cdk.aws_rds.AuroraEngineVersion object>
VER_1_20_1 = <aws_cdk.aws_rds.AuroraEngineVersion object>
VER_1_21_0 = <aws_cdk.aws_rds.AuroraEngineVersion object>
VER_1_22_0 = <aws_cdk.aws_rds.AuroraEngineVersion object>
VER_1_22_1 = <aws_cdk.aws_rds.AuroraEngineVersion object>
VER_1_22_1_3 = <aws_cdk.aws_rds.AuroraEngineVersion object>
VER_1_22_2 = <aws_cdk.aws_rds.AuroraEngineVersion object>
aurora_full_version

The full version string, for example, “5.6.mysql_aurora.1.78.3.6”.

aurora_major_version

The major version of the engine.

Currently, it’s always “5.6”.

Static Methods

classmethod of(aurora_full_version, aurora_major_version=None)

Create a new AuroraEngineVersion with an arbitrary version.

Parameters:
  • aurora_full_version (str) – the full version string, for example “5.6.mysql_aurora.1.78.3.6”.

  • aurora_major_version (Optional[str]) – the major version of the engine, defaults to “5.6”.

Return type:

AuroraEngineVersion