Class DomainClusterConfig


  • public final class DomainClusterConfig
    extends java.lang.Object
    • Method Detail

      • coldStorageOptions

        public java.util.Optional<DomainClusterConfigColdStorageOptions> coldStorageOptions()
        Returns:
        Configuration block containing cold storage configuration. Detailed below.
      • dedicatedMasterCount

        public java.util.Optional<java.lang.Integer> dedicatedMasterCount()
        Returns:
        Number of dedicated main nodes in the cluster.
      • dedicatedMasterEnabled

        public java.util.Optional<java.lang.Boolean> dedicatedMasterEnabled()
        Returns:
        Whether dedicated main nodes are enabled for the cluster.
      • dedicatedMasterType

        public java.util.Optional<java.lang.String> dedicatedMasterType()
        Returns:
        Instance type of the dedicated main nodes in the cluster.
      • instanceCount

        public java.util.Optional<java.lang.Integer> instanceCount()
        Returns:
        Number of instances in the cluster.
      • instanceType

        public java.util.Optional<java.lang.String> instanceType()
        Returns:
        Instance type of data nodes in the cluster.
      • multiAzWithStandbyEnabled

        public java.util.Optional<java.lang.Boolean> multiAzWithStandbyEnabled()
        Returns:
        Whether a multi-AZ domain is turned on with a standby AZ. For more information, see [Configuring a multi-AZ domain in Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-multiaz.html).
      • warmCount

        public java.util.Optional<java.lang.Integer> warmCount()
        Returns:
        Number of warm nodes in the cluster. Valid values are between `2` and `150`. `warmCount` can be only and must be set when `warmEnabled` is set to `true`.
      • warmEnabled

        public java.util.Optional<java.lang.Boolean> warmEnabled()
        Returns:
        Whether to enable warm storage.
      • warmType

        public java.util.Optional<java.lang.String> warmType()
        Returns:
        Instance type for the OpenSearch cluster's warm nodes. `warmType` can be only and must be set when `warmEnabled` is set to `true`.
      • zoneAwarenessConfig

        public java.util.Optional<DomainClusterConfigZoneAwarenessConfig> zoneAwarenessConfig()
        Returns:
        Configuration block containing zone awareness settings. Detailed below.
      • zoneAwarenessEnabled

        public java.util.Optional<java.lang.Boolean> zoneAwarenessEnabled()
        Returns:
        Whether zone awareness is enabled, set to `true` for multi-az deployment. To enable awareness with three Availability Zones, the `availabilityZoneCount` within the `zoneAwarenessConfig` must be set to `3`.