Interface NodeConfig
- All Superinterfaces:
 software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
 NodeConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:44.327Z")
@Stability(Stable)
public interface NodeConfig
extends software.amazon.jsii.JsiiSerializable
Configuration for a specific node type in OpenSearch domain.
 
Example:
 import software.amazon.awscdk.services.opensearchservice.*;
 Domain domain = Domain.Builder.create(this, "Domain")
         .version(EngineVersion.OPENSEARCH_1_3)
         .capacity(CapacityConfig.builder()
                 .nodeOptions(List.of(NodeOptions.builder()
                         .nodeType(NodeType.COORDINATOR)
                         .nodeConfig(NodeConfig.builder()
                                 .enabled(true)
                                 .count(2)
                                 .type("m5.large.search")
                                 .build())
                         .build()))
                 .build())
         .build();
 - 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forNodeConfigstatic final classAn implementation forNodeConfig - 
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson 
- 
Method Details
- 
getCount
The number of nodes of this type.Default: - 1
 - 
getEnabled
Whether this node type is enabled.Default: - false
 - 
getType
The instance type for the nodes.Default: - m5.large.search
 - 
builder
- Returns:
 - a 
NodeConfig.BuilderofNodeConfig 
 
 -