Skip to content

Commit

Permalink
feat(rds): support minor versions for RDS for SQL Server (#32055)
Browse files Browse the repository at this point in the history
Add some new minor versions for RDS for SQL Server.

Ref: https://aws.amazon.com/about-aws/whats-new/2024/11/amazon-rds-sql-server-minor-versions-october-2024/

```sh
aws rds describe-db-engine-versions --engine sqlserver-ee --query "DBEngineVersions[?EngineVersion=='13.00.6450.1.v1'||EngineVersion=='14.00.3480.1.v1'||EngineVersion=='15.00.4395.2.v1'||EngineVersion=='16.00.4150.1.v1'].[DBEngineVersionDescription,EngineVersion,DBParameterGroupFamily,MajorEngineVersion,Status]"

[
    [
        "SQL Server 2016 13.00.6450.1.v1",
        "13.00.6450.1.v1",
        "sqlserver-ee-13.0",
        "13.00",
        "available"
    ],
    [
        "SQL Server 2017 14.00.3480.1.v1",
        "14.00.3480.1.v1",
        "sqlserver-ee-14.0",
        "14.00",
        "available"
    ],
    [
        "SQL Server 2019 15.00.4395.2.v1",
        "15.00.4395.2.v1",
        "sqlserver-ee-15.0",
        "15.00",
        "available"
    ],
    [
        "SQL Server 2022 16.00.4150.1.v1",
        "16.00.4150.1.v1",
        "sqlserver-ee-16.0",
        "16.00",
        "available"
    ]
]
```

### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
mazyu36 authored Nov 8, 2024
1 parent 3d72b63 commit 8c80bf8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/aws-cdk-lib/aws-rds/lib/instance-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2585,6 +2585,8 @@ export class SqlServerEngineVersion {
public static readonly VER_13_00_6441_1_V1 = SqlServerEngineVersion.of('13.00.6441.1.v1', '13.00');
/** Version "13.00.6445.1.v1". */
public static readonly VER_13_00_6445_1_V1 = SqlServerEngineVersion.of('13.00.6445.1.v1', '13.00');
/** Version "13.00.6450.1.v1". */
public static readonly VER_13_00_6450_1_V1 = SqlServerEngineVersion.of('13.00.6450.1.v1', '13.00');

/** Version "14.00" (only a major version, without a specific minor version). */
public static readonly VER_14 = SqlServerEngineVersion.of('14.00', '14.00');
Expand Down Expand Up @@ -2640,6 +2642,8 @@ export class SqlServerEngineVersion {
public static readonly VER_14_00_3471_2_V1 = SqlServerEngineVersion.of('14.00.3471.2.v1 ', '14.00');
/** Version "14.00.3475.1.v1 ". */
public static readonly VER_14_00_3475_1_V1 = SqlServerEngineVersion.of('14.00.3475.1.v1 ', '14.00');
/** Version "14.00.3480.1.v1 ". */
public static readonly VER_14_00_3480_1_V1 = SqlServerEngineVersion.of('14.00.3480.1.v1 ', '14.00');

/** Version "15.00" (only a major version, without a specific minor version). */
public static readonly VER_15 = SqlServerEngineVersion.of('15.00', '15.00');
Expand Down Expand Up @@ -2680,6 +2684,8 @@ export class SqlServerEngineVersion {
public static readonly VER_15_00_4385_2_V1 = SqlServerEngineVersion.of('15.00.4385.2.v1', '15.00');
/** Version "15.00.4390.2.v1". */
public static readonly VER_15_00_4390_2_V1 = SqlServerEngineVersion.of('15.00.4390.2.v1', '15.00');
/** Version "15.00.4395.2.v1". */
public static readonly VER_15_00_4395_2_V1 = SqlServerEngineVersion.of('15.00.4395.2.v1', '15.00');

/** Version "16.00" (only a major version, without a specific minor version). */
public static readonly VER_16 = SqlServerEngineVersion.of('16.00', '16.00');
Expand All @@ -2701,6 +2707,8 @@ export class SqlServerEngineVersion {
public static readonly VER_16_00_4135_4_V1 = SqlServerEngineVersion.of('16.00.4135.4.v1', '16.00');
/** Version "16.00.4140.3.v1". */
public static readonly VER_16_00_4140_3_V1 = SqlServerEngineVersion.of('16.00.4140.3.v1', '16.00');
/** Version "16.00.4150.1.v1". */
public static readonly VER_16_00_4150_1_V1 = SqlServerEngineVersion.of('16.00.4150.1.v1', '16.00');

/**
* Create a new SqlServerEngineVersion with an arbitrary version.
Expand Down

0 comments on commit 8c80bf8

Please sign in to comment.