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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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:



13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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:



13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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:



13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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:



13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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)


13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13734

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