Skip to content
v2.274.0

EngineVersion Struct ​

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

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
const engineVersion: rds.EngineVersion = {
  majorVersion: 'majorVersion',

  // the properties below are optional
  fullVersion: 'fullVersion',
};

Properties ​

fullVersionoptionalstringfull_versionoptionalstrfullVersionoptionalStringFullVersionoptionalstringFullVersionoptional*string#
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

majorVersionstringmajor_versionstrmajorVersionStringMajorVersionstringMajorVersion*stringrequired#
The major version of the engine, for example, "5.6". Used in specifying the ParameterGroup family and OptionGroup version for this engine.