libZSservicesZSamazonka-opensearchZSamazonka-opensearch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.OpenSearch.Types.ClusterConfig

Description

 
Synopsis

Documentation

data ClusterConfig Source #

The configuration for the domain cluster, such as the type and number of instances.

See: newClusterConfig smart constructor.

Constructors

ClusterConfig' 

Fields

Instances

Instances details
Eq ClusterConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ClusterConfig

Read ClusterConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ClusterConfig

Show ClusterConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ClusterConfig

Generic ClusterConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ClusterConfig

Associated Types

type Rep ClusterConfig :: Type -> Type #

NFData ClusterConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ClusterConfig

Methods

rnf :: ClusterConfig -> () #

Hashable ClusterConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ClusterConfig

ToJSON ClusterConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ClusterConfig

FromJSON ClusterConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ClusterConfig

type Rep ClusterConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ClusterConfig

type Rep ClusterConfig = D1 ('MetaData "ClusterConfig" "Amazonka.OpenSearch.Types.ClusterConfig" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "ClusterConfig'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "dedicatedMasterCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "dedicatedMasterType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OpenSearchPartitionInstanceType))) :*: (S1 ('MetaSel ('Just "dedicatedMasterEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "instanceCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "coldStorageOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ColdStorageOptions))))) :*: ((S1 ('MetaSel ('Just "zoneAwarenessEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OpenSearchPartitionInstanceType)) :*: S1 ('MetaSel ('Just "warmEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "zoneAwarenessConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ZoneAwarenessConfig)) :*: (S1 ('MetaSel ('Just "warmCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "warmType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OpenSearchWarmPartitionInstanceType)))))))

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:dedicatedMasterCount:ClusterConfig', clusterConfig_dedicatedMasterCount - Total number of dedicated master nodes, active and on standby, for the cluster.

$sel:dedicatedMasterType:ClusterConfig', clusterConfig_dedicatedMasterType - The instance type for a dedicated master node.

$sel:dedicatedMasterEnabled:ClusterConfig', clusterConfig_dedicatedMasterEnabled - A boolean value to indicate whether a dedicated master node is enabled. See Dedicated master nodes in Amazon OpenSearch Service for more information.

$sel:instanceCount:ClusterConfig', clusterConfig_instanceCount - The number of instances in the specified domain cluster.

$sel:coldStorageOptions:ClusterConfig', clusterConfig_coldStorageOptions - Specifies the ColdStorageOptions config for a Domain

$sel:zoneAwarenessEnabled:ClusterConfig', clusterConfig_zoneAwarenessEnabled - A boolean value to indicate whether zone awareness is enabled. See Configuring a multi-AZ domain in Amazon OpenSearch Service for more information.

$sel:instanceType:ClusterConfig', clusterConfig_instanceType - The instance type for an OpenSearch cluster. UltraWarm instance types are not supported for data instances.

$sel:warmEnabled:ClusterConfig', clusterConfig_warmEnabled - True to enable UltraWarm storage.

$sel:zoneAwarenessConfig:ClusterConfig', clusterConfig_zoneAwarenessConfig - The zone awareness configuration for a domain when zone awareness is enabled.

$sel:warmCount:ClusterConfig', clusterConfig_warmCount - The number of UltraWarm nodes in the cluster.

$sel:warmType:ClusterConfig', clusterConfig_warmType - The instance type for the OpenSearch cluster's warm nodes.

clusterConfig_dedicatedMasterCount :: Lens' ClusterConfig (Maybe Int) Source #

Total number of dedicated master nodes, active and on standby, for the cluster.

clusterConfig_dedicatedMasterEnabled :: Lens' ClusterConfig (Maybe Bool) Source #

A boolean value to indicate whether a dedicated master node is enabled. See Dedicated master nodes in Amazon OpenSearch Service for more information.

clusterConfig_instanceCount :: Lens' ClusterConfig (Maybe Int) Source #

The number of instances in the specified domain cluster.

clusterConfig_coldStorageOptions :: Lens' ClusterConfig (Maybe ColdStorageOptions) Source #

Specifies the ColdStorageOptions config for a Domain

clusterConfig_zoneAwarenessEnabled :: Lens' ClusterConfig (Maybe Bool) Source #

A boolean value to indicate whether zone awareness is enabled. See Configuring a multi-AZ domain in Amazon OpenSearch Service for more information.

clusterConfig_instanceType :: Lens' ClusterConfig (Maybe OpenSearchPartitionInstanceType) Source #

The instance type for an OpenSearch cluster. UltraWarm instance types are not supported for data instances.

clusterConfig_warmEnabled :: Lens' ClusterConfig (Maybe Bool) Source #

True to enable UltraWarm storage.

clusterConfig_zoneAwarenessConfig :: Lens' ClusterConfig (Maybe ZoneAwarenessConfig) Source #

The zone awareness configuration for a domain when zone awareness is enabled.

clusterConfig_warmCount :: Lens' ClusterConfig (Maybe Int) Source #

The number of UltraWarm nodes in the cluster.

clusterConfig_warmType :: Lens' ClusterConfig (Maybe OpenSearchWarmPartitionInstanceType) Source #

The instance type for the OpenSearch cluster's warm nodes.