@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:21.055Z") @Stability(value=Experimental) public interface ZoneAwarenessConfig extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ZoneAwarenessConfig.Builder
A builder for
ZoneAwarenessConfig |
static class |
ZoneAwarenessConfig.Jsii$Proxy
An implementation for
ZoneAwarenessConfig |
| Modifier and Type | Method and Description |
|---|---|
static ZoneAwarenessConfig.Builder |
builder() |
default Number |
getAvailabilityZoneCount()
(experimental) If you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use.
|
default Boolean |
getEnabled()
(experimental) Indicates whether to enable zone awareness for the Amazon ES domain.
|
@Stability(value=Experimental) @Nullable default Number getAvailabilityZoneCount()
Valid values are 2 and 3.
Default: - 2 if zone awareness is enabled.
@Stability(value=Experimental) @Nullable default Boolean getEnabled()
When you enable zone awareness, Amazon ES allocates the nodes and replica index shards that belong to a cluster across two Availability Zones (AZs) in the same region to prevent data loss and minimize downtime in the event of node or data center failure. Don't enable zone awareness if your cluster has no replica index shards or is a single-node cluster. For more information, see [Configuring a Multi-AZ Domain] (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-managedomains-multiaz) in the Amazon Elasticsearch Service Developer Guide.
Default: - false
@Stability(value=Experimental) static ZoneAwarenessConfig.Builder builder()
ZoneAwarenessConfig.Builder of ZoneAwarenessConfigCopyright © 2021. All rights reserved.