Interface CapacityConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CapacityConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:10.055Z")
@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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Deprecated.static final class
Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic CapacityConfig.Builder
builder()
Deprecated.default String
Deprecated.use opensearchservice module insteaddefault Number
Deprecated.use opensearchservice module insteaddefault String
Deprecated.use opensearchservice module insteaddefault Number
Deprecated.use opensearchservice module insteaddefault String
Deprecated.use opensearchservice module insteaddefault Number
Deprecated.use opensearchservice module insteadMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDataNodeInstanceType
Deprecated.use opensearchservice module instead(deprecated) The instance type for your data nodes, such asm3.medium.elasticsearch
. For valid values, see Supported Instance Types in the Amazon Elasticsearch Service Developer Guide.Default: - r5.large.elasticsearch
-
getDataNodes
Deprecated.use opensearchservice module instead(deprecated) The number of data nodes (instances) to use in the Amazon ES domain.Default: - 1
-
getMasterNodeInstanceType
Deprecated.use opensearchservice module instead(deprecated) The hardware configuration of the computer that hosts the dedicated master node, such asm3.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
Deprecated.use opensearchservice module instead(deprecated) The number of instances to use for the master node.Default: - no dedicated master nodes
-
getWarmInstanceType
Deprecated.use opensearchservice module instead(deprecated) The instance type for your UltraWarm node, such asultrawarm1.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
Deprecated.use opensearchservice module instead(deprecated) The number of UltraWarm nodes (instances) to use in the Amazon ES domain.Default: - no UltraWarm nodes
-
builder
Deprecated.- Returns:
- a
CapacityConfig.Builder
ofCapacityConfig
-