Interface CfnDomain.ZoneAwarenessConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomain.ZoneAwarenessConfigProperty.Jsii$Proxy
- Enclosing class:
- CfnDomain
@Stability(Stable)
public static interface CfnDomain.ZoneAwarenessConfigProperty
extends software.amazon.jsii.JsiiSerializable
Specifies zone awareness configuration options. Only use if
ZoneAwarenessEnabled is true .
The
AWS::Elasticsearch::Domainresource 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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDomain.ZoneAwarenessConfigPropertystatic final classAn implementation forCfnDomain.ZoneAwarenessConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAvailabilityZoneCount
If you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use.Valid values are
2and3. Default is 2. -
builder
-