Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ClusterConfig = ClusterConfig' {
- coldStorageOptions :: Maybe ColdStorageOptions
- dedicatedMasterCount :: Maybe Int
- dedicatedMasterEnabled :: Maybe Bool
- dedicatedMasterType :: Maybe OpenSearchPartitionInstanceType
- instanceCount :: Maybe Int
- instanceType :: Maybe OpenSearchPartitionInstanceType
- warmCount :: Maybe Int
- warmEnabled :: Maybe Bool
- warmType :: Maybe OpenSearchWarmPartitionInstanceType
- zoneAwarenessConfig :: Maybe ZoneAwarenessConfig
- zoneAwarenessEnabled :: Maybe Bool
- newClusterConfig :: ClusterConfig
- clusterConfig_coldStorageOptions :: Lens' ClusterConfig (Maybe ColdStorageOptions)
- clusterConfig_dedicatedMasterCount :: Lens' ClusterConfig (Maybe Int)
- clusterConfig_dedicatedMasterEnabled :: Lens' ClusterConfig (Maybe Bool)
- clusterConfig_dedicatedMasterType :: Lens' ClusterConfig (Maybe OpenSearchPartitionInstanceType)
- clusterConfig_instanceCount :: Lens' ClusterConfig (Maybe Int)
- clusterConfig_instanceType :: Lens' ClusterConfig (Maybe OpenSearchPartitionInstanceType)
- clusterConfig_warmCount :: Lens' ClusterConfig (Maybe Int)
- clusterConfig_warmEnabled :: Lens' ClusterConfig (Maybe Bool)
- clusterConfig_warmType :: Lens' ClusterConfig (Maybe OpenSearchWarmPartitionInstanceType)
- clusterConfig_zoneAwarenessConfig :: Lens' ClusterConfig (Maybe ZoneAwarenessConfig)
- clusterConfig_zoneAwarenessEnabled :: Lens' ClusterConfig (Maybe Bool)
Documentation
data ClusterConfig Source #
Container for the cluster configuration of an OpenSearch Service domain. For more information, see Creating and managing Amazon OpenSearch Service domains.
See: newClusterConfig
smart constructor.
ClusterConfig' | |
|
Instances
newClusterConfig :: ClusterConfig Source #
Create a value of ClusterConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:coldStorageOptions:ClusterConfig'
, clusterConfig_coldStorageOptions
- Container for cold storage configuration options.
$sel:dedicatedMasterCount:ClusterConfig'
, clusterConfig_dedicatedMasterCount
- Number of dedicated master nodes in the cluster. This number must be
greater than 1, otherwise you receive a validation exception.
$sel:dedicatedMasterEnabled:ClusterConfig'
, clusterConfig_dedicatedMasterEnabled
- Indicates whether dedicated master nodes are enabled for the
cluster.True
if the cluster will use a dedicated master node.False
if the cluster will not.
$sel:dedicatedMasterType:ClusterConfig'
, clusterConfig_dedicatedMasterType
- OpenSearch Service instance type of the dedicated master nodes in the
cluster.
$sel:instanceCount:ClusterConfig'
, clusterConfig_instanceCount
- Number of dedicated master nodes in the cluster. This number must be
greater than 1, otherwise you receive a validation exception.
$sel:instanceType:ClusterConfig'
, clusterConfig_instanceType
- Instance type of data nodes in the cluster.
$sel:warmCount:ClusterConfig'
, clusterConfig_warmCount
- The number of warm nodes in the cluster.
$sel:warmEnabled:ClusterConfig'
, clusterConfig_warmEnabled
- Whether to enable warm storage for the cluster.
$sel:warmType:ClusterConfig'
, clusterConfig_warmType
- The instance type for the cluster's warm nodes.
$sel:zoneAwarenessConfig:ClusterConfig'
, clusterConfig_zoneAwarenessConfig
- Container for zone awareness configuration options. Only required if
ZoneAwarenessEnabled
is true
.
$sel:zoneAwarenessEnabled:ClusterConfig'
, clusterConfig_zoneAwarenessEnabled
- Indicates whether multiple Availability Zones are enabled. For more
information, see
Configuring a multi-AZ domain in Amazon OpenSearch Service.
clusterConfig_coldStorageOptions :: Lens' ClusterConfig (Maybe ColdStorageOptions) Source #
Container for cold storage configuration options.
clusterConfig_dedicatedMasterCount :: Lens' ClusterConfig (Maybe Int) Source #
Number of dedicated master nodes in the cluster. This number must be greater than 1, otherwise you receive a validation exception.
clusterConfig_dedicatedMasterEnabled :: Lens' ClusterConfig (Maybe Bool) Source #
Indicates whether dedicated master nodes are enabled for the
cluster.True
if the cluster will use a dedicated master node.False
if the cluster will not.
clusterConfig_dedicatedMasterType :: Lens' ClusterConfig (Maybe OpenSearchPartitionInstanceType) Source #
OpenSearch Service instance type of the dedicated master nodes in the cluster.
clusterConfig_instanceCount :: Lens' ClusterConfig (Maybe Int) Source #
Number of dedicated master nodes in the cluster. This number must be greater than 1, otherwise you receive a validation exception.
clusterConfig_instanceType :: Lens' ClusterConfig (Maybe OpenSearchPartitionInstanceType) Source #
Instance type of data nodes in the cluster.
clusterConfig_warmCount :: Lens' ClusterConfig (Maybe Int) Source #
The number of warm nodes in the cluster.
clusterConfig_warmEnabled :: Lens' ClusterConfig (Maybe Bool) Source #
Whether to enable warm storage for the cluster.
clusterConfig_warmType :: Lens' ClusterConfig (Maybe OpenSearchWarmPartitionInstanceType) Source #
The instance type for the cluster's warm nodes.
clusterConfig_zoneAwarenessConfig :: Lens' ClusterConfig (Maybe ZoneAwarenessConfig) Source #
Container for zone awareness configuration options. Only required if
ZoneAwarenessEnabled
is true
.
clusterConfig_zoneAwarenessEnabled :: Lens' ClusterConfig (Maybe Bool) Source #
Indicates whether multiple Availability Zones are enabled. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service.