amazonka-emr-2.0: Amazon EMR 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.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

  • 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.

  • 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.

Instances

Instances details
ToJSON 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 #

Read PlacementType Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementType

Show PlacementType Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementType

NFData PlacementType Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementType

Methods

rnf :: PlacementType -> () #

Eq PlacementType Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementType

Hashable 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" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "PlacementType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "availabilityZones") '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: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.

$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.

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.

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.