Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data InstanceTypeSpecification = InstanceTypeSpecification' {}
- newInstanceTypeSpecification :: InstanceTypeSpecification
- instanceTypeSpecification_bidPrice :: Lens' InstanceTypeSpecification (Maybe Text)
- instanceTypeSpecification_weightedCapacity :: Lens' InstanceTypeSpecification (Maybe Natural)
- instanceTypeSpecification_configurations :: Lens' InstanceTypeSpecification (Maybe [Configuration])
- instanceTypeSpecification_customAmiId :: Lens' InstanceTypeSpecification (Maybe Text)
- instanceTypeSpecification_ebsBlockDevices :: Lens' InstanceTypeSpecification (Maybe [EbsBlockDevice])
- instanceTypeSpecification_instanceType :: Lens' InstanceTypeSpecification (Maybe Text)
- instanceTypeSpecification_ebsOptimized :: Lens' InstanceTypeSpecification (Maybe Bool)
- instanceTypeSpecification_bidPriceAsPercentageOfOnDemandPrice :: Lens' InstanceTypeSpecification (Maybe Double)
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.
InstanceTypeSpecification' | |
|
Instances
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%).