A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Image.html below:

Image — AWS SDK for Ruby V2

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

Class: Aws::EC2::Image Instance Attribute Summary collapse Attributes inherited from Resources::Resource

#client, #identifiers

Instance Method Summary collapse Methods inherited from Resources::Resource

add_data_attribute, add_identifier, #data, data_attributes, #data_loaded?, identifiers, #load, #wait_until

Methods included from Resources::OperationMethods

#add_batch_operation, #add_operation, #batch_operation, #batch_operation_names, #batch_operations, #operation, #operation_names, #operations

Constructor Details #initialize(id, options = {}) ⇒ Object #initialize(options = {}) ⇒ Object Instance Attribute Details #architecture ⇒ String

The architecture of the image.

Possible values:

#creation_date ⇒ String

The date and time the image was created.

#description ⇒ String

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

#ena_support ⇒ Boolean

Specifies whether enhanced networking with ENA is enabled.

#hypervisor ⇒ String

The hypervisor type of the image.

Possible values:

#image_owner_alias ⇒ String

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

#image_type ⇒ String

The type of image.

Possible values:

#kernel_id ⇒ String

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

#name ⇒ String

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

#owner_id ⇒ String

The AWS account ID of the image owner.

#platform ⇒ String

This value is set to windows for Windows AMIs; otherwise, it is blank.

Possible values:

#platform_details ⇒ String

The platform details associated with the billing code of the AMI. For more information, see Obtaining Billing Information in the Amazon Elastic Compute Cloud User Guide.

#public ⇒ Boolean

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.

#ramdisk_id ⇒ String

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

#root_device_name ⇒ String

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

#root_device_type ⇒ String

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

Possible values:

#sriov_net_support ⇒ String

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

#state ⇒ String

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

Possible values:

#tags ⇒ Array<Types::Tag>

Any tags assigned to the image.

#usage_operation ⇒ String #virtualization_type ⇒ String

The type of virtualization of the AMI.

Possible values:

Instance Method Details #create_tags(options = {}) ⇒ Array<Tag> #delete_tags(options = {}) ⇒ Array<Tag> #deregister(options = {}) ⇒ Struct

Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new instances; however, it doesn't affect any instances that you've already launched from the AMI. You'll continue to incur usage costs for those instances until you terminate them.

When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was created for the root volume of the instance during the AMI creation process. When you deregister an instance store-backed AMI, it doesn't affect the files that you uploaded to Amazon S3 when you created the AMI.

#describe_attribute(options = {}) ⇒ Types::ImageAttribute

Describes the specified attribute of the specified AMI. You can specify only one attribute at a time.

#exists? ⇒ Boolean

Returns true if this Image exists. Returns false otherwise.

#modify_attribute(options = {}) ⇒ Struct

Modifies the specified attribute of the specified AMI. You can specify only one attribute at a time. You can use the Attribute parameter to specify the attribute or one of the following parameters: Description, LaunchPermission, or ProductCode.

AWS Marketplace product codes cannot be modified. Images with an AWS Marketplace product code cannot be made public.

To enable the SriovNetSupport enhanced networking attribute of an image, enable SriovNetSupport on an instance and create an AMI from the instance.

#reset_attribute(options = {}) ⇒ Struct

Resets an attribute of an AMI to its default value.

The productCodes attribute can't be reset.

#wait_until_exists {|waiter| ... } ⇒ Image

Waits until this Image is exists. This method waits by polling Client#describe_images until successful. An error is raised after a configurable number of failed checks.

This waiter uses the following defaults:

Configuration Default #delay 15 #max_attempts 40

You can modify defaults and register callbacks by passing a block argument.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4