Skip to content

aws-opensearch: Add latest Opensearch engine version v3.1 #35471

@glc-gpestre

Description

@glc-gpestre

Describe the feature

As of this summer, AWS released the ability to deploy OpenSearch in its newer version 3.1 through both the console and CloudFormation.

Official Doc

Use Case

Deploy Opensearch cluster in the latest major upgrade to test new performances.

Proposed Solution

Add the in the class EngineVersion the following:

  /** AWS OpenSearch 3.0*/
  public static readonly OPENSEARCH_3_0 = EngineVersion.openSearch('3.0');

  /** AWS OpenSearch 3.1 */
  public static readonly OPENSEARCH_3_1 = EngineVersion.openSearch('3.1');

So that the version Engine can be simply retrieved in the stack:

  new Domain(this, 'OpenSearchDomain', {
    version: EngineVersion.OPENSEARCH_3_1,
    domainName: myDomainName,
  });

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS CDK Library version (aws-cdk-lib)

[email protected]

AWS CDK CLI version

2.1029.1

Environment details (OS name and version, etc.)

macOS 15.6 (Sequoia)

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-opensearchRelated to the @aws-cdk/aws-opensearchservice packageeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions