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

Class: Aws::EMR::Types::JobFlowInstancesDetail

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

Overview

Specify the type of Amazon EC2 instances that the cluster (job flow) runs on.

Instance Attribute Summary collapse

Instance Attribute Details

#ec2_key_nameString

The name of an Amazon EC2 key pair that can be used to ssh to the master node.

Returns:

  • (String)


3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3259

class JobFlowInstancesDetail < Struct.new(
  :master_instance_type,
  :master_public_dns_name,
  :master_instance_id,
  :slave_instance_type,
  :instance_count,
  :instance_groups,
  :normalized_instance_hours,
  :ec2_key_name,
  :ec2_subnet_id,
  :placement,
  :keep_job_flow_alive_when_no_steps,
  :termination_protected,
  :hadoop_version)
  include Aws::Structure
end

#ec2_subnet_idString

For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where the cluster was launched.

Returns:

  • (String)


3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3259

class JobFlowInstancesDetail < Struct.new(
  :master_instance_type,
  :master_public_dns_name,
  :master_instance_id,
  :slave_instance_type,
  :instance_count,
  :instance_groups,
  :normalized_instance_hours,
  :ec2_key_name,
  :ec2_subnet_id,
  :placement,
  :keep_job_flow_alive_when_no_steps,
  :termination_protected,
  :hadoop_version)
  include Aws::Structure
end

#hadoop_versionString

The Hadoop version for the cluster.

Returns:

  • (String)


3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3259

class JobFlowInstancesDetail < Struct.new(
  :master_instance_type,
  :master_public_dns_name,
  :master_instance_id,
  :slave_instance_type,
  :instance_count,
  :instance_groups,
  :normalized_instance_hours,
  :ec2_key_name,
  :ec2_subnet_id,
  :placement,
  :keep_job_flow_alive_when_no_steps,
  :termination_protected,
  :hadoop_version)
  include Aws::Structure
end

#instance_countInteger

The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance serves as both the master and slave node. If the value is greater than 1, one instance is the master node and all others are slave nodes.

Returns:

  • (Integer)


3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3259

class JobFlowInstancesDetail < Struct.new(
  :master_instance_type,
  :master_public_dns_name,
  :master_instance_id,
  :slave_instance_type,
  :instance_count,
  :instance_groups,
  :normalized_instance_hours,
  :ec2_key_name,
  :ec2_subnet_id,
  :placement,
  :keep_job_flow_alive_when_no_steps,
  :termination_protected,
  :hadoop_version)
  include Aws::Structure
end

#instance_groupsArray<Types::InstanceGroupDetail>

Details about the instance groups in a cluster.

Returns:



3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3259

class JobFlowInstancesDetail < Struct.new(
  :master_instance_type,
  :master_public_dns_name,
  :master_instance_id,
  :slave_instance_type,
  :instance_count,
  :instance_groups,
  :normalized_instance_hours,
  :ec2_key_name,
  :ec2_subnet_id,
  :placement,
  :keep_job_flow_alive_when_no_steps,
  :termination_protected,
  :hadoop_version)
  include Aws::Structure
end

#keep_job_flow_alive_when_no_stepsBoolean

Specifies whether the cluster should remain available after completing all steps.

Returns:

  • (Boolean)


3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3259

class JobFlowInstancesDetail < Struct.new(
  :master_instance_type,
  :master_public_dns_name,
  :master_instance_id,
  :slave_instance_type,
  :instance_count,
  :instance_groups,
  :normalized_instance_hours,
  :ec2_key_name,
  :ec2_subnet_id,
  :placement,
  :keep_job_flow_alive_when_no_steps,
  :termination_protected,
  :hadoop_version)
  include Aws::Structure
end

#master_instance_idString

The Amazon EC2 instance identifier of the master node.

Returns:

  • (String)


3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3259

class JobFlowInstancesDetail < Struct.new(
  :master_instance_type,
  :master_public_dns_name,
  :master_instance_id,
  :slave_instance_type,
  :instance_count,
  :instance_groups,
  :normalized_instance_hours,
  :ec2_key_name,
  :ec2_subnet_id,
  :placement,
  :keep_job_flow_alive_when_no_steps,
  :termination_protected,
  :hadoop_version)
  include Aws::Structure
end

#master_instance_typeString

The Amazon EC2 master node instance type.

Returns:

  • (String)


3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3259

class JobFlowInstancesDetail < Struct.new(
  :master_instance_type,
  :master_public_dns_name,
  :master_instance_id,
  :slave_instance_type,
  :instance_count,
  :instance_groups,
  :normalized_instance_hours,
  :ec2_key_name,
  :ec2_subnet_id,
  :placement,
  :keep_job_flow_alive_when_no_steps,
  :termination_protected,
  :hadoop_version)
  include Aws::Structure
end

#master_public_dns_nameString

The DNS name of the master node.

Returns:

  • (String)


3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3259

class JobFlowInstancesDetail < Struct.new(
  :master_instance_type,
  :master_public_dns_name,
  :master_instance_id,
  :slave_instance_type,
  :instance_count,
  :instance_groups,
  :normalized_instance_hours,
  :ec2_key_name,
  :ec2_subnet_id,
  :placement,
  :keep_job_flow_alive_when_no_steps,
  :termination_protected,
  :hadoop_version)
  include Aws::Structure
end

#normalized_instance_hoursInteger

An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour that an m1.small runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.

Returns:

  • (Integer)


3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3259

class JobFlowInstancesDetail < Struct.new(
  :master_instance_type,
  :master_public_dns_name,
  :master_instance_id,
  :slave_instance_type,
  :instance_count,
  :instance_groups,
  :normalized_instance_hours,
  :ec2_key_name,
  :ec2_subnet_id,
  :placement,
  :keep_job_flow_alive_when_no_steps,
  :termination_protected,
  :hadoop_version)
  include Aws::Structure
end

#placementTypes::PlacementType

The Amazon EC2 Availability Zone for the cluster.



3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3259

class JobFlowInstancesDetail < Struct.new(
  :master_instance_type,
  :master_public_dns_name,
  :master_instance_id,
  :slave_instance_type,
  :instance_count,
  :instance_groups,
  :normalized_instance_hours,
  :ec2_key_name,
  :ec2_subnet_id,
  :placement,
  :keep_job_flow_alive_when_no_steps,
  :termination_protected,
  :hadoop_version)
  include Aws::Structure
end

#slave_instance_typeString

The Amazon EC2 slave node instance type.

Returns:

  • (String)


3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3259

class JobFlowInstancesDetail < Struct.new(
  :master_instance_type,
  :master_public_dns_name,
  :master_instance_id,
  :slave_instance_type,
  :instance_count,
  :instance_groups,
  :normalized_instance_hours,
  :ec2_key_name,
  :ec2_subnet_id,
  :placement,
  :keep_job_flow_alive_when_no_steps,
  :termination_protected,
  :hadoop_version)
  include Aws::Structure
end

#termination_protectedBoolean

Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

Returns:

  • (Boolean)


3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3259

class JobFlowInstancesDetail < Struct.new(
  :master_instance_type,
  :master_public_dns_name,
  :master_instance_id,
  :slave_instance_type,
  :instance_count,
  :instance_groups,
  :normalized_instance_hours,
  :ec2_key_name,
  :ec2_subnet_id,
  :placement,
  :keep_job_flow_alive_when_no_steps,
  :termination_protected,
  :hadoop_version)
  include Aws::Structure
end