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

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 InstanceFleetProvisioningSpecifications data as a 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.

Constant Summary collapse

SENSITIVE =
[]

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.



2794
2795
2796
2797
2798
2799
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2794

class InstanceFleetProvisioningSpecifications < Struct.new(
  :spot_specification,
  :on_demand_specification)
  SENSITIVE = []
  include Aws::Structure
end

#spot_specificationTypes::SpotProvisioningSpecification

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



2794
2795
2796
2797
2798
2799
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2794

class InstanceFleetProvisioningSpecifications < Struct.new(
  :spot_specification,
  :on_demand_specification)
  SENSITIVE = []
  include Aws::Structure
end