Class ZoneAwarenessConfig.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.opensearchservice.ZoneAwarenessConfig.Jsii$Proxy
- All Implemented Interfaces:
ZoneAwarenessConfig
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ZoneAwarenessConfig
@Stability(Stable)
@Internal
public static final class ZoneAwarenessConfig.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements ZoneAwarenessConfig
An implementation for
ZoneAwarenessConfig
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.opensearchservice.ZoneAwarenessConfig
ZoneAwarenessConfig.Builder, ZoneAwarenessConfig.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(ZoneAwarenessConfig.Builder builder) Constructor that initializes the object based on literal property values passed by theZoneAwarenessConfig.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Number
If you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use.final Boolean
Indicates whether to enable zone awareness for the Amazon OpenSearch Service domain.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theZoneAwarenessConfig.Builder
.
-
-
Method Details
-
getAvailabilityZoneCount
Description copied from interface:ZoneAwarenessConfig
If you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use.Valid values are 2 and 3.
Default: - 2 if zone awareness is enabled.
- Specified by:
getAvailabilityZoneCount
in interfaceZoneAwarenessConfig
-
getEnabled
Description copied from interface:ZoneAwarenessConfig
Indicates whether to enable zone awareness for the Amazon OpenSearch Service domain.When you enable zone awareness, Amazon OpenSearch Service 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/opensearch-service/latest/developerguide/managedomains-multiaz.html) in the Amazon OpenSearch Service Developer Guide.
Default: - false
- Specified by:
getEnabled
in interfaceZoneAwarenessConfig
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-