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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#ec2_key_name ⇒ String

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

Returns:

  • (String) —

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

#ec2_subnet_id ⇒ String

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

Returns:

  • (String) —

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

#hadoop_version ⇒ String

The Hadoop version for the cluster.

Returns:

  • (String) —

    The Hadoop version for the cluster.

#instance_count ⇒ Integer

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

Returns:

  • (Integer) —

    The number of Amazon EC2 instances in the cluster.

#instance_groups ⇒ Array<Types::InstanceGroupDetail>

Details about the instance groups in a cluster.

Returns:

#keep_job_flow_alive_when_no_steps ⇒ Boolean

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

Returns:

  • (Boolean) —

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

#master_instance_id ⇒ String

The Amazon EC2 instance identifier of the master node.

Returns:

  • (String) —

    The Amazon EC2 instance identifier of the master node.

#master_instance_type ⇒ String

The Amazon EC2 master node instance type.

Returns:

  • (String) —

    The Amazon EC2 master node instance type.

#master_public_dns_name ⇒ String

The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.

Returns:

  • (String) —

    The DNS name of the master node.

#normalized_instance_hours ⇒ Integer

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) —

    An approximation of the cost of the cluster, represented in m1.small/hours.

#placement ⇒ Types::PlacementType

The Amazon EC2 Availability Zone for the cluster.

Returns:

#slave_instance_type ⇒ String

The Amazon EC2 core and task node instance type.

Returns:

  • (String) —

    The Amazon EC2 core and task node instance type.

#termination_protected ⇒ Boolean

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) —

    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.