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

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

Parameters
  • data_node_instance_type (Optional[str]) – 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]) – The number of data nodes (instances) to use in the Amazon ES domain. Default: - 1

  • master_node_instance_type (Optional[str]) – 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]) – The number of instances to use for the master node. Default: - no dedicated master nodes

  • warm_instance_type (Optional[str]) – 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]) – The number of UltraWarm nodes (instances) to use in the Amazon ES domain. Default: - no UltraWarm nodes

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

Type

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

Return type

Optional[str]

data_nodes

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

Default
  • 1

Return type

Union[int, float, None]

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

Type

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

Return type

Optional[str]

master_nodes

The number of instances to use for the master node.

Default
  • no dedicated master nodes

Return type

Union[int, float, None]

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

Type

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

Return type

Optional[str]

warm_nodes

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

Default
  • no UltraWarm nodes

Return type

Union[int, float, None]