Interface CfnDomain.ElasticsearchClusterConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDomain.ElasticsearchClusterConfigProperty.Jsii$Proxy
Enclosing class:
CfnDomain

@Stability(Stable) public static interface CfnDomain.ElasticsearchClusterConfigProperty extends software.amazon.jsii.JsiiSerializable
The cluster configuration for the OpenSearch Service domain.

You can specify options such as the instance type and the number of instances. For more information, see Creating and managing Amazon OpenSearch Service domains in the Amazon OpenSearch Service Developer Guide .

The AWS::Elasticsearch::Domain resource is being replaced by the AWS::OpenSearchService::Domain resource. While the legacy Elasticsearch resource and options are still supported, we recommend modifying your existing Cloudformation templates to use the new OpenSearch Service resource, which supports both OpenSearch and Elasticsearch. For more information about the service rename, see New resource types in the Amazon OpenSearch Service Developer Guide .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.elasticsearch.*;
 ElasticsearchClusterConfigProperty elasticsearchClusterConfigProperty = ElasticsearchClusterConfigProperty.builder()
         .coldStorageOptions(ColdStorageOptionsProperty.builder()
                 .enabled(false)
                 .build())
         .dedicatedMasterCount(123)
         .dedicatedMasterEnabled(false)
         .dedicatedMasterType("dedicatedMasterType")
         .instanceCount(123)
         .instanceType("instanceType")
         .warmCount(123)
         .warmEnabled(false)
         .warmType("warmType")
         .zoneAwarenessConfig(ZoneAwarenessConfigProperty.builder()
                 .availabilityZoneCount(123)
                 .build())
         .zoneAwarenessEnabled(false)
         .build();
 

See Also: