Skip to content

Commit

Permalink
chore(rds): support minor versions for RDS for SQL Server (aws#31491)
Browse files Browse the repository at this point in the history
### Issue # (if applicable)

Closes #<issue number here>.

### Reason for this change



This PR supports engine versions for RDS for SQL Server.

- SQL Server 2016 - 13.00.6445.1
- SQL Server 2017 - 14.00.3475.1
- SQL Server 2019 - 15.00.4390.2
- SQL Server 2022 - 16.00.4140.3

https://aws.amazon.com/about-aws/whats-new/2024/09/amazon-rds-sql-server-minor-versions-september-2024/

```
❯ aws rds describe-db-engine-versions --engine sqlserver-ee --query "DBEngineVersions[?EngineVersion=='13.00.6445.1.v1'||EngineVersion=='14.00.3475.1.v1'||EngineVersion=='15.00.4390.2.v1'||EngineVersion=='16.00.4140.3.v1'].[DBEngineVersionDescription,EngineVersion,DBParameterGroupFamily,MajorEngineVersion,Status]"
[
    [
        "SQL Server 2016 13.00.6445.1.v1",
        "13.00.6445.1.v1",
        "sqlserver-ee-13.0",
        "13.00",
        "available"
    ],
    [
        "SQL Server 2017 14.00.3475.1.v1",
        "14.00.3475.1.v1",
        "sqlserver-ee-14.0",
        "14.00",
        "available"
    ],
    [
        "SQL Server 2019 15.00.4390.2.v1",
        "15.00.4390.2.v1",
        "sqlserver-ee-15.0",
        "15.00",
        "available"
    ],
    [
        "SQL Server 2022 16.00.4140.3.v1",
        "16.00.4140.3.v1",
        "sqlserver-ee-16.0",
        "16.00",
        "available"
    ]
]
```

### Description of changes



### Description of how you validated changes



### 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
go-to-k authored Sep 20, 2024
1 parent bc2f579 commit d6f6f56
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 @@ -2573,6 +2573,8 @@ export class SqlServerEngineVersion {
public static readonly VER_13_00_6435_1_V1 = SqlServerEngineVersion.of('13.00.6435.1.v1', '13.00');
/** Version "13.00.6441.1.v1". */
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 "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 @@ -2626,6 +2628,8 @@ export class SqlServerEngineVersion {
public static readonly VER_14_00_3465_1_V1 = SqlServerEngineVersion.of('14.00.3465.1.v1', '14.00');
/** Version "14.00.3471.2.v1 ". */
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 "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 @@ -2664,6 +2668,8 @@ export class SqlServerEngineVersion {
public static readonly VER_15_00_4382_1_V1 = SqlServerEngineVersion.of('15.00.4382.1.v1', '15.00');
/** Version "15.00.4385.2.v1". */
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 "16.00" (only a major version, without a specific minor version). */
public static readonly VER_16 = SqlServerEngineVersion.of('16.00', '16.00');
Expand All @@ -2683,6 +2689,8 @@ export class SqlServerEngineVersion {
public static readonly VER_16_00_4131_2_V1 = SqlServerEngineVersion.of('16.00.4131.2.v1', '16.00');
/** Version "16.00.4135.4.v1". */
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');

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

0 comments on commit d6f6f56

Please sign in to comment.