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

Class: Aws::EMR::Types::InstanceFleetModifyConfig

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 InstanceFleetModifyConfig data as a hash:

{
  instance_fleet_id: "InstanceFleetId", # required
  target_on_demand_capacity: 1,
  target_spot_capacity: 1,
}

Configuration parameters for an instance fleet modification request.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

Instance Attribute Summary collapse

Instance Attribute Details

#instance_fleet_idString

A unique identifier for the instance fleet.

Returns:

  • (String)


2135
2136
2137
2138
2139
2140
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2135

class InstanceFleetModifyConfig < Struct.new(
  :instance_fleet_id,
  :target_on_demand_capacity,
  :target_spot_capacity)
  include Aws::Structure
end

#target_on_demand_capacityInteger

The target capacity of On-Demand units for the instance fleet. For more information see InstanceFleetConfig$TargetOnDemandCapacity.

Returns:

  • (Integer)


2135
2136
2137
2138
2139
2140
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2135

class InstanceFleetModifyConfig < Struct.new(
  :instance_fleet_id,
  :target_on_demand_capacity,
  :target_spot_capacity)
  include Aws::Structure
end

#target_spot_capacityInteger

The target capacity of Spot units for the instance fleet. For more information, see InstanceFleetConfig$TargetSpotCapacity.

Returns:

  • (Integer)


2135
2136
2137
2138
2139
2140
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2135

class InstanceFleetModifyConfig < Struct.new(
  :instance_fleet_id,
  :target_on_demand_capacity,
  :target_spot_capacity)
  include Aws::Structure
end