Skip to content

Commit

Permalink
chore(opensearchservice): deprecate OpenSearch 2.10 (#29469)
Browse files Browse the repository at this point in the history
### Issue # (if applicable)

None

### Reason for this change

Just a single diff between the SDK and the CDK this time, OpenSearch
v2.10 was removed, unsure why

### Description of changes

Marked `OPENSEARCH_2_10` as `@deprecated`

### Description of how you validated changes

It is neither listed in the
[docs](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-operations.html),
nor in the SDK/CLI output of `opensearch:ListVersions`:
```sh
$ aws opensearch list-versions | jq '.Versions[] | select(.=="OpenSearch_2.10")'
```

### 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*

Co-authored-by: GZ <yuanhaoz@amazon.com>
  • Loading branch information
nmussy and GavinZZ authored Mar 20, 2024
1 parent 0fee99b commit 3f6f88b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/aws-cdk-lib/aws-opensearchservice/lib/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ export class EngineVersion {
/** AWS OpenSearch 2.9 */
public static readonly OPENSEARCH_2_9 = EngineVersion.openSearch('2.9');

/** AWS OpenSearch 2.10 */
/**
* AWS OpenSearch 2.10
* @deprecated use latest version of the OpenSearch engine
**/
public static readonly OPENSEARCH_2_10 = EngineVersion.openSearch('2.10');

/** AWS OpenSearch 2.11 */
Expand Down

0 comments on commit 3f6f88b

Please sign in to comment.