Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(rds): add support for 8.0.mysql_aurora.3.07.1 #30990

Merged
merged 3 commits into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -613,6 +613,8 @@ export class AuroraMysqlEngineVersion {
public static readonly VER_3_06_1 = AuroraMysqlEngineVersion.builtIn_8_0('3.06.1');
/** Version "8.0.mysql_aurora.3.07.0". */
public static readonly VER_3_07_0 = AuroraMysqlEngineVersion.builtIn_8_0('3.07.0');
/** Version "8.0.mysql_aurora.3.07.1". */
public static readonly VER_3_07_1 = AuroraMysqlEngineVersion.builtIn_8_0('3.07.1');

/**
* Create a new AuroraMysqlEngineVersion with an arbitrary version.
Expand Down
4 changes: 4 additions & 0 deletions packages/aws-cdk-lib/aws-rds/test/cluster-engine.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ describe('cluster engine', () => {
const engine_ver_2_11_3 = DatabaseClusterEngine.auroraMysql({
version: AuroraMysqlEngineVersion.VER_2_11_3,
});
const engine_ver_3_07_1 = DatabaseClusterEngine.auroraMysql({
version: AuroraMysqlEngineVersion.VER_3_07_1,
});

// THEN
expect(engine_VER_14_3.parameterGroupFamily).toEqual('aurora-postgresql14');
Expand All @@ -171,5 +174,6 @@ describe('cluster engine', () => {
expect(engine_ver_2_8_3.parameterGroupFamily).toEqual('aurora-mysql5.7');
expect(engine_ver_2_8_4.parameterGroupFamily).toEqual('aurora-mysql5.7');
expect(engine_ver_2_11_3.parameterGroupFamily).toEqual('aurora-mysql5.7');
expect(engine_ver_3_07_1.parameterGroupFamily).toEqual('aurora-mysql8.0');
});
});
Loading