Class EbsOptions
The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the Amazon OpenSearch Service domain.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.OpenSearchService
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EbsOptions : Object, IEbsOptions
Syntax (vb)
Public Class EbsOptions
Inherits Object
Implements IEbsOptions
Remarks
For more information, see Amazon EBS in the Amazon Elastic Compute Cloud Developer Guide.
ExampleMetadata: infused
Examples
var domain = new Domain(this, "Domain", new DomainProps {
Version = EngineVersion.OPENSEARCH_1_0,
Ebs = new EbsOptions {
VolumeSize = 100,
VolumeType = EbsDeviceVolumeType.GENERAL_PURPOSE_SSD
},
NodeToNodeEncryption = true,
EncryptionAtRest = new EncryptionAtRestOptions {
Enabled = true
}
});
Synopsis
Constructors
Ebs |
Properties
Enabled | Specifies whether Amazon EBS volumes are attached to data nodes in the Amazon OpenSearch Service domain. |
Iops | The number of I/O operations per second (IOPS) that the volume supports. |
Throughput | The throughput (in MiB/s) of the EBS volumes attached to data nodes. |
Volume |
The size (in GiB) of the EBS volume for each data node. |
Volume |
The EBS volume type to use with the Amazon OpenSearch Service domain, such as standard, gp2, io1. |
Constructors
EbsOptions()
public EbsOptions()
Properties
Enabled
Specifies whether Amazon EBS volumes are attached to data nodes in the Amazon OpenSearch Service domain.
public Nullable<bool> Enabled { get; set; }
Property Value
System.
Remarks
Default: - true
Iops
The number of I/O operations per second (IOPS) that the volume supports.
public Nullable<double> Iops { get; set; }
Property Value
System.
Remarks
This property applies only to the gp3 and Provisioned IOPS (SSD) EBS volume type.
Default: - iops are not set.
Throughput
The throughput (in MiB/s) of the EBS volumes attached to data nodes.
public Nullable<double> Throughput { get; set; }
Property Value
System.
Remarks
This property applies only to the gp3 volume type.
Default: - throughput is not set.
VolumeSize
The size (in GiB) of the EBS volume for each data node.
public Nullable<double> VolumeSize { get; set; }
Property Value
System.
Remarks
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
VolumeType
The EBS volume type to use with the Amazon OpenSearch Service domain, such as standard, gp2, io1.
public Nullable<EbsDeviceVolumeType> VolumeType { get; set; }
Property Value
System.
Remarks
Default: gp2