EngineVersion

class aws_cdk.aws_rds.EngineVersion(*, full_version=None, major_version)

Bases: object

A version of an engine - for either a cluster, or instance.

Parameters
  • full_version (Optional[str]) – The full version string of the engine, for example, “5.6.mysql_aurora.1.22.1”. It can be undefined, which means RDS should use whatever version it deems appropriate for the given engine type. Default: - no version specified

  • major_version (str) – The major version of the engine, for example, “5.6”. Used in specifying the ParameterGroup family and OptionGroup version for this engine.

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_rds as rds

engine_version = rds.EngineVersion(
    major_version="majorVersion",

    # the properties below are optional
    full_version="fullVersion"
)

Attributes

full_version

The full version string of the engine, for example, “5.6.mysql_aurora.1.22.1”. It can be undefined, which means RDS should use whatever version it deems appropriate for the given engine type.

Default
  • no version specified

Return type

Optional[str]

major_version

The major version of the engine, for example, “5.6”. Used in specifying the ParameterGroup family and OptionGroup version for this engine.

Return type

str