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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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.



16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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:



16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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.



16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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:



16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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.



16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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:



16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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:



16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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 device name of the root device volume (for example, /dev/sda1).

Returns:

  • (String)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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:



16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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 that checking is enabled, and false means that 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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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.



16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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:



16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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:



16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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)


16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16888

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