@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.107Z") @Stability(value=Stable) public interface EbsOptions extends software.amazon.jsii.JsiiSerializable
For more information, see [Amazon EBS] (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html) in the Amazon Elastic Compute Cloud Developer Guide.
Example:
Domain prodDomain = Domain.Builder.create(this, "Domain")
.version(EngineVersion.OPENSEARCH_1_0)
.capacity(CapacityConfig.builder()
.masterNodes(5)
.dataNodes(20)
.build())
.ebs(EbsOptions.builder()
.volumeSize(20)
.build())
.zoneAwareness(ZoneAwarenessConfig.builder()
.availabilityZoneCount(3)
.build())
.logging(LoggingOptions.builder()
.slowSearchLogEnabled(true)
.appLogEnabled(true)
.slowIndexLogEnabled(true)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
EbsOptions.Builder
A builder for
EbsOptions |
static class |
EbsOptions.Jsii$Proxy
An implementation for
EbsOptions |
| Modifier and Type | Method and Description |
|---|---|
static EbsOptions.Builder |
builder() |
default Boolean |
getEnabled()
Specifies whether Amazon EBS volumes are attached to data nodes in the Amazon OpenSearch Service domain.
|
default Number |
getIops()
The number of I/O operations per second (IOPS) that the volume supports.
|
default Number |
getVolumeSize()
The size (in GiB) of the EBS volume for each data node.
|
default EbsDeviceVolumeType |
getVolumeType()
The EBS volume type to use with the Amazon OpenSearch Service domain, such as standard, gp2, io1.
|
@Stability(value=Stable) @Nullable default Boolean getEnabled()
Default: - true
@Stability(value=Stable) @Nullable default Number getIops()
This property applies only to the Provisioned IOPS (SSD) EBS volume type.
Default: - iops are not set.
@Stability(value=Stable) @Nullable default Number getVolumeSize()
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] (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/limits.html#ebsresource) in the Amazon OpenSearch Service Developer Guide.
Default: 10
@Stability(value=Stable) @Nullable default EbsDeviceVolumeType getVolumeType()
Default: gp2
@Stability(value=Stable) static EbsOptions.Builder builder()
EbsOptions.Builder of EbsOptionsCopyright © 2022. All rights reserved.