Class AWS::EMR::InstanceGroupCollection
In: lib/aws/emr/instance_group_collection.rb
Parent: Object

Methods

[]   _each_item   add   create   new  

Included Modules

Core::Collection::Simple

Attributes

job_flow  [R]  @return [JobFlow]

Public Class methods

@param [JobFlow] job_flow @api private

Public Instance methods

@param [String] instance_group_id @return [InstanceGroup] Returns an instance group with the given ID.

add(role, instance_type, instance_count, options = {})

Alias for create

Adds an instance group to the job flow. @param [String] role The role of the instance group in the cluster. @param [String] instance_type The Amazon EC2 instance type to use. @param [Integer] instance_count Target size of instances for the group. @param [Hash] options @option options [String] :name Friendly name given to the group. @option options [String] :market Market type of the Amazon EC2

  instances used to create a cluster node.

@option opitons [Float,String] :bid_price Bid price for each Amazon

  EC2 instance in the instance group when launching nodes as
  spot instances, expressed in USD.

@return [InstanceGroup]

Protected Instance methods

[Validate]