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

Class: Aws::EC2::Types::Instance

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

Overview

Describes an instance.

Instance Attribute Summary collapse

Instance Attribute Details

#ami_launch_indexInteger

The AMI launch index, which can be used to find this instance in the launch group.

Returns:

  • (Integer)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#architectureString

The architecture of the image.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#block_device_mappingsArray<Types::InstanceBlockDeviceMapping>

Any block device mapping entries for the instance.



14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#client_tokenString

The idempotency token you provided when you launched the instance, if applicable.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#ebs_optimizedBoolean

Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Returns:

  • (Boolean)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#elastic_gpu_associationsArray<Types::ElasticGpuAssociation>

The Elastic GPU associated with the instance.

Returns:



14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#ena_supportBoolean

Specifies whether enhanced networking with ENA is enabled.

Returns:

  • (Boolean)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#hypervisorString

The hypervisor type of the instance.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#iam_instance_profileTypes::IamInstanceProfile

The IAM instance profile associated with the instance, if applicable.



14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#image_idString

The ID of the AMI used to launch the instance.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#instance_lifecycleString

Indicates whether this is a Spot instance or a Scheduled Instance.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#instance_typeString

The instance type.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#kernel_idString

The kernel associated with this instance, if applicable.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#key_nameString

The name of the key pair, if this instance was launched with an associated key pair.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#launch_timeTime

The time the instance was launched.

Returns:

  • (Time)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#monitoringTypes::Monitoring

The monitoring for the instance.

Returns:



14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#network_interfacesArray<Types::InstanceNetworkInterface>

[EC2-VPC] One or more network interfaces for the instance.



14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#placementTypes::Placement

The location where the instance launched, if applicable.

Returns:



14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#platformString

The value is Windows for Windows instances; otherwise blank.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#private_dns_nameString

(IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

[EC2-VPC] The Amazon-provided DNS server will resolve Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#private_ip_addressString

The private IPv4 address assigned to the instance.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#product_codesArray<Types::ProductCode>

The product codes attached to this instance, if applicable.

Returns:



14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#public_dns_nameString

(IPv4 only) The public DNS name assigned to the instance. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you've enabled DNS hostnames for your VPC.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#public_ip_addressString

The public IPv4 address assigned to the instance, if applicable.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#ramdisk_idString

The RAM disk associated with this instance, if applicable.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#root_device_nameString

The root device name (for example, /dev/sda1 or /dev/xvda).

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#root_device_typeString

The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#security_groupsArray<Types::GroupIdentifier>

One or more security groups for the instance.

Returns:



14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#source_dest_checkBoolean

Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Returns:

  • (Boolean)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#spot_instance_request_idString

If the request is a Spot instance request, the ID of the request.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#sriov_net_supportString

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#stateTypes::InstanceState

The current state of the instance.



14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#state_reasonTypes::StateReason

The reason for the most recent state transition.

Returns:



14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#state_transition_reasonString

The reason for the most recent state transition. This might be an empty string.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#subnet_idString

[EC2-VPC] The ID of the subnet in which the instance is running.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Any tags assigned to the instance.

Returns:



14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#virtualization_typeString

The virtualization type of the instance.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#vpc_idString

[EC2-VPC] The ID of the VPC in which the instance is running.

Returns:

  • (String)


14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14835

class Instance < Struct.new(
  :ami_launch_index,
  :image_id,
  :instance_id,
  :instance_type,
  :kernel_id,
  :key_name,
  :launch_time,
  :monitoring,
  :placement,
  :platform,
  :private_dns_name,
  :private_ip_address,
  :product_codes,
  :public_dns_name,
  :public_ip_address,
  :ramdisk_id,
  :state,
  :state_transition_reason,
  :subnet_id,
  :vpc_id,
  :architecture,
  :block_device_mappings,
  :client_token,
  :ebs_optimized,
  :ena_support,
  :hypervisor,
  :iam_instance_profile,
  :instance_lifecycle,
  :elastic_gpu_associations,
  :network_interfaces,
  :root_device_name,
  :root_device_type,
  :security_groups,
  :source_dest_check,
  :spot_instance_request_id,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end