# EngineVersion

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

- Source: [`aws-rds/lib/engine-version.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-rds/lib/engine-version.ts#L5)

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `fullVersion`: 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

- `majorVersion`: string (required) — The major version of the engine, for example, "5.6". Used in specifying the ParameterGroup family and OptionGroup version for this engine.
