Skip to content

Commit

Permalink
chore(rds): support engine versions for Aurora MySQL and RDS for SQL …
Browse files Browse the repository at this point in the history
…Server (#31418)

This PR supports engine versions for Aurora MySQL and RDS for SQL Server.

RDS for SQL Server: 15.00.4385.2.v1 and 16.00.4135.4.v1

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html

```
❯ aws rds describe-db-engine-versions --engine sqlserver-ee --query "DBEngineVersions[?EngineVersion=='15.00.4385.2.v1'||EngineVersion=='16.00.4135.4.v1'].[DBEngineVersionDescription,EngineVersion,DBParameterGroupFamily,MajorEngineVersion,Status]"
[
    [
        "SQL Server 2019 15.00.4385.2.v1",
        "15.00.4385.2.v1",
        "sqlserver-ee-15.0",
        "15.00",
        "available"
    ],
    [
        "SQL Server 2022 16.00.4135.4.v1",
        "16.00.4135.4.v1",
        "sqlserver-ee-16.0",
        "16.00",
        "available"
    ]
]
```

Aurora MySQL: 2.12.3

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraMySQLReleaseNotes/AuroraMySQL.Updates.20Updates.html

```
❯ aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[?EngineVersion=='5.7.mysql_aurora.2.12.3'].[DBEngineVersionDescription,EngineVersion,DBParameterGroupFamily,MajorEngineVersion,Status]"
[
    [
        "Aurora MySQL 2.12.3 (compatible with MySQL 5.7.44)",
        "5.7.mysql_aurora.2.12.3",
        "aurora-mysql5.7",
        "5.7",
        "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
go-to-k authored Sep 13, 2024
1 parent 432ffaf commit 743a112
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/aws-cdk-lib/aws-rds/lib/cluster-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,8 @@ export class AuroraMysqlEngineVersion {
public static readonly VER_2_12_1 = AuroraMysqlEngineVersion.builtIn_5_7('2.12.1');
/** Version "5.7.mysql_aurora.2.12.2". */
public static readonly VER_2_12_2 = AuroraMysqlEngineVersion.builtIn_5_7('2.12.2');
/** Version "5.7.mysql_aurora.2.12.3". */
public static readonly VER_2_12_3 = AuroraMysqlEngineVersion.builtIn_5_7('2.12.3');
/**
* Version "8.0.mysql_aurora.3.01.0"
* @deprecated Aurora MySQL 8.0.mysql_aurora.3.01.0 is no longer supported by Amazon RDS.
Expand Down
4 changes: 4 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 @@ -2662,6 +2662,8 @@ export class SqlServerEngineVersion {
public static readonly VER_15_00_4375_4_V1 = SqlServerEngineVersion.of('15.00.4375.4.v1', '15.00');
/** Version "15.00.4382.1.v1". */
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 "16.00" (only a major version, without a specific minor version). */
public static readonly VER_16 = SqlServerEngineVersion.of('16.00', '16.00');
Expand All @@ -2679,6 +2681,8 @@ export class SqlServerEngineVersion {
public static readonly VER_16_00_4125_3_V1 = SqlServerEngineVersion.of('16.00.4125.3.v1', '16.00');
/** Version "16.00.4131.2.v1". */
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');

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

0 comments on commit 743a112

Please sign in to comment.