Interface CfnDomain.EBSOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomain.EBSOptionsProperty.Jsii$Proxy
- Enclosing class:
- CfnDomain
@Stability(Stable)
public static interface CfnDomain.EBSOptionsProperty
extends software.amazon.jsii.JsiiSerializable
The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the OpenSearch Service domain.
For more information, see EBS volume size limits in the Amazon OpenSearch Service Developer Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.opensearchservice.*;
EBSOptionsProperty eBSOptionsProperty = EBSOptionsProperty.builder()
.ebsEnabled(false)
.iops(123)
.throughput(123)
.volumeSize(123)
.volumeType("volumeType")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDomain.EBSOptionsPropertystatic final classAn implementation forCfnDomain.EBSOptionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies whether Amazon EBS volumes are attached to data nodes in the 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 StringThe EBS volume type to use with the OpenSearch Service domain.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEbsEnabled
Specifies whether Amazon EBS volumes are attached to data nodes in the OpenSearch Service domain. -
getIops
The number of I/O operations per second (IOPS) that the volume supports.This property applies only to the
gp3and provisioned IOPS EBS volume types. -
getThroughput
The throughput (in MiB/s) of the EBS volumes attached to data nodes.Applies only to the
gp3volume type. -
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 more information, see EBS volume size limits in the Amazon OpenSearch Service Developer Guide .
-
getVolumeType
The EBS volume type to use with the OpenSearch Service domain.If you choose
gp3, you must also specify values forIopsandThroughput. For more information about each type, see Amazon EBS volume types in the Amazon EC2 User Guide for Linux Instances . -
builder
-