Interface CapacityConfig

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CapacityConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.424Z") @Stability(Deprecated) @Deprecated public interface CapacityConfig extends software.amazon.jsii.JsiiSerializable
Deprecated.
use opensearchservice module instead
(deprecated) Configures the capacity of the cluster such as the instance type and the number of instances.

Example:

 Domain domain = Domain.Builder.create(this, "Domain")
         .version(ElasticsearchVersion.V7_10)
         .capacity(CapacityConfig.builder()
                 .masterNodes(2)
                 .warmNodes(2)
                 .warmInstanceType("ultrawarm1.medium.elasticsearch")
                 .build())
         .build();
 

  • Method Details

    • getDataNodeInstanceType

      @Stability(Deprecated) @Deprecated @Nullable default String getDataNodeInstanceType()
      Deprecated.
      use opensearchservice module instead
      (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

    • getDataNodes

      @Stability(Deprecated) @Deprecated @Nullable default Number getDataNodes()
      Deprecated.
      use opensearchservice module instead
      (deprecated) The number of data nodes (instances) to use in the Amazon ES domain.

      Default: - 1

    • getMasterNodeInstanceType

      @Stability(Deprecated) @Deprecated @Nullable default String getMasterNodeInstanceType()
      Deprecated.
      use opensearchservice module instead
      (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

    • getMasterNodes

      @Stability(Deprecated) @Deprecated @Nullable default Number getMasterNodes()
      Deprecated.
      use opensearchservice module instead
      (deprecated) The number of instances to use for the master node.

      Default: - no dedicated master nodes

    • getWarmInstanceType

      @Stability(Deprecated) @Deprecated @Nullable default String getWarmInstanceType()
      Deprecated.
      use opensearchservice module instead
      (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

    • getWarmNodes

      @Stability(Deprecated) @Deprecated @Nullable default Number getWarmNodes()
      Deprecated.
      use opensearchservice module instead
      (deprecated) The number of UltraWarm nodes (instances) to use in the Amazon ES domain.

      Default: - no UltraWarm nodes

    • builder

      @Stability(Deprecated) @Deprecated static CapacityConfig.Builder builder()
      Deprecated.
      Returns:
      a CapacityConfig.Builder of CapacityConfig