EbsOptions

class aws_cdk.aws_elasticsearch.EbsOptions(*, enabled=None, iops=None, volume_size=None, volume_type=None)

Bases: object

The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the Amazon ES domain.

For more information, see [Configuring EBS-based Storage] (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs) in the Amazon Elasticsearch Service Developer Guide.

Parameters

Attributes

enabled

Specifies whether Amazon EBS volumes are attached to data nodes in the Amazon ES domain.

Default
  • true

Return type

Optional[bool]

iops

The number of I/O operations per second (IOPS) that the volume supports.

This property applies only to the Provisioned IOPS (SSD) EBS volume type.

Default
  • iops are not set.

Return type

Union[int, float, None]

volume_size

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 [Configuring EBS-based Storage] (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs) in the Amazon Elasticsearch Service Developer Guide.

Default

10

Return type

Union[int, float, None]

volume_type

The EBS volume type to use with the Amazon ES domain, such as standard, gp2, io1.

For more information, see[Configuring EBS-based Storage] (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs) in the Amazon Elasticsearch Service Developer Guide.

Default

gp2

Return type

Optional[EbsDeviceVolumeType]