Interface EbsOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EbsOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:42.883Z")
@Stability(Stable)
public interface EbsOptions
extends software.amazon.jsii.JsiiSerializable
The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the Amazon OpenSearch Service domain.
For more information, see Amazon EBS in the Amazon Elastic Compute Cloud Developer Guide.
Example:
Domain domain = Domain.Builder.create(this, "Domain")
.version(EngineVersion.OPENSEARCH_1_3)
.ebs(EbsOptions.builder()
.volumeSize(10)
.volumeType(EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3)
.build())
.zoneAwareness(ZoneAwarenessConfig.builder()
.enabled(true)
.availabilityZoneCount(3)
.build())
.capacity(CapacityConfig.builder()
.multiAzWithStandbyEnabled(true)
.masterNodes(3)
.dataNodes(3)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEbsOptionsstatic final classAn implementation forEbsOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic EbsOptions.Builderbuilder()default BooleanSpecifies whether Amazon EBS volumes are attached to data nodes in the Amazon OpenSearch Service domain.default NumbergetIops()The number of I/O operations per second (IOPS) that the volume supports.default NumberThe throughput (in MiB/s) of the EBS volumes attached to data nodes.default NumberThe size (in GiB) of the EBS volume for each data node.default EbsDeviceVolumeTypeThe EBS volume type to use with the Amazon OpenSearch Service domain, such as standard, gp2, io1.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
Specifies whether Amazon EBS volumes are attached to data nodes in the Amazon OpenSearch Service domain.Default: - true
-
getIops
The number of I/O operations per second (IOPS) that the volume supports.This property applies only to the gp3 and Provisioned IOPS (SSD) EBS volume type.
Default: - iops are not set.
-
getThroughput
The throughput (in MiB/s) of the EBS volumes attached to data nodes.This property applies only to the gp3 volume type.
Default: - throughput is not set.
-
getVolumeSize
The size (in GiB) of the EBS volume for each data node.The minimum and maximum size of an EBS volume depends on the EBS volume type and the instance type to which it is attached. For valid values, see EBS volume size limits in the Amazon OpenSearch Service Developer Guide.
Default: 10
-
getVolumeType
The EBS volume type to use with the Amazon OpenSearch Service domain, such as standard, gp2, io1.Default: gp2
-
builder
- Returns:
- a
EbsOptions.BuilderofEbsOptions
-