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)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#architectureString

The architecture of the image.

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#block_device_mappingsArray<Types::InstanceBlockDeviceMapping>

Any block device mapping entries for the instance.



22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#capacity_reservation_idString

The ID of the Capacity Reservation.

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#capacity_reservation_specificationTypes::CapacityReservationSpecificationResponse

Information about the Capacity Reservation targeting option.



22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#client_tokenString

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

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#cpu_optionsTypes::CpuOptions

The CPU options for the instance.

Returns:



22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  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)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#elastic_gpu_associationsArray<Types::ElasticGpuAssociation>

The Elastic GPU associated with the instance.

Returns:



22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#elastic_inference_accelerator_associationsArray<Types::ElasticInferenceAcceleratorAssociation>

The elastic inference accelerator associated with the instance.



22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#ena_supportBoolean

Specifies whether enhanced networking with ENA is enabled.

Returns:

  • (Boolean)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#hibernation_optionsTypes::HibernationOptions

Indicates whether the instance is enabled for hibernation.



22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#hypervisorString

The hypervisor type of the instance.

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#iam_instance_profileTypes::IamInstanceProfile

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



22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#image_idString

The ID of the AMI used to launch the instance.

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#instance_lifecycleString

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

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#instance_typeString

The instance type.

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#kernel_idString

The kernel associated with this instance, if applicable.

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#key_nameString

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

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#launch_timeTime

The time the instance was launched.

Returns:

  • (Time)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#licensesArray<Types::LicenseConfiguration>

The license configurations.

Returns:



22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#monitoringTypes::Monitoring

The monitoring for the instance.

Returns:



22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#network_interfacesArray<Types::InstanceNetworkInterface>

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



22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#placementTypes::Placement

The location where the instance launched, if applicable.

Returns:



22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#platformString

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

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  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)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#private_ip_addressString

The private IPv4 address assigned to the instance.

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#product_codesArray<Types::ProductCode>

The product codes attached to this instance, if applicable.

Returns:



22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  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)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#public_ip_addressString

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

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#ramdisk_idString

The RAM disk associated with this instance, if applicable.

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#root_device_nameString

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

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  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)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#security_groupsArray<Types::GroupIdentifier>

One or more security groups for the instance.

Returns:



22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  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)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#spot_instance_request_idString

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

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#sriov_net_supportString

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

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#stateTypes::InstanceState

The current state of the instance.



22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#state_reasonTypes::StateReason

The reason for the most recent state transition.

Returns:



22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#state_transition_reasonString

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

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#subnet_idString

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

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Any tags assigned to the instance.

Returns:



22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#virtualization_typeString

The virtualization type of the instance.

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end

#vpc_idString

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

Returns:

  • (String)


22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
# File 'lib/aws-sdk-ec2/types.rb', line 22356

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,
  :elastic_inference_accelerator_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,
  :capacity_reservation_id,
  :capacity_reservation_specification,
  :hibernation_options,
  :licenses)
  include Aws::Structure
end