public static interface CfnDomain.ZoneAwarenessConfigProperty
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 software.amazon.awscdk.services.elasticsearch.*; ZoneAwarenessConfigProperty zoneAwarenessConfigProperty = ZoneAwarenessConfigProperty.builder() .availabilityZoneCount(123) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDomain.ZoneAwarenessConfigProperty.Builder
A builder for
CfnDomain.ZoneAwarenessConfigProperty |
static class |
CfnDomain.ZoneAwarenessConfigProperty.Jsii$Proxy
An implementation for
CfnDomain.ZoneAwarenessConfigProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDomain.ZoneAwarenessConfigProperty.Builder |
builder() |
default java.lang.Number |
getAvailabilityZoneCount()
If you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use.
|
default java.lang.Number getAvailabilityZoneCount()
Valid values are 2
and 3
. Default is 2.
static CfnDomain.ZoneAwarenessConfigProperty.Builder builder()