From f878e560d37bc55147da64be9c251c221efcebb4 Mon Sep 17 00:00:00 2001 From: hiromu-ootsuka <112995215+hiromu-ootsuka@users.noreply.github.com> Date: Wed, 11 Dec 2024 01:47:43 +0900 Subject: [PATCH 1/2] chore(rds): add support for 8.0.mysql_aurora.3.04.3 (#32399) (description based on https://github.com/aws/aws-cdk/pull/30479) ### Reason for this change Add support for newly supported 8.0.mysql_aurora.3.04.3. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraMySQLReleaseNotes/AuroraMySQL.Updates.3043.html ### Description of changes Add a new version as a new property to AuroraMysqlEngineVersion class. ### Description of how you validated changes I used the AWS CLI to verify that the new version is available. ``` aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[?EngineVersion=='8.0.mysql_aurora.3.04.3']" [ { "Engine": "aurora-mysql", "EngineVersion": "8.0.mysql_aurora.3.04.3", "DBParameterGroupFamily": "aurora-mysql8.0", "DBEngineDescription": "Aurora MySQL", "DBEngineVersionDescription": "Aurora MySQL 3.04.3 (compatible with MySQL 8.0.28)", "ValidUpgradeTarget": [ { "Engine": "aurora-mysql", "EngineVersion": "8.0.mysql_aurora.3.06.1", "Description": "Aurora MySQL 3.06.1 (compatible with MySQL 8.0.34)", "AutoUpgrade": false, "IsMajorVersionUpgrade": false, "SupportedEngineModes": [ "provisioned" ], "SupportsParallelQuery": true, "SupportsGlobalDatabases": true, "SupportsBabelfish": false, "SupportsLocalWriteForwarding": true }, { "Engine": "aurora-mysql", "EngineVersion": "8.0.mysql_aurora.3.07.1", "Description": "Aurora MySQL 3.07.1 (compatible with MySQL 8.0.36)", "AutoUpgrade": false, "IsMajorVersionUpgrade": false, "SupportedEngineModes": [ "provisioned" ], "SupportsParallelQuery": true, "SupportsGlobalDatabases": true, "SupportsBabelfish": false, "SupportsLocalWriteForwarding": true }, { "Engine": "aurora-mysql", "EngineVersion": "8.0.mysql_aurora.3.08.0", "Description": "Aurora MySQL 3.08.0 (compatible with MySQL 8.0.39)", "AutoUpgrade": false, "IsMajorVersionUpgrade": false, "SupportedEngineModes": [ "provisioned" ], "SupportsParallelQuery": true, "SupportsGlobalDatabases": true, "SupportsBabelfish": false, "SupportsLocalWriteForwarding": true } ], "ExportableLogTypes": [ "audit", "error", "general", "slowquery" ], "SupportsLogExportsToCloudwatchLogs": true, "SupportsReadReplica": false, "SupportedEngineModes": [ "provisioned" ], "SupportedFeatureNames": [], "Status": "available", "SupportsParallelQuery": true, "SupportsGlobalDatabases": true, "MajorEngineVersion": "8.0", "SupportsBabelfish": false, "SupportsCertificateRotationWithoutRestart": true, "SupportedCACertificateIdentifiers": [ "rds-ca-ecc384-g1", "rds-ca-rsa4096-g1", "rds-ca-rsa2048-g1" ], "SupportsLocalWriteForwarding": true } ] ``` ### 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* --- packages/aws-cdk-lib/aws-rds/lib/cluster-engine.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/aws-cdk-lib/aws-rds/lib/cluster-engine.ts b/packages/aws-cdk-lib/aws-rds/lib/cluster-engine.ts index 2fa1e603d7f7a..9c183910e1c61 100644 --- a/packages/aws-cdk-lib/aws-rds/lib/cluster-engine.ts +++ b/packages/aws-cdk-lib/aws-rds/lib/cluster-engine.ts @@ -616,6 +616,8 @@ export class AuroraMysqlEngineVersion { public static readonly VER_3_04_1 = AuroraMysqlEngineVersion.builtIn_8_0('3.04.1'); /** Version "8.0.mysql_aurora.3.04.2". */ public static readonly VER_3_04_2 = AuroraMysqlEngineVersion.builtIn_8_0('3.04.2'); + /** Version "8.0.mysql_aurora.3.04.3". */ + public static readonly VER_3_04_3 = AuroraMysqlEngineVersion.builtIn_8_0('3.04.3'); /** * Version "8.0.mysql_aurora.3.05.0" * @deprecated Aurora MySQL 8.0.mysql_aurora.3.05.0 is no longer supported by Amazon RDS. From 57cbd863f0bbff1e08a6990df54e0fd789b2e021 Mon Sep 17 00:00:00 2001 From: Matsuda Date: Wed, 11 Dec 2024 02:20:43 +0900 Subject: [PATCH 2/2] chore: add minor version engines for RDS for SQL Server in November 2024 (#32305) Ref: https://aws.amazon.com/about-aws/whats-new/2024/11/amazon-rds-sql-server-versions-november-2024/ ```sh % aws rds describe-db-engine-versions --engine sqlserver-ee --query "DBEngineVersions[?EngineVersion=='13.00.6455.2.v1'||EngineVersion=='14.00.3485.1.v1'||EngineVersion=='15.00.4410.1.v1'||EngineVersion=='16.00.4165.4.v1'].[DBEngineVersionDescription,EngineVersion,DBParameterGroupFamily,MajorEngineVersion,Status]" [ [ "SQL Server 2016 13.00.6455.2.v1", "13.00.6455.2.v1", "sqlserver-ee-13.0", "13.00", "available" ], [ "SQL Server 2017 14.00.3485.1.v1", "14.00.3485.1.v1", "sqlserver-ee-14.0", "14.00", "available" ], [ "SQL Server 2019 15.00.4410.1.v1", "15.00.4410.1.v1", "sqlserver-ee-15.0", "15.00", "available" ], [ "SQL Server 2022 16.00.4165.4.v1", "16.00.4165.4.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* --- .../aws-cdk-lib/aws-rds/lib/instance-engine.ts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/packages/aws-cdk-lib/aws-rds/lib/instance-engine.ts b/packages/aws-cdk-lib/aws-rds/lib/instance-engine.ts index 7ad50a23e3dce..83279c46c8754 100644 --- a/packages/aws-cdk-lib/aws-rds/lib/instance-engine.ts +++ b/packages/aws-cdk-lib/aws-rds/lib/instance-engine.ts @@ -2618,6 +2618,8 @@ export class SqlServerEngineVersion { 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 "13.00.6455.2.v1". */ + public static readonly VER_13_00_6455_2_V1 = SqlServerEngineVersion.of('13.00.6455.2.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'); @@ -2670,11 +2672,13 @@ export class SqlServerEngineVersion { /** Version "14.00.3465.1.v1". */ 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'); + 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'); + 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'); + public static readonly VER_14_00_3480_1_V1 = SqlServerEngineVersion.of('14.00.3480.1.v1', '14.00'); + /** Version "14.00.3485.1.v1 ". */ + public static readonly VER_14_00_3485_1_V1 = SqlServerEngineVersion.of('14.00.3485.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'); @@ -2717,6 +2721,8 @@ export class SqlServerEngineVersion { 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 "15.00.4410.1.v1". */ + public static readonly VER_15_00_4410_1_V1 = SqlServerEngineVersion.of('15.00.4410.1.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'); @@ -2740,6 +2746,8 @@ export class SqlServerEngineVersion { 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'); + /** Version "16.00.4165.4.v1". */ + public static readonly VER_16_00_4165_4_V1 = SqlServerEngineVersion.of('16.00.4165.4.v1', '16.00'); /** * Create a new SqlServerEngineVersion with an arbitrary version.