@Stability(value=Experimental) @Internal public static final class ZoneAwarenessConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ZoneAwarenessConfig
ZoneAwarenessConfigsoftware.amazon.jsii.JsiiObject.InitializationModeZoneAwarenessConfig.Builder, ZoneAwarenessConfig.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(Number availabilityZoneCount,
Boolean enabled)
Constructor that initializes the object based on literal property values passed by the
ZoneAwarenessConfig.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getAvailabilityZoneCount()
(experimental) If you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use.
|
Boolean |
getEnabled()
(experimental) Indicates whether to enable zone awareness for the Amazon ES domain.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Number availabilityZoneCount, Boolean enabled)
ZoneAwarenessConfig.Builder.public final Number getAvailabilityZoneCount()
ZoneAwarenessConfigValid values are 2 and 3.
Default: - 2 if zone awareness is enabled.
getAvailabilityZoneCount in interface ZoneAwarenessConfigpublic final Boolean getEnabled()
ZoneAwarenessConfigWhen 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
getEnabled in interface ZoneAwarenessConfig@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.