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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_fleet_idString

A unique identifier for the instance fleet.

Returns:

  • (String)


2750
2751
2752
2753
2754
2755
2756
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2750

class InstanceFleetModifyConfig < Struct.new(
  :instance_fleet_id,
  :target_on_demand_capacity,
  :target_spot_capacity)
  SENSITIVE = []
  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)


2750
2751
2752
2753
2754
2755
2756
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2750

class InstanceFleetModifyConfig < Struct.new(
  :instance_fleet_id,
  :target_on_demand_capacity,
  :target_spot_capacity)
  SENSITIVE = []
  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)


2750
2751
2752
2753
2754
2755
2756
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2750

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