Show / Hide Table of Contents

Class ZoneAwarenessConfig

(deprecated) Specifies zone awareness configuration options.

Inheritance
object
ZoneAwarenessConfig
Implements
IZoneAwarenessConfig
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Elasticsearch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ZoneAwarenessConfig : IZoneAwarenessConfig
Syntax (vb)
Public Class ZoneAwarenessConfig Implements IZoneAwarenessConfig
Remarks

Stability: Deprecated

ExampleMetadata: infused

Examples
var prodDomain = new Domain(this, "Domain", new DomainProps {
                 Version = ElasticsearchVersion.V7_1,
                 Capacity = new CapacityConfig {
                     MasterNodes = 5,
                     DataNodes = 20
                 },
                 Ebs = new EbsOptions {
                     VolumeSize = 20
                 },
                 ZoneAwareness = new ZoneAwarenessConfig {
                     AvailabilityZoneCount = 3
                 },
                 Logging = new LoggingOptions {
                     SlowSearchLogEnabled = true,
                     AppLogEnabled = true,
                     SlowIndexLogEnabled = true
                 }
             });

Synopsis

Constructors

ZoneAwarenessConfig()

(deprecated) Specifies zone awareness configuration options.

Properties

AvailabilityZoneCount

(deprecated) If you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use.

Enabled

(deprecated) Indicates whether to enable zone awareness for the Amazon ES domain.

Constructors

ZoneAwarenessConfig()

(deprecated) Specifies zone awareness configuration options.

public ZoneAwarenessConfig()
Remarks

Stability: Deprecated

ExampleMetadata: infused

Examples
var prodDomain = new Domain(this, "Domain", new DomainProps {
                 Version = ElasticsearchVersion.V7_1,
                 Capacity = new CapacityConfig {
                     MasterNodes = 5,
                     DataNodes = 20
                 },
                 Ebs = new EbsOptions {
                     VolumeSize = 20
                 },
                 ZoneAwareness = new ZoneAwarenessConfig {
                     AvailabilityZoneCount = 3
                 },
                 Logging = new LoggingOptions {
                     SlowSearchLogEnabled = true,
                     AppLogEnabled = true,
                     SlowIndexLogEnabled = true
                 }
             });

Properties

AvailabilityZoneCount

(deprecated) If you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use.

[Obsolete("use opensearchservice module instead")]
public double? AvailabilityZoneCount { get; set; }
Property Value

double?

Remarks

Valid values are 2 and 3.

Default: - 2 if zone awareness is enabled.

Stability: Deprecated

Enabled

(deprecated) Indicates whether to enable zone awareness for the Amazon ES domain.

[Obsolete("use opensearchservice module instead")]
public bool? Enabled { get; set; }
Property Value

bool?

Remarks

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: Deprecated

Implements

IZoneAwarenessConfig
Back to top Generated by DocFX