amazonka-opensearch-2.0: Amazon OpenSearch Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.OpenSearch.Types.ZoneAwarenessConfig

Description

 
Synopsis

Documentation

data ZoneAwarenessConfig Source #

The zone awareness configuration for an Amazon OpenSearch Service domain.

See: newZoneAwarenessConfig smart constructor.

Constructors

ZoneAwarenessConfig' 

Fields

  • availabilityZoneCount :: Maybe Int

    If you enabled multiple Availability Zones, this value is the number of zones that you want the domain to use. Valid values are 2 and 3. If your domain is provisioned within a VPC, this value be equal to number of subnets.

Instances

Instances details
FromJSON ZoneAwarenessConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ZoneAwarenessConfig

ToJSON ZoneAwarenessConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ZoneAwarenessConfig

Generic ZoneAwarenessConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ZoneAwarenessConfig

Associated Types

type Rep ZoneAwarenessConfig :: Type -> Type #

Read ZoneAwarenessConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ZoneAwarenessConfig

Show ZoneAwarenessConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ZoneAwarenessConfig

NFData ZoneAwarenessConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ZoneAwarenessConfig

Methods

rnf :: ZoneAwarenessConfig -> () #

Eq ZoneAwarenessConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ZoneAwarenessConfig

Hashable ZoneAwarenessConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ZoneAwarenessConfig

type Rep ZoneAwarenessConfig Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ZoneAwarenessConfig

type Rep ZoneAwarenessConfig = D1 ('MetaData "ZoneAwarenessConfig" "Amazonka.OpenSearch.Types.ZoneAwarenessConfig" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "ZoneAwarenessConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "availabilityZoneCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newZoneAwarenessConfig :: ZoneAwarenessConfig Source #

Create a value of ZoneAwarenessConfig 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:availabilityZoneCount:ZoneAwarenessConfig', zoneAwarenessConfig_availabilityZoneCount - If you enabled multiple Availability Zones, this value is the number of zones that you want the domain to use. Valid values are 2 and 3. If your domain is provisioned within a VPC, this value be equal to number of subnets.

zoneAwarenessConfig_availabilityZoneCount :: Lens' ZoneAwarenessConfig (Maybe Int) Source #

If you enabled multiple Availability Zones, this value is the number of zones that you want the domain to use. Valid values are 2 and 3. If your domain is provisioned within a VPC, this value be equal to number of subnets.