Class CfnDomain.ZoneAwarenessConfigProperty
Specifies zone awareness configuration options. Only use if ZoneAwarenessEnabled is true .
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Elasticsearch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDomain.ZoneAwarenessConfigProperty : CfnDomain.IZoneAwarenessConfigProperty
Syntax (vb)
Public Class CfnDomain.ZoneAwarenessConfigProperty Implements CfnDomain.IZoneAwarenessConfigProperty
Remarks
The <code>AWS::Elasticsearch::Domain</code> resource is being replaced by the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html">AWS::OpenSearchService::Domain</a> resource. While the legacy Elasticsearch resource and options are still supported, we recommend modifying your existing Cloudformation templates to use the new OpenSearch Service resource, which supports both OpenSearch and Elasticsearch. For more information about the service rename, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/rename.html#rename-resource">New resource types</a> in the <em>Amazon OpenSearch Service Developer Guide</em> .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Elasticsearch;
var zoneAwarenessConfigProperty = new ZoneAwarenessConfigProperty {
AvailabilityZoneCount = 123
};
Synopsis
Constructors
| ZoneAwarenessConfigProperty() | Specifies zone awareness configuration options. Only use if |
Properties
| AvailabilityZoneCount | If you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use. |
Constructors
ZoneAwarenessConfigProperty()
Specifies zone awareness configuration options. Only use if ZoneAwarenessEnabled is true .
public ZoneAwarenessConfigProperty()
Remarks
The <code>AWS::Elasticsearch::Domain</code> resource is being replaced by the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html">AWS::OpenSearchService::Domain</a> resource. While the legacy Elasticsearch resource and options are still supported, we recommend modifying your existing Cloudformation templates to use the new OpenSearch Service resource, which supports both OpenSearch and Elasticsearch. For more information about the service rename, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/rename.html#rename-resource">New resource types</a> in the <em>Amazon OpenSearch Service Developer Guide</em> .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Elasticsearch;
var zoneAwarenessConfigProperty = new ZoneAwarenessConfigProperty {
AvailabilityZoneCount = 123
};
Properties
AvailabilityZoneCount
If you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use.
public double? AvailabilityZoneCount { get; set; }