You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EMR::Types::InstanceFleetProvisioningSpecifications

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing InstanceFleetProvisioningSpecifications as input to an Aws::Client method, you can use a vanilla Hash:

{
  spot_specification: {
    timeout_duration_minutes: 1, # required
    timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
    block_duration_minutes: 1,
    allocation_strategy: "capacity-optimized", # accepts capacity-optimized
  },
  on_demand_specification: {
    allocation_strategy: "lowest-price", # required, accepts lowest-price
  },
}

The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. On-Demand and Spot instance allocation strategies are available in Amazon EMR version 5.12.1 and later.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#on_demand_specificationTypes::OnDemandProvisioningSpecification

The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. On-Demand instances allocation strategy is available in Amazon EMR version 5.12.1 and later.

Returns:

#spot_specificationTypes::SpotProvisioningSpecification

The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.

Returns:

  • (Types::SpotProvisioningSpecification)

    The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.