The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::EC2::Image

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::EC2::Image object:

  $service_obj->Method(Att1 => { Architecture => $value, ..., VirtualizationType => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::Image object:

  $result = $service_obj->Method(...);
  $result->Att1->Architecture

DESCRIPTION

This class has no description

ATTRIBUTES

Architecture => Str

The architecture of the image.

BlockDeviceMappings => ArrayRef[Paws::EC2::BlockDeviceMapping]

Any block device mapping entries.

BootMode => Str

The boot mode of the image. For more information, see Boot modes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) in the Amazon Elastic Compute Cloud User Guide.

CreationDate => Str

The date and time the image was created.

DeprecationTime => Str

The date and time to deprecate the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ. If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.

Description => Str

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

EnaSupport => Bool

Specifies whether enhanced networking with ENA is enabled.

Hypervisor => Str

The hypervisor type of the image.

ImageId => Str

The ID of the AMI.

ImageLocation => Str

The location of the AMI.

ImageOwnerAlias => Str

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

ImageType => Str

The type of image.

KernelId => Str

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

Name => Str

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

OwnerId => Str

The AWS account ID of the image owner.

Platform => Str

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

PlatformDetails => Str

The platform details associated with the billing code of the AMI. For more information, see Obtaining Billing Information (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html) in the Amazon Elastic Compute Cloud User Guide.

ProductCodes => ArrayRef[Paws::EC2::ProductCode]

Any product codes associated with the AMI.

Public => Bool

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.

RamdiskId => Str

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

RootDeviceName => Str

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

RootDeviceType => Str

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

SriovNetSupport => Str

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

State => Str

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

StateReason => Paws::EC2::StateReason

The reason for the state change.

Tags => ArrayRef[Paws::EC2::Tag]

Any tags assigned to the image.

UsageOperation => Str

The operation of the Amazon EC2 instance and the billing code that is associated with the AMI. usageOperation corresponds to the lineitem/Operation (https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation) column on your AWS Cost and Usage Report and in the AWS Price List API (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html). For the list of UsageOperation codes, see Platform Details and Usage Operation Billing Codes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html#billing-info) in the Amazon Elastic Compute Cloud User Guide.

VirtualizationType => Str

The type of virtualization of the AMI.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::EC2

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues