aws-cdk-lib.aws_elasticsearch.CapacityConfig

interface CapacityConfig ⚠️

LanguageType name
.NETAmazon.CDK.AWS.Elasticsearch.CapacityConfig
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awselasticsearch#CapacityConfig
Javasoftware.amazon.awscdk.services.elasticsearch.CapacityConfig
Pythonaws_cdk.aws_elasticsearch.CapacityConfig
TypeScript (source)aws-cdk-lib » aws_elasticsearch » CapacityConfig

⚠️ Deprecated: use opensearchservice module instead

Configures the capacity of the cluster such as the instance type and the number of instances.

Example

const domain = new es.Domain(this, 'Domain', {
  version: es.ElasticsearchVersion.V7_10,
  capacity: {
    masterNodes: 2,
    warmNodes: 2,
    warmInstanceType: 'ultrawarm1.medium.elasticsearch',
  },
});

Properties

NameTypeDescription
dataNodeInstanceType?⚠️stringThe instance type for your data nodes, such as m3.medium.elasticsearch. For valid values, see Supported Instance Types in the Amazon Elasticsearch Service Developer Guide.
dataNodes?⚠️numberThe number of data nodes (instances) to use in the Amazon ES domain.
masterNodeInstanceType?⚠️stringThe hardware configuration of the computer that hosts the dedicated master node, such as m3.medium.elasticsearch. For valid values, see [Supported Instance Types] (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/aes-supported-instance-types.html) in the Amazon Elasticsearch Service Developer Guide.
masterNodes?⚠️numberThe number of instances to use for the master node.
warmInstanceType?⚠️stringThe instance type for your UltraWarm node, such as ultrawarm1.medium.elasticsearch. For valid values, see [UltraWarm Storage Limits] (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/aes-limits.html#limits-ultrawarm) in the Amazon Elasticsearch Service Developer Guide.
warmNodes?⚠️numberThe number of UltraWarm nodes (instances) to use in the Amazon ES domain.

dataNodeInstanceType?⚠️

⚠️ Deprecated: use opensearchservice module instead

Type: string (optional, default: r5.large.elasticsearch)

The instance type for your data nodes, such as m3.medium.elasticsearch. For valid values, see Supported Instance Types in the Amazon Elasticsearch Service Developer Guide.


dataNodes?⚠️

⚠️ Deprecated: use opensearchservice module instead

Type: number (optional, default: 1)

The number of data nodes (instances) to use in the Amazon ES domain.


masterNodeInstanceType?⚠️

⚠️ Deprecated: use opensearchservice module instead

Type: string (optional, default: r5.large.elasticsearch)

The hardware configuration of the computer that hosts the dedicated master node, such as m3.medium.elasticsearch. For valid values, see [Supported Instance Types] (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/aes-supported-instance-types.html) in the Amazon Elasticsearch Service Developer Guide.


masterNodes?⚠️

⚠️ Deprecated: use opensearchservice module instead

Type: number (optional, default: no dedicated master nodes)

The number of instances to use for the master node.


warmInstanceType?⚠️

⚠️ Deprecated: use opensearchservice module instead

Type: string (optional, default: ultrawarm1.medium.elasticsearch)

The instance type for your UltraWarm node, such as ultrawarm1.medium.elasticsearch. For valid values, see [UltraWarm Storage Limits] (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/aes-limits.html#limits-ultrawarm) in the Amazon Elasticsearch Service Developer Guide.


warmNodes?⚠️

⚠️ Deprecated: use opensearchservice module instead

Type: number (optional, default: no UltraWarm nodes)

The number of UltraWarm nodes (instances) to use in the Amazon ES domain.