Struct rusoto_ec2::Image
source · [−]pub struct Image {Show 28 fields
pub architecture: Option<String>,
pub block_device_mappings: Option<Vec<BlockDeviceMapping>>,
pub boot_mode: Option<String>,
pub creation_date: Option<String>,
pub deprecation_time: Option<String>,
pub description: Option<String>,
pub ena_support: Option<bool>,
pub hypervisor: Option<String>,
pub image_id: Option<String>,
pub image_location: Option<String>,
pub image_owner_alias: Option<String>,
pub image_type: Option<String>,
pub kernel_id: Option<String>,
pub name: Option<String>,
pub owner_id: Option<String>,
pub platform: Option<String>,
pub platform_details: Option<String>,
pub product_codes: Option<Vec<ProductCode>>,
pub public: Option<bool>,
pub ramdisk_id: Option<String>,
pub root_device_name: Option<String>,
pub root_device_type: Option<String>,
pub sriov_net_support: Option<String>,
pub state: Option<String>,
pub state_reason: Option<StateReason>,
pub tags: Option<Vec<Tag>>,
pub usage_operation: Option<String>,
pub virtualization_type: Option<String>,
}
Expand description
Describes an image.
Fields
architecture: Option<String>
The architecture of the image.
block_device_mappings: Option<Vec<BlockDeviceMapping>>
Any block device mapping entries.
boot_mode: Option<String>
The boot mode of the image. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide.
creation_date: Option<String>
The date and time the image was created.
deprecation_time: Option<String>
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: Option<String>
The description of the AMI that was provided during image creation.
ena_support: Option<bool>
Specifies whether enhanced networking with ENA is enabled.
hypervisor: Option<String>
The hypervisor type of the image.
image_id: Option<String>
The ID of the AMI.
image_location: Option<String>
The location of the AMI.
image_owner_alias: Option<String>
The AWS account alias (for example, amazon
, self
) or the AWS account ID of the AMI owner.
image_type: Option<String>
The type of image.
kernel_id: Option<String>
The kernel associated with the image, if any. Only applicable for machine images.
name: Option<String>
The name of the AMI that was provided during image creation.
owner_id: Option<String>
The AWS account ID of the image owner.
platform: Option<String>
This value is set to windows
for Windows AMIs; otherwise, it is blank.
platform_details: Option<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.
product_codes: Option<Vec<ProductCode>>
Any product codes associated with the AMI.
public: Option<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.
ramdisk_id: Option<String>
The RAM disk associated with the image, if any. Only applicable for machine images.
root_device_name: Option<String>
The device name of the root device volume (for example, /dev/sda1
).
root_device_type: Option<String>
The type of root device used by the AMI. The AMI can use an EBS volume or an instance store volume.
sriov_net_support: Option<String>
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
state: Option<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.
state_reason: Option<StateReason>
The reason for the state change.
Any tags assigned to the image.
usage_operation: Option<String>
The operation of the Amazon EC2 instance and the billing code that is associated with the AMI. usageOperation
corresponds to the lineitem/Operation column on your AWS Cost and Usage Report and in the AWS Price List API. For the list of UsageOperation
codes, see Platform Details and Usage Operation Billing Codes in the Amazon Elastic Compute Cloud User Guide.
virtualization_type: Option<String>
The type of virtualization of the AMI.
Trait Implementations
impl StructuralPartialEq for Image
Auto Trait Implementations
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more