@Stability(value=Stable)
public static interface CfnDomain.EBSOptionsProperty
extends software.amazon.jsii.JsiiSerializable
For more information, see EBS volume size limits in the Amazon OpenSearch Service Developer Guide .
The
AWS::Elasticsearch::Domainresource is being replaced by the AWS::OpenSearchService::Domain resource. While the legacy Elasticsearch resource and options are still supported, we recommend modifying your existing Cloudformation templates to use the new OpenSearch Service resource, which supports both OpenSearch and Elasticsearch. For more information about the service rename, see New resource types 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.elasticsearch.*;
EBSOptionsProperty eBSOptionsProperty = EBSOptionsProperty.builder()
.ebsEnabled(false)
.iops(123)
.volumeSize(123)
.volumeType("volumeType")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDomain.EBSOptionsProperty.Builder
A builder for
CfnDomain.EBSOptionsProperty |
static class |
CfnDomain.EBSOptionsProperty.Jsii$Proxy
An implementation for
CfnDomain.EBSOptionsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDomain.EBSOptionsProperty.Builder |
builder() |
default Object |
getEbsEnabled()
Specifies whether Amazon EBS volumes are attached to data nodes in the 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 String |
getVolumeType()
The EBS volume type to use with the OpenSearch Service domain, such as standard, gp2, or io1.
|
@Stability(value=Stable) @Nullable default Object getEbsEnabled()
@Stability(value=Stable) @Nullable default Number getIops()
This property applies only to the Provisioned IOPS (SSD) EBS volume type.
@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 more information, see EBS volume size limits in the Amazon OpenSearch Service Developer Guide .
@Stability(value=Stable) @Nullable default String getVolumeType()
For more information about each type, see Amazon EBS volume types in the Amazon EC2 User Guide for Linux Instances .
@Stability(value=Stable) static CfnDomain.EBSOptionsProperty.Builder builder()
Copyright © 2022. All rights reserved.