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

Class: Aws::EC2::Types::Image

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

Overview

Describes an image.

Instance Attribute Summary collapse

Instance Attribute Details

#architectureString

The architecture of the image.

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#block_device_mappingsArray<Types::BlockDeviceMapping>

Any block device mapping entries.

Returns:



14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#creation_dateString

The date and time the image was created.

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#descriptionString

The description of the AMI that was provided during image creation.

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#ena_supportBoolean

Specifies whether enhanced networking with ENA is enabled.

Returns:

  • (Boolean)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#hypervisorString

The hypervisor type of the image.

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#image_idString

The ID of the AMI.

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#image_locationString

The location of the AMI.

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#image_owner_aliasString

The AWS account alias (for example, amazon, self) or the AWS account ID of the AMI owner.

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#image_typeString

The type of image.

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#kernel_idString

The kernel associated with the image, if any. Only applicable for machine images.

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#nameString

The name of the AMI that was provided during image creation.

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#owner_idString

The AWS account ID of the image owner.

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#platformString

The value is Windows for Windows AMIs; otherwise blank.

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#product_codesArray<Types::ProductCode>

Any product codes associated with the AMI.

Returns:



14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#publicBoolean

Indicates whether the image has public launch permissions. The value is true if this image has public launch permissions or false if it has only implicit and explicit launch permissions.

Returns:

  • (Boolean)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#ramdisk_idString

The RAM disk associated with the image, if any. Only applicable for machine images.

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#root_device_nameString

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

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#root_device_typeString

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

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#sriov_net_supportString

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

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#stateString

The current state of the AMI. If the state is available, the image is successfully registered and can be used to launch an instance.

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#state_reasonTypes::StateReason

The reason for the state change.

Returns:



14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Any tags assigned to the image.

Returns:



14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end

#virtualization_typeString

The type of virtualization of the AMI.

Returns:

  • (String)


14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14019

class Image < Struct.new(
  :architecture,
  :creation_date,
  :image_id,
  :image_location,
  :image_type,
  :public,
  :kernel_id,
  :owner_id,
  :platform,
  :product_codes,
  :ramdisk_id,
  :state,
  :block_device_mappings,
  :description,
  :ena_support,
  :hypervisor,
  :image_owner_alias,
  :name,
  :root_device_name,
  :root_device_type,
  :sriov_net_support,
  :state_reason,
  :tags,
  :virtualization_type)
  include Aws::Structure
end