Skip to content

Amazon OpenSearch Service: High Level Constructs For OpenSearch IPAddressType Feature #28436

@vidit624

Description

@vidit624

Describe the feature

The OpenSearch Team has recently launched IPAddressType Feature for OpenSearch Domain. API Documentation Link. According to the CDK docs currently there is no high level CDK construct for this feature

Use Case

The general recommendation is to use high level constructs and due to lack of High level construct for this feature, the CDK template needs to be migrated to use CFN constructs if there is a need to Create an OpenSearchDomain with IPAddressType. This serves as a hinderance to the adoption of the IPAddressType feature for AWS OpenSearch Domains.

Proposed Solution

Add the IPAddressType to the Domain high level object CDK Doc for Domain Options .
A IPAddressType based OpenSearchDomain created using CDK high level constructs should look like

const domain = new Domain(this, 'Domain', {
  version: EngineVersion.OPENSEARCH_1_0,
  ipAddressType: ipv4 (possible values: [ipv4, dualstack])
  capacity: {
  masterNodes: 3
  },
});

Other Information

No response

Acknowledgements

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

CDK version used

2.84.0

Environment details (OS name and version, etc.)

macOS Ventura 13.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-opensearchRelated to the @aws-cdk/aws-opensearchservice packageeffort/mediumMedium work item – several days 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