Skip to content
v2.277.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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_rds as rds

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

    # the properties below are optional
    full_version="fullVersion"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.rds.*;

EngineVersion engineVersion = EngineVersion.builder()
        .majorVersion("majorVersion")

        // the properties below are optional
        .fullVersion("fullVersion")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;

var engineVersion = new EngineVersion {
    MajorVersion = "majorVersion",

    // the properties below are optional
    FullVersion = "fullVersion"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

engineVersion := &EngineVersion{
	MajorVersion: jsii.String("majorVersion"),

	// the properties below are optional
	FullVersion: jsii.String("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*string required #
The major version of the engine, for example, "5.6". Used in specifying the ParameterGroup family and OptionGroup version for this engine.