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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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.



15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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:



15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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.



15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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:



15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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.



15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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:



15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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:



15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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:



15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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.



15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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:



15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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:



15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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)


15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15100

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