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

Class: Aws::EMR::Types::OnDemandProvisioningSpecification

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

Overview

Note:

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

{
  allocation_strategy: "lowest-price", # required, accepts lowest-price
}

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#allocation_strategyString

Specifies the strategy to use in launching On-Demand instance fleets. Currently, the only option is lowest-price (the default), which launches the lowest price first.

Possible values:

  • lowest-price

Returns:

  • (String)

    Specifies the strategy to use in launching On-Demand instance fleets.