#[non_exhaustive]pub struct DescribeImageAttributeOutput {Show 13 fields
pub block_device_mappings: Option<Vec<BlockDeviceMapping>>,
pub image_id: Option<String>,
pub launch_permissions: Option<Vec<LaunchPermission>>,
pub product_codes: Option<Vec<ProductCode>>,
pub description: Option<AttributeValue>,
pub kernel_id: Option<AttributeValue>,
pub ramdisk_id: Option<AttributeValue>,
pub sriov_net_support: Option<AttributeValue>,
pub boot_mode: Option<AttributeValue>,
pub tpm_support: Option<AttributeValue>,
pub uefi_data: Option<AttributeValue>,
pub last_launched_time: Option<AttributeValue>,
pub imds_support: Option<AttributeValue>,
/* private fields */
}
Expand description
Describes an image attribute.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.block_device_mappings: Option<Vec<BlockDeviceMapping>>
The block device mapping entries.
image_id: Option<String>
The ID of the AMI.
launch_permissions: Option<Vec<LaunchPermission>>
The launch permissions.
product_codes: Option<Vec<ProductCode>>
The product codes.
description: Option<AttributeValue>
A description for the AMI.
kernel_id: Option<AttributeValue>
The kernel ID.
ramdisk_id: Option<AttributeValue>
The RAM disk ID.
sriov_net_support: Option<AttributeValue>
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
boot_mode: Option<AttributeValue>
The boot mode.
tpm_support: Option<AttributeValue>
If the image is configured for NitroTPM support, the value is v2.0
.
uefi_data: Option<AttributeValue>
Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot in the Amazon EC2 User Guide.
last_launched_time: Option<AttributeValue>
The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported.
lastLaunchedTime
data is available starting April 2017.
imds_support: Option<AttributeValue>
If v2.0
, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will have HttpTokens
automatically set to required
so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition, HttpPutResponseHopLimit
is set to 2
. For more information, see Configure the AMI in the Amazon EC2 User Guide.
Implementations§
source§impl DescribeImageAttributeOutput
impl DescribeImageAttributeOutput
sourcepub fn block_device_mappings(&self) -> Option<&[BlockDeviceMapping]>
pub fn block_device_mappings(&self) -> Option<&[BlockDeviceMapping]>
The block device mapping entries.
sourcepub fn launch_permissions(&self) -> Option<&[LaunchPermission]>
pub fn launch_permissions(&self) -> Option<&[LaunchPermission]>
The launch permissions.
sourcepub fn product_codes(&self) -> Option<&[ProductCode]>
pub fn product_codes(&self) -> Option<&[ProductCode]>
The product codes.
sourcepub fn description(&self) -> Option<&AttributeValue>
pub fn description(&self) -> Option<&AttributeValue>
A description for the AMI.
sourcepub fn kernel_id(&self) -> Option<&AttributeValue>
pub fn kernel_id(&self) -> Option<&AttributeValue>
The kernel ID.
sourcepub fn ramdisk_id(&self) -> Option<&AttributeValue>
pub fn ramdisk_id(&self) -> Option<&AttributeValue>
The RAM disk ID.
sourcepub fn sriov_net_support(&self) -> Option<&AttributeValue>
pub fn sriov_net_support(&self) -> Option<&AttributeValue>
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
sourcepub fn boot_mode(&self) -> Option<&AttributeValue>
pub fn boot_mode(&self) -> Option<&AttributeValue>
The boot mode.
sourcepub fn tpm_support(&self) -> Option<&AttributeValue>
pub fn tpm_support(&self) -> Option<&AttributeValue>
If the image is configured for NitroTPM support, the value is v2.0
.
sourcepub fn uefi_data(&self) -> Option<&AttributeValue>
pub fn uefi_data(&self) -> Option<&AttributeValue>
Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot in the Amazon EC2 User Guide.
sourcepub fn last_launched_time(&self) -> Option<&AttributeValue>
pub fn last_launched_time(&self) -> Option<&AttributeValue>
The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported.
lastLaunchedTime
data is available starting April 2017.
sourcepub fn imds_support(&self) -> Option<&AttributeValue>
pub fn imds_support(&self) -> Option<&AttributeValue>
If v2.0
, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will have HttpTokens
automatically set to required
so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition, HttpPutResponseHopLimit
is set to 2
. For more information, see Configure the AMI in the Amazon EC2 User Guide.
source§impl DescribeImageAttributeOutput
impl DescribeImageAttributeOutput
sourcepub fn builder() -> DescribeImageAttributeOutputBuilder
pub fn builder() -> DescribeImageAttributeOutputBuilder
Creates a new builder-style object to manufacture DescribeImageAttributeOutput
.
Trait Implementations§
source§impl Clone for DescribeImageAttributeOutput
impl Clone for DescribeImageAttributeOutput
source§fn clone(&self) -> DescribeImageAttributeOutput
fn clone(&self) -> DescribeImageAttributeOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeImageAttributeOutput
impl Debug for DescribeImageAttributeOutput
source§impl PartialEq<DescribeImageAttributeOutput> for DescribeImageAttributeOutput
impl PartialEq<DescribeImageAttributeOutput> for DescribeImageAttributeOutput
source§fn eq(&self, other: &DescribeImageAttributeOutput) -> bool
fn eq(&self, other: &DescribeImageAttributeOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeImageAttributeOutput
impl RequestId for DescribeImageAttributeOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.