Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb

Overview

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 releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allocation_strategyString

Specifies the strategy to use in launching On-Demand instance fleets. Available options are lowest-price and prioritized. lowest-price specifies to launch the instances with the lowest price first, and prioritized specifies that Amazon EMR should launch the instances with the highest priority first. The default is lowest-price.

Returns:

  • (String)

5143
5144
5145
5146
5147
5148
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5143

class OnDemandProvisioningSpecification < Struct.new(
  :allocation_strategy,
  :capacity_reservation_options)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_reservation_optionsTypes::OnDemandCapacityReservationOptions

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


5143
5144
5145
5146
5147
5148
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5143

class OnDemandProvisioningSpecification < Struct.new(
  :allocation_strategy,
  :capacity_reservation_options)
  SENSITIVE = []
  include Aws::Structure
end