Class: Aws::EMR::Types::OnDemandProvisioningSpecification
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMR::Types::OnDemandProvisioningSpecification
- Defined in:
- gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#allocation_strategy ⇒ String
Specifies the strategy to use in launching On-Demand instance fleets.
-
#capacity_reservation_options ⇒ Types::OnDemandCapacityReservationOptions
The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.
Instance Attribute Details
#allocation_strategy ⇒ String
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.
5677 5678 5679 5680 5681 5682 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5677 class OnDemandProvisioningSpecification < Struct.new( :allocation_strategy, :capacity_reservation_options) SENSITIVE = [] include Aws::Structure end |
#capacity_reservation_options ⇒ Types::OnDemandCapacityReservationOptions
The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.
5677 5678 5679 5680 5681 5682 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5677 class OnDemandProvisioningSpecification < Struct.new( :allocation_strategy, :capacity_reservation_options) SENSITIVE = [] include Aws::Structure end |