interface ZoneAwarenessConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Elasticsearch.CfnDomain.ZoneAwarenessConfigProperty |
Java | software.amazon.awscdk.services.elasticsearch.CfnDomain.ZoneAwarenessConfigProperty |
Python | aws_cdk.aws_elasticsearch.CfnDomain.ZoneAwarenessConfigProperty |
TypeScript | @aws-cdk/aws-elasticsearch » CfnDomain » ZoneAwarenessConfigProperty |
Specifies zone awareness configuration options. Only use if ZoneAwarenessEnabled
is true
.
The
AWS::Elasticsearch::Domain
resource is being replaced by the AWS::OpenSearchService::Domain 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 New resource types in the Amazon OpenSearch Service Developer Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as elasticsearch from '@aws-cdk/aws-elasticsearch';
const zoneAwarenessConfigProperty: elasticsearch.CfnDomain.ZoneAwarenessConfigProperty = {
availabilityZoneCount: 123,
};
Properties
Name | Type | Description |
---|---|---|
availability | number | If you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use. |
availabilityZoneCount?
Type:
number
(optional)
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 is 2.