NodeConfig Struct
Configuration for a specific node type in OpenSearch domain.
Example
ts
import * as opensearch from 'aws-cdk-lib/aws-opensearchservice';
const domain = new Domain(this, 'Domain', {
version: EngineVersion.OPENSEARCH_1_3,
capacity: {
nodeOptions: [
{
nodeType: opensearch.NodeType.COORDINATOR,
nodeConfig: {
enabled: true,
count: 2,
type: 'm5.large.search',
},
},
],
},
})
Properties
countoptionalnumbercountoptionalint | floatcountoptionalNumberCountoptionaldoubleCountoptional*float64= 1#The number of nodes of this type.
enabledoptionalbooleanenabledoptionalboolenabledoptionalBooleanEnabledoptionalboolEnabledoptional*bool= false#Whether this node type is enabled.
typeoptionalstringtypeoptionalstrtypeoptionalStringTypeoptionalstringTypeoptional*string= m5.large.search#The instance type for the nodes.