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

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

Overview

Note:

When making an API call, you may pass OnDemandProvisioningSpecification data as a hash:

{
  allocation_strategy: "lowest-price", # required, accepts lowest-price
  capacity_reservation_options: {
    usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
    capacity_reservation_preference: "open", # accepts open, none
    capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
  },
}

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.

Constant Summary collapse

SENSITIVE =
[]

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.

Returns:

  • (String)


5638
5639
5640
5641
5642
5643
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5638

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.



5638
5639
5640
5641
5642
5643
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5638

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