Skip to content

Commit

Permalink
feat(rds): support minor engine versions for oracle (#32058)
Browse files Browse the repository at this point in the history
This PR supports minor versions for oracle 19c and 21c.

- 19c
  - 19.0.0.0.ru-2024-07.rur-2024-07.r1
  - 19.0.0.0.ru-2024-10.rur-2024-10.r1
- 21c
  - 21.0.0.0.ru-2024-07.rur-2024-07.r1
  - 21.0.0.0.ru-2024-10.rur-2024-10.r1

What's new and Ref

- https://aws.amazon.com/jp/about-aws/whats-new/2024/11/amazon-rds-oracle-october-2024-update/
- https://docs.aws.amazon.com/AmazonRDS/latest/OracleReleaseNotes/oracle-version-21-0.html
- https://docs.aws.amazon.com/AmazonRDS/latest/OracleReleaseNotes/oracle-version-19-0.html

```sh
❯ aws rds describe-db-engine-versions --engine oracle-ee-cdb --query "DBEngineVersions[?EngineVersion=='19.0.0.0.ru-2024-07.rur-2024-07.r1'||EngineVersion=='19.0.0.0.ru-2024-10.rur-2024-10.r1'||EngineVersion=='21.0.0.0.ru-2024-07.rur-2024-07.r1'||EngineVersion=='21.0.0.0.ru-2024-10.rur-2024-10.r1'].[DBEngineVersionDescription,EngineVersion,DBParameterGroupFamily,MajorEngineVersion,Status]"
[
    [
        "Oracle 19.0.0.0.ru-2024-07.rur-2024-07.r1",
        "19.0.0.0.ru-2024-07.rur-2024-07.r1",
        "oracle-ee-cdb-19",
        "19",
        "available"
    ],
    [
        "Oracle 19.0.0.0.ru-2024-10.rur-2024-10.r1",
        "19.0.0.0.ru-2024-10.rur-2024-10.r1",
        "oracle-ee-cdb-19",
        "19",
        "available"
    ],
    [
        "Oracle 21.0.0.0.ru-2024-07.rur-2024-07.r1",
        "21.0.0.0.ru-2024-07.rur-2024-07.r1",
        "oracle-ee-cdb-21",
        "21",
        "available"
    ],
    [
        "Oracle 21.0.0.0.ru-2024-10.rur-2024-10.r1",
        "21.0.0.0.ru-2024-10.rur-2024-10.r1",
        "oracle-ee-cdb-21",
        "21",
        "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 Nov 8, 2024
1 parent e0ebcfe commit 3d72b63
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 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 @@ -2166,6 +2166,10 @@ export class OracleEngineVersion {
public static readonly VER_19_0_0_0_2024_01_R1 = OracleEngineVersion.of('19.0.0.0.ru-2024-01.rur-2024-01.r1', '19');
/** Version "19.0.0.0.ru-2024-04.rur-2024-04.r1". */
public static readonly VER_19_0_0_0_2024_04_R1 = OracleEngineVersion.of('19.0.0.0.ru-2024-04.rur-2024-04.r1', '19');
/** Version "19.0.0.0.ru-2024-07.rur-2024-07.r1". */
public static readonly VER_19_0_0_0_2024_07_R1 = OracleEngineVersion.of('19.0.0.0.ru-2024-07.rur-2024-07.r1', '19');
/** Version "19.0.0.0.ru-2024-10.rur-2024-10.r1". */
public static readonly VER_19_0_0_0_2024_10_R1 = OracleEngineVersion.of('19.0.0.0.ru-2024-10.rur-2024-10.r1', '19');

/** Version "21" (only a major version, without a specific minor version). */
public static readonly VER_21 = OracleEngineVersion.of('21', '21');
Expand All @@ -2191,6 +2195,10 @@ export class OracleEngineVersion {
public static readonly VER_21_0_0_0_2024_01_R1 = OracleEngineVersion.of('21.0.0.0.ru-2024-01.rur-2024-01.r1', '21');
/** Version "21.0.0.0.ru-2024-04.rur-2024-04.r1". */
public static readonly VER_21_0_0_0_2024_04_R1 = OracleEngineVersion.of('21.0.0.0.ru-2024-04.rur-2024-04.r1', '21');
/** Version "21.0.0.0.ru-2024-07.rur-2024-07.r1". */
public static readonly VER_21_0_0_0_2024_07_R1 = OracleEngineVersion.of('21.0.0.0.ru-2024-07.rur-2024-07.r1', '21');
/** Version "21.0.0.0.ru-2024-10.rur-2024-10.r1". */
public static readonly VER_21_0_0_0_2024_10_R1 = OracleEngineVersion.of('21.0.0.0.ru-2024-10.rur-2024-10.r1', '21');

/**
* Creates a new OracleEngineVersion with an arbitrary version.
Expand Down

0 comments on commit 3d72b63

Please sign in to comment.