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

Class: Aws::EMR::Types::Instance

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

Overview

Represents an EC2 instance provisioned as part of cluster.

Instance Attribute Summary collapse

Instance Attribute Details

#ebs_volumesArray<Types::EbsVolume>

The list of EBS volumes that are attached to this instance.

Returns:



1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1660

class Instance < Struct.new(
  :id,
  :ec2_instance_id,
  :public_dns_name,
  :public_ip_address,
  :private_dns_name,
  :private_ip_address,
  :status,
  :instance_group_id,
  :instance_fleet_id,
  :market,
  :instance_type,
  :ebs_volumes)
  include Aws::Structure
end

#ec2_instance_idString

The unique identifier of the instance in Amazon EC2.

Returns:

  • (String)


1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1660

class Instance < Struct.new(
  :id,
  :ec2_instance_id,
  :public_dns_name,
  :public_ip_address,
  :private_dns_name,
  :private_ip_address,
  :status,
  :instance_group_id,
  :instance_fleet_id,
  :market,
  :instance_type,
  :ebs_volumes)
  include Aws::Structure
end

#idString

The unique identifier for the instance in Amazon EMR.

Returns:

  • (String)


1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1660

class Instance < Struct.new(
  :id,
  :ec2_instance_id,
  :public_dns_name,
  :public_ip_address,
  :private_dns_name,
  :private_ip_address,
  :status,
  :instance_group_id,
  :instance_fleet_id,
  :market,
  :instance_type,
  :ebs_volumes)
  include Aws::Structure
end

#instance_fleet_idString

The unique identifier of the instance fleet to which an EC2 instance belongs.

Returns:

  • (String)


1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1660

class Instance < Struct.new(
  :id,
  :ec2_instance_id,
  :public_dns_name,
  :public_ip_address,
  :private_dns_name,
  :private_ip_address,
  :status,
  :instance_group_id,
  :instance_fleet_id,
  :market,
  :instance_type,
  :ebs_volumes)
  include Aws::Structure
end

#instance_group_idString

The identifier of the instance group to which this instance belongs.

Returns:

  • (String)


1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1660

class Instance < Struct.new(
  :id,
  :ec2_instance_id,
  :public_dns_name,
  :public_ip_address,
  :private_dns_name,
  :private_ip_address,
  :status,
  :instance_group_id,
  :instance_fleet_id,
  :market,
  :instance_type,
  :ebs_volumes)
  include Aws::Structure
end

#instance_typeString

The EC2 instance type, for example m3.xlarge.

Returns:

  • (String)


1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1660

class Instance < Struct.new(
  :id,
  :ec2_instance_id,
  :public_dns_name,
  :public_ip_address,
  :private_dns_name,
  :private_ip_address,
  :status,
  :instance_group_id,
  :instance_fleet_id,
  :market,
  :instance_type,
  :ebs_volumes)
  include Aws::Structure
end

#marketString

The instance purchasing option. Valid values are ON_DEMAND or SPOT.

Returns:

  • (String)


1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1660

class Instance < Struct.new(
  :id,
  :ec2_instance_id,
  :public_dns_name,
  :public_ip_address,
  :private_dns_name,
  :private_ip_address,
  :status,
  :instance_group_id,
  :instance_fleet_id,
  :market,
  :instance_type,
  :ebs_volumes)
  include Aws::Structure
end

#private_dns_nameString

The private DNS name of the instance.

Returns:

  • (String)


1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1660

class Instance < Struct.new(
  :id,
  :ec2_instance_id,
  :public_dns_name,
  :public_ip_address,
  :private_dns_name,
  :private_ip_address,
  :status,
  :instance_group_id,
  :instance_fleet_id,
  :market,
  :instance_type,
  :ebs_volumes)
  include Aws::Structure
end

#private_ip_addressString

The private IP address of the instance.

Returns:

  • (String)


1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1660

class Instance < Struct.new(
  :id,
  :ec2_instance_id,
  :public_dns_name,
  :public_ip_address,
  :private_dns_name,
  :private_ip_address,
  :status,
  :instance_group_id,
  :instance_fleet_id,
  :market,
  :instance_type,
  :ebs_volumes)
  include Aws::Structure
end

#public_dns_nameString

The public DNS name of the instance.

Returns:

  • (String)


1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1660

class Instance < Struct.new(
  :id,
  :ec2_instance_id,
  :public_dns_name,
  :public_ip_address,
  :private_dns_name,
  :private_ip_address,
  :status,
  :instance_group_id,
  :instance_fleet_id,
  :market,
  :instance_type,
  :ebs_volumes)
  include Aws::Structure
end

#public_ip_addressString

The public IP address of the instance.

Returns:

  • (String)


1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1660

class Instance < Struct.new(
  :id,
  :ec2_instance_id,
  :public_dns_name,
  :public_ip_address,
  :private_dns_name,
  :private_ip_address,
  :status,
  :instance_group_id,
  :instance_fleet_id,
  :market,
  :instance_type,
  :ebs_volumes)
  include Aws::Structure
end

#statusTypes::InstanceStatus

The current status of the instance.



1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1660

class Instance < Struct.new(
  :id,
  :ec2_instance_id,
  :public_dns_name,
  :public_ip_address,
  :private_dns_name,
  :private_ip_address,
  :status,
  :instance_group_id,
  :instance_fleet_id,
  :market,
  :instance_type,
  :ebs_volumes)
  include Aws::Structure
end