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

Description

 
Synopsis

Documentation

data InstanceTypeSpecification Source #

The configuration specification for each instance type in an instance fleet.

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

See: newInstanceTypeSpecification smart constructor.

Constructors

InstanceTypeSpecification' 

Fields

  • bidPrice :: Maybe Text

    The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD.

  • weightedCapacity :: Maybe Natural

    The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. Capacity values represent performance characteristics such as vCPUs, memory, or I/O. If not specified, the default value is 1.

  • configurations :: Maybe [Configuration]

    A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.

  • customAmiId :: Maybe Text

    The custom AMI ID to use for the instance type.

  • ebsBlockDevices :: Maybe [EbsBlockDevice]

    The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined by InstanceType.

  • instanceType :: Maybe Text

    The EC2 instance type, for example m3.xlarge.

  • ebsOptimized :: Maybe Bool

    Evaluates to TRUE when the specified InstanceType is EBS-optimized.

  • bidPriceAsPercentageOfOnDemandPrice :: Maybe Double

    The bid price, as a percentage of On-Demand price, for each EC2 Spot Instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%).

Instances

Instances details
Eq InstanceTypeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceTypeSpecification

Read InstanceTypeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceTypeSpecification

Show InstanceTypeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceTypeSpecification

Generic InstanceTypeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceTypeSpecification

Associated Types

type Rep InstanceTypeSpecification :: Type -> Type #

NFData InstanceTypeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceTypeSpecification

Hashable InstanceTypeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceTypeSpecification

FromJSON InstanceTypeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceTypeSpecification

type Rep InstanceTypeSpecification Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceTypeSpecification

type Rep InstanceTypeSpecification = D1 ('MetaData "InstanceTypeSpecification" "Amazonka.EMR.Types.InstanceTypeSpecification" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "InstanceTypeSpecification'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "bidPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "weightedCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "configurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Configuration])) :*: S1 ('MetaSel ('Just "customAmiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "ebsBlockDevices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EbsBlockDevice])) :*: S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "ebsOptimized") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "bidPriceAsPercentageOfOnDemandPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))))

newInstanceTypeSpecification :: InstanceTypeSpecification Source #

Create a value of InstanceTypeSpecification 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:bidPrice:InstanceTypeSpecification', instanceTypeSpecification_bidPrice - The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD.

$sel:weightedCapacity:InstanceTypeSpecification', instanceTypeSpecification_weightedCapacity - The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. Capacity values represent performance characteristics such as vCPUs, memory, or I/O. If not specified, the default value is 1.

$sel:configurations:InstanceTypeSpecification', instanceTypeSpecification_configurations - A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.

$sel:customAmiId:InstanceTypeSpecification', instanceTypeSpecification_customAmiId - The custom AMI ID to use for the instance type.

$sel:ebsBlockDevices:InstanceTypeSpecification', instanceTypeSpecification_ebsBlockDevices - The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined by InstanceType.

$sel:instanceType:InstanceTypeSpecification', instanceTypeSpecification_instanceType - The EC2 instance type, for example m3.xlarge.

$sel:ebsOptimized:InstanceTypeSpecification', instanceTypeSpecification_ebsOptimized - Evaluates to TRUE when the specified InstanceType is EBS-optimized.

$sel:bidPriceAsPercentageOfOnDemandPrice:InstanceTypeSpecification', instanceTypeSpecification_bidPriceAsPercentageOfOnDemandPrice - The bid price, as a percentage of On-Demand price, for each EC2 Spot Instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%).

instanceTypeSpecification_bidPrice :: Lens' InstanceTypeSpecification (Maybe Text) Source #

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD.

instanceTypeSpecification_weightedCapacity :: Lens' InstanceTypeSpecification (Maybe Natural) Source #

The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. Capacity values represent performance characteristics such as vCPUs, memory, or I/O. If not specified, the default value is 1.

instanceTypeSpecification_configurations :: Lens' InstanceTypeSpecification (Maybe [Configuration]) Source #

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.

instanceTypeSpecification_customAmiId :: Lens' InstanceTypeSpecification (Maybe Text) Source #

The custom AMI ID to use for the instance type.

instanceTypeSpecification_ebsBlockDevices :: Lens' InstanceTypeSpecification (Maybe [EbsBlockDevice]) Source #

The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined by InstanceType.

instanceTypeSpecification_instanceType :: Lens' InstanceTypeSpecification (Maybe Text) Source #

The EC2 instance type, for example m3.xlarge.

instanceTypeSpecification_ebsOptimized :: Lens' InstanceTypeSpecification (Maybe Bool) Source #

Evaluates to TRUE when the specified InstanceType is EBS-optimized.

instanceTypeSpecification_bidPriceAsPercentageOfOnDemandPrice :: Lens' InstanceTypeSpecification (Maybe Double) Source #

The bid price, as a percentage of On-Demand price, for each EC2 Spot Instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%).