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

Class: Aws::EMR::Types::InstanceGroup

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb

Overview

This entity represents an instance group, which is a group of instances that have common purpose. For example, CORE instance group is used for HDFS.

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_policyTypes::AutoScalingPolicyDescription

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.



2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2199

class InstanceGroup < Struct.new(
  :id,
  :name,
  :market,
  :instance_group_type,
  :bid_price,
  :instance_type,
  :requested_instance_count,
  :running_instance_count,
  :status,
  :configurations,
  :ebs_block_devices,
  :ebs_optimized,
  :shrink_policy,
  :auto_scaling_policy)
  include Aws::Structure
end

#bid_priceString

The bid price for each EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.

Returns:

  • (String)


2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2199

class InstanceGroup < Struct.new(
  :id,
  :name,
  :market,
  :instance_group_type,
  :bid_price,
  :instance_type,
  :requested_instance_count,
  :running_instance_count,
  :status,
  :configurations,
  :ebs_block_devices,
  :ebs_optimized,
  :shrink_policy,
  :auto_scaling_policy)
  include Aws::Structure
end

#configurationsArray<Types::Configuration>

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Returns:



2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2199

class InstanceGroup < Struct.new(
  :id,
  :name,
  :market,
  :instance_group_type,
  :bid_price,
  :instance_type,
  :requested_instance_count,
  :running_instance_count,
  :status,
  :configurations,
  :ebs_block_devices,
  :ebs_optimized,
  :shrink_policy,
  :auto_scaling_policy)
  include Aws::Structure
end

#ebs_block_devicesArray<Types::EbsBlockDevice>

The EBS block devices that are mapped to this instance group.

Returns:



2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2199

class InstanceGroup < Struct.new(
  :id,
  :name,
  :market,
  :instance_group_type,
  :bid_price,
  :instance_type,
  :requested_instance_count,
  :running_instance_count,
  :status,
  :configurations,
  :ebs_block_devices,
  :ebs_optimized,
  :shrink_policy,
  :auto_scaling_policy)
  include Aws::Structure
end

#ebs_optimizedBoolean

If the instance group is EBS-optimized. An Amazon EBS-optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O.

Returns:

  • (Boolean)


2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2199

class InstanceGroup < Struct.new(
  :id,
  :name,
  :market,
  :instance_group_type,
  :bid_price,
  :instance_type,
  :requested_instance_count,
  :running_instance_count,
  :status,
  :configurations,
  :ebs_block_devices,
  :ebs_optimized,
  :shrink_policy,
  :auto_scaling_policy)
  include Aws::Structure
end

#idString

The identifier of the instance group.

Returns:

  • (String)


2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2199

class InstanceGroup < Struct.new(
  :id,
  :name,
  :market,
  :instance_group_type,
  :bid_price,
  :instance_type,
  :requested_instance_count,
  :running_instance_count,
  :status,
  :configurations,
  :ebs_block_devices,
  :ebs_optimized,
  :shrink_policy,
  :auto_scaling_policy)
  include Aws::Structure
end

#instance_group_typeString

The type of the instance group. Valid values are MASTER, CORE or TASK.

Returns:

  • (String)


2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2199

class InstanceGroup < Struct.new(
  :id,
  :name,
  :market,
  :instance_group_type,
  :bid_price,
  :instance_type,
  :requested_instance_count,
  :running_instance_count,
  :status,
  :configurations,
  :ebs_block_devices,
  :ebs_optimized,
  :shrink_policy,
  :auto_scaling_policy)
  include Aws::Structure
end

#instance_typeString

The EC2 instance type for all instances in the instance group.

Returns:

  • (String)


2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2199

class InstanceGroup < Struct.new(
  :id,
  :name,
  :market,
  :instance_group_type,
  :bid_price,
  :instance_type,
  :requested_instance_count,
  :running_instance_count,
  :status,
  :configurations,
  :ebs_block_devices,
  :ebs_optimized,
  :shrink_policy,
  :auto_scaling_policy)
  include Aws::Structure
end

#marketString

The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.

Returns:

  • (String)


2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2199

class InstanceGroup < Struct.new(
  :id,
  :name,
  :market,
  :instance_group_type,
  :bid_price,
  :instance_type,
  :requested_instance_count,
  :running_instance_count,
  :status,
  :configurations,
  :ebs_block_devices,
  :ebs_optimized,
  :shrink_policy,
  :auto_scaling_policy)
  include Aws::Structure
end

#nameString

The name of the instance group.

Returns:

  • (String)


2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2199

class InstanceGroup < Struct.new(
  :id,
  :name,
  :market,
  :instance_group_type,
  :bid_price,
  :instance_type,
  :requested_instance_count,
  :running_instance_count,
  :status,
  :configurations,
  :ebs_block_devices,
  :ebs_optimized,
  :shrink_policy,
  :auto_scaling_policy)
  include Aws::Structure
end

#requested_instance_countInteger

The target number of instances for the instance group.

Returns:

  • (Integer)


2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2199

class InstanceGroup < Struct.new(
  :id,
  :name,
  :market,
  :instance_group_type,
  :bid_price,
  :instance_type,
  :requested_instance_count,
  :running_instance_count,
  :status,
  :configurations,
  :ebs_block_devices,
  :ebs_optimized,
  :shrink_policy,
  :auto_scaling_policy)
  include Aws::Structure
end

#running_instance_countInteger

The number of instances currently running in this instance group.

Returns:

  • (Integer)


2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2199

class InstanceGroup < Struct.new(
  :id,
  :name,
  :market,
  :instance_group_type,
  :bid_price,
  :instance_type,
  :requested_instance_count,
  :running_instance_count,
  :status,
  :configurations,
  :ebs_block_devices,
  :ebs_optimized,
  :shrink_policy,
  :auto_scaling_policy)
  include Aws::Structure
end

#shrink_policyTypes::ShrinkPolicy

Policy for customizing shrink operations.

Returns:



2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2199

class InstanceGroup < Struct.new(
  :id,
  :name,
  :market,
  :instance_group_type,
  :bid_price,
  :instance_type,
  :requested_instance_count,
  :running_instance_count,
  :status,
  :configurations,
  :ebs_block_devices,
  :ebs_optimized,
  :shrink_policy,
  :auto_scaling_policy)
  include Aws::Structure
end

#statusTypes::InstanceGroupStatus

The current status of the instance group.



2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2199

class InstanceGroup < Struct.new(
  :id,
  :name,
  :market,
  :instance_group_type,
  :bid_price,
  :instance_type,
  :requested_instance_count,
  :running_instance_count,
  :status,
  :configurations,
  :ebs_block_devices,
  :ebs_optimized,
  :shrink_policy,
  :auto_scaling_policy)
  include Aws::Structure
end