CapacityConfig

class aws_cdk.aws_elasticsearch.CapacityConfig(*, data_node_instance_type=None, data_nodes=None, master_node_instance_type=None, master_nodes=None, warm_instance_type=None, warm_nodes=None)

Bases: object

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

Parameters:
  • data_node_instance_type (Optional[str]) – (deprecated) 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. Default: - r5.large.elasticsearch

  • data_nodes (Union[int, float, None]) – (deprecated) The number of data nodes (instances) to use in the Amazon ES domain. Default: - 1

  • master_node_instance_type (Optional[str]) – (deprecated) 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. Default: - r5.large.elasticsearch

  • master_nodes (Union[int, float, None]) – (deprecated) The number of instances to use for the master node. Default: - no dedicated master nodes

  • warm_instance_type (Optional[str]) – (deprecated) 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. Default: - ultrawarm1.medium.elasticsearch

  • warm_nodes (Union[int, float, None]) – (deprecated) The number of UltraWarm nodes (instances) to use in the Amazon ES domain. Default: - no UltraWarm nodes

Deprecated:

use opensearchservice module instead

Stability:

deprecated

ExampleMetadata:

infused

Example:

domain = es.Domain(self, "Domain",
    version=es.ElasticsearchVersion.V7_10,
    capacity=es.CapacityConfig(
        master_nodes=2,
        warm_nodes=2,
        warm_instance_type="ultrawarm1.medium.elasticsearch"
    )
)

Attributes

data_node_instance_type

//docs.aws.amazon.com/elasticsearch-service/latest/developerguide/aes-supported-instance-types.html>`_ in the Amazon Elasticsearch Service Developer Guide.

Default:
  • r5.large.elasticsearch

Deprecated:

use opensearchservice module instead

Stability:

deprecated

Type:

(deprecated) The instance type for your data nodes, such as m3.medium.elasticsearch. For valid values, see `Supported Instance Types <https

data_nodes

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

Default:
  • 1

Deprecated:

use opensearchservice module instead

Stability:

deprecated

master_node_instance_type

//docs.aws.amazon.com/elasticsearch-service/latest/developerguide/aes-supported-instance-types.html) in the Amazon Elasticsearch Service Developer Guide.

Default:
  • r5.large.elasticsearch

Deprecated:

use opensearchservice module instead

Stability:

deprecated

Type:

(deprecated) 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

master_nodes

(deprecated) The number of instances to use for the master node.

Default:
  • no dedicated master nodes

Deprecated:

use opensearchservice module instead

Stability:

deprecated

warm_instance_type

//docs.aws.amazon.com/elasticsearch-service/latest/developerguide/aes-limits.html#limits-ultrawarm) in the Amazon Elasticsearch Service Developer Guide.

Default:
  • ultrawarm1.medium.elasticsearch

Deprecated:

use opensearchservice module instead

Stability:

deprecated

Type:

(deprecated) The instance type for your UltraWarm node, such as ultrawarm1.medium.elasticsearch. For valid values, see [UltraWarm Storage Limits] (https

warm_nodes

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

Default:
  • no UltraWarm nodes

Deprecated:

use opensearchservice module instead

Stability:

deprecated