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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#architectureString

The architecture of the image.

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#block_device_mappingsArray<Types::InstanceBlockDeviceMapping>

Any block device mapping entries for the instance.



18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#client_tokenString

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

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#cpu_optionsTypes::CpuOptions

The CPU options for the instance.

Returns:



18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  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)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#elastic_gpu_associationsArray<Types::ElasticGpuAssociation>

The Elastic GPU associated with the instance.

Returns:



18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#ena_supportBoolean

Specifies whether enhanced networking with ENA is enabled.

Returns:

  • (Boolean)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#hypervisorString

The hypervisor type of the instance.

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#iam_instance_profileTypes::IamInstanceProfile

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



18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#image_idString

The ID of the AMI used to launch the instance.

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#instance_lifecycleString

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

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#instance_typeString

The instance type.

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#kernel_idString

The kernel associated with this instance, if applicable.

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#key_nameString

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

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#launch_timeTime

The time the instance was launched.

Returns:

  • (Time)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#monitoringTypes::Monitoring

The monitoring for the instance.

Returns:



18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#network_interfacesArray<Types::InstanceNetworkInterface>

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



18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#placementTypes::Placement

The location where the instance launched, if applicable.

Returns:



18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#platformString

The value is ‘Windows` for Windows instances; otherwise blank.

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  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)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#private_ip_addressString

The private IPv4 address assigned to the instance.

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#product_codesArray<Types::ProductCode>

The product codes attached to this instance, if applicable.

Returns:



18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  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)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#public_ip_addressString

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

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#ramdisk_idString

The RAM disk associated with this instance, if applicable.

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#root_device_nameString

The device name of the root device volume (for example, ‘/dev/sda1`).

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  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)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#security_groupsArray<Types::GroupIdentifier>

One or more security groups for the instance.

Returns:



18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  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*.

[1]: docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html

Returns:

  • (Boolean)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#spot_instance_request_idString

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

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#sriov_net_supportString

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

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#stateTypes::InstanceState

The current state of the instance.



18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#state_reasonTypes::StateReason

The reason for the most recent state transition.

Returns:



18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#state_transition_reasonString

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

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#subnet_idString

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

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Any tags assigned to the instance.

Returns:



18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#virtualization_typeString

The virtualization type of the instance.

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end

#vpc_idString

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

Returns:

  • (String)


18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
# File 'lib/aws-sdk-ec2/types.rb', line 18047

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,
  :cpu_options)
  include Aws::Structure
end