libZSservicesZSamazonka-emrZSamazonka-emr
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.EMR.Types.PlacementType

Description

 
Synopsis

Documentation

data PlacementType Source #

The Amazon EC2 Availability Zone configuration of the cluster (job flow).

See: newPlacementType smart constructor.

Constructors

PlacementType' 

Fields

  • availabilityZones :: Maybe [Text]

    When multiple Availability Zones are specified, Amazon EMR evaluates them and launches instances in the optimal Availability Zone. AvailabilityZones is used for instance fleets, while AvailabilityZone (singular) is used for uniform instance groups.

    The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

  • availabilityZone :: Maybe Text

    The Amazon EC2 Availability Zone for the cluster. AvailabilityZone is used for uniform instance groups, while AvailabilityZones (plural) is used for instance fleets.

Instances

Instances details
Eq PlacementType Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementType

Read PlacementType Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementType

Show PlacementType Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementType

Generic PlacementType Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementType

Associated Types

type Rep PlacementType :: Type -> Type #

NFData PlacementType Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementType

Methods

rnf :: PlacementType -> () #

Hashable PlacementType Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementType

ToJSON PlacementType Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementType

type Rep PlacementType Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementType

type Rep PlacementType = D1 ('MetaData "PlacementType" "Amazonka.EMR.Types.PlacementType" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "PlacementType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "availabilityZones") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newPlacementType :: PlacementType Source #

Create a value of PlacementType 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:availabilityZones:PlacementType', placementType_availabilityZones - When multiple Availability Zones are specified, Amazon EMR evaluates them and launches instances in the optimal Availability Zone. AvailabilityZones is used for instance fleets, while AvailabilityZone (singular) is used for uniform instance groups.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

$sel:availabilityZone:PlacementType', placementType_availabilityZone - The Amazon EC2 Availability Zone for the cluster. AvailabilityZone is used for uniform instance groups, while AvailabilityZones (plural) is used for instance fleets.

placementType_availabilityZones :: Lens' PlacementType (Maybe [Text]) Source #

When multiple Availability Zones are specified, Amazon EMR evaluates them and launches instances in the optimal Availability Zone. AvailabilityZones is used for instance fleets, while AvailabilityZone (singular) is used for uniform instance groups.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

placementType_availabilityZone :: Lens' PlacementType (Maybe Text) Source #

The Amazon EC2 Availability Zone for the cluster. AvailabilityZone is used for uniform instance groups, while AvailabilityZones (plural) is used for instance fleets.