Skip to content

Commit 30f0326

Browse files
authored
chore(rds): add support for 8.0.mysql_aurora.3.10.0 (#35083)
### Reason for this change Add support for newly supported 8.0.mysql_aurora.3.10.0. ### 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.10.0']" [ { "Engine": "aurora-mysql", "EngineVersion": "8.0.mysql_aurora.3.10.0", "DBParameterGroupFamily": "aurora-mysql8.0", "DBEngineDescription": "Aurora MySQL", "DBEngineVersionDescription": "Aurora MySQL 3.10.0 (compatible with MySQL 8.0.42)", "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 2997603 commit 30f0326

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
@@ -687,6 +687,8 @@ export class AuroraMysqlEngineVersion {
687687
public static readonly VER_3_08_2 = AuroraMysqlEngineVersion.builtIn_8_0('3.08.2');
688688
/** Version "8.0.mysql_aurora.3.09.0". */
689689
public static readonly VER_3_09_0 = AuroraMysqlEngineVersion.builtIn_8_0('3.09.0');
690+
/** Version "8.0.mysql_aurora.3.10.0". */
691+
public static readonly VER_3_10_0 = AuroraMysqlEngineVersion.builtIn_8_0('3.10.0');
690692

691693
/**
692694
* 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
@@ -221,12 +221,16 @@ describe('cluster engine', () => {
221221
const engine_ver_3_09_0 = DatabaseClusterEngine.auroraMysql({
222222
version: AuroraMysqlEngineVersion.VER_3_09_0,
223223
});
224+
const engine_ver_3_10_0 = DatabaseClusterEngine.auroraMysql({
225+
version: AuroraMysqlEngineVersion.VER_3_10_0,
226+
});
224227

225228
// THEN
226229
expect(engine_ver_3_07_1.parameterGroupFamily).toEqual('aurora-mysql8.0');
227230
expect(engine_ver_3_08_0.parameterGroupFamily).toEqual('aurora-mysql8.0');
228231
expect(engine_ver_3_08_1.parameterGroupFamily).toEqual('aurora-mysql8.0');
229232
expect(engine_ver_3_08_2.parameterGroupFamily).toEqual('aurora-mysql8.0');
230233
expect(engine_ver_3_09_0.parameterGroupFamily).toEqual('aurora-mysql8.0');
234+
expect(engine_ver_3_10_0.parameterGroupFamily).toEqual('aurora-mysql8.0');
231235
});
232236
});

0 commit comments

Comments
 (0)