Skip to content

Commit 703a379

Browse files
authored
chore(rds): add support for 8.0.mysql_aurora.3.09.0 (#34508)
(description based on #33502) ### Reason for this change Add support for newly supported 8.0.mysql_aurora.3.09.0. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraMySQLReleaseNotes/AuroraMySQL.Updates.3090.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.09.0']" [ { "Engine": "aurora-mysql", "EngineVersion": "8.0.mysql_aurora.3.09.0", "DBParameterGroupFamily": "aurora-mysql8.0", "DBEngineDescription": "Aurora MySQL", "DBEngineVersionDescription": "Aurora MySQL 3.09.0 (compatible with MySQL 8.0.40)", "ValidUpgradeTarget": [], "ExportableLogTypes": [ "audit", "error", "general", "iam-db-auth-error", "instance", "slowquery" ], "SupportsLogExportsToCloudwatchLogs": true, "SupportsReadReplica": false, "SupportedEngineModes": [ "provisioned" ], "SupportedFeatureNames": [ "Bedrock" ], "Status": "available", "SupportsParallelQuery": true, "SupportsGlobalDatabases": true, "MajorEngineVersion": "8.0", "SupportsBabelfish": false, "SupportsLimitlessDatabase": false, "SupportsCertificateRotationWithoutRestart": true, "SupportedCACertificateIdentifiers": [ "rds-ca-ecc384-g1", "rds-ca-rsa4096-g1", "rds-ca-rsa2048-g1" ], "SupportsLocalWriteForwarding": true, "SupportsIntegrations": true, "ServerlessV2FeaturesSupport": { "MinCapacity": 0.0, "MaxCapacity": 256.0 } } ] ``` ### 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*
1 parent 303daf2 commit 703a379

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/aws-cdk-lib/aws-rds/lib/cluster-engine.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,8 @@ export class AuroraMysqlEngineVersion {
653653
public static readonly VER_3_08_1 = AuroraMysqlEngineVersion.builtIn_8_0('3.08.1');
654654
/** Version "8.0.mysql_aurora.3.08.2". */
655655
public static readonly VER_3_08_2 = AuroraMysqlEngineVersion.builtIn_8_0('3.08.2');
656+
/** Version "8.0.mysql_aurora.3.09.0". */
657+
public static readonly VER_3_09_0 = AuroraMysqlEngineVersion.builtIn_8_0('3.09.0');
656658

657659
/**
658660
* Create a new AuroraMysqlEngineVersion with an arbitrary version.

packages/aws-cdk-lib/aws-rds/test/cluster-engine.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,15 @@ describe('cluster engine', () => {
192192
const engine_ver_3_08_2 = DatabaseClusterEngine.auroraMysql({
193193
version: AuroraMysqlEngineVersion.VER_3_08_2,
194194
});
195+
const engine_ver_3_09_0 = DatabaseClusterEngine.auroraMysql({
196+
version: AuroraMysqlEngineVersion.VER_3_09_0,
197+
});
195198

196199
// THEN
197200
expect(engine_ver_3_07_1.parameterGroupFamily).toEqual('aurora-mysql8.0');
198201
expect(engine_ver_3_08_0.parameterGroupFamily).toEqual('aurora-mysql8.0');
199202
expect(engine_ver_3_08_1.parameterGroupFamily).toEqual('aurora-mysql8.0');
200203
expect(engine_ver_3_08_2.parameterGroupFamily).toEqual('aurora-mysql8.0');
204+
expect(engine_ver_3_09_0.parameterGroupFamily).toEqual('aurora-mysql8.0');
201205
});
202206
});

0 commit comments

Comments
 (0)