pub struct GetAmiResult {Show 39 fields
pub architecture: Output<String>,
pub arn: Output<String>,
pub block_device_mappings: Output<Vec<GetAmiBlockDeviceMapping>>,
pub boot_mode: Output<String>,
pub creation_date: Output<String>,
pub deprecation_time: Output<String>,
pub description: Output<String>,
pub ena_support: Output<bool>,
pub executable_users: Output<Option<Vec<String>>>,
pub filters: Output<Option<Vec<GetAmiFilter>>>,
pub hypervisor: Output<String>,
pub id: Output<String>,
pub image_id: Output<String>,
pub image_location: Output<String>,
pub image_owner_alias: Output<String>,
pub image_type: Output<String>,
pub imds_support: Output<String>,
pub include_deprecated: Output<Option<bool>>,
pub kernel_id: Output<String>,
pub most_recent: Output<Option<bool>>,
pub name: Output<String>,
pub name_regex: Output<Option<String>>,
pub owner_id: Output<String>,
pub owners: Output<Option<Vec<String>>>,
pub platform: Output<String>,
pub platform_details: Output<String>,
pub product_codes: Output<Vec<GetAmiProductCode>>,
pub public: Output<bool>,
pub ramdisk_id: Output<String>,
pub root_device_name: Output<String>,
pub root_device_type: Output<String>,
pub root_snapshot_id: Output<String>,
pub sriov_net_support: Output<String>,
pub state: Output<String>,
pub state_reason: Output<HashMap<String, String>>,
pub tags: Output<HashMap<String, String>>,
pub tpm_support: Output<String>,
pub usage_operation: Output<String>,
pub virtualization_type: Output<String>,
}
Fields§
§architecture: Output<String>
OS architecture of the AMI (ie: i386
or x86_64
).
arn: Output<String>
ARN of the AMI.
block_device_mappings: Output<Vec<GetAmiBlockDeviceMapping>>
Set of objects with block device mappings of the AMI.
boot_mode: Output<String>
Boot mode of the image.
creation_date: Output<String>
Date and time the image was created.
deprecation_time: Output<String>
Date and time when the image will be deprecated.
description: Output<String>
Description of the AMI that was provided during image creation.
ena_support: Output<bool>
Whether enhanced networking with ENA is enabled.
executable_users: Output<Option<Vec<String>>>
§filters: Output<Option<Vec<GetAmiFilter>>>
§hypervisor: Output<String>
Hypervisor type of the image.
id: Output<String>
The provider-assigned unique ID for this managed resource.
image_id: Output<String>
ID of the AMI. Should be the same as the resource id
.
image_location: Output<String>
Location of the AMI.
image_owner_alias: Output<String>
AWS account alias (for example, amazon
, self
) or
the AWS account ID of the AMI owner.
image_type: Output<String>
Type of image.
imds_support: Output<String>
Instance Metadata Service (IMDS) support mode for the image. Set to v2.0
if instances ran from this image enforce IMDSv2.
include_deprecated: Output<Option<bool>>
§kernel_id: Output<String>
Kernel associated with the image, if any. Only applicable for machine images.
most_recent: Output<Option<bool>>
§name: Output<String>
Name of the AMI that was provided during image creation.
name_regex: Output<Option<String>>
§owner_id: Output<String>
AWS account ID of the image owner.
owners: Output<Option<Vec<String>>>
§platform: Output<String>
Value is Windows for Windows
AMIs; otherwise blank.
platform_details: Output<String>
Platform details associated with the billing code of the AMI.
product_codes: Output<Vec<GetAmiProductCode>>
Any product codes associated with the AMI.
product_codes.#.product_code_id
- The product code.product_codes.#.product_code_type
- The type of product code.
public: Output<bool>
true
if the image has public launch permissions.
ramdisk_id: Output<String>
RAM disk associated with the image, if any. Only applicable for machine images.
root_device_name: Output<String>
Device name of the root device.
root_device_type: Output<String>
Type of root device (ie: ebs
or instance-store
).
root_snapshot_id: Output<String>
Snapshot id associated with the root device, if any
(only applies to ebs
root devices).
sriov_net_support: Output<String>
Whether enhanced networking is enabled.
state: Output<String>
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: Output<HashMap<String, String>>
Describes a state change. Fields are UNSET
if not available.
Any tags assigned to the image.
tags.#.key
- Key name of the tag.tags.#.value
- Value of the tag.
tpm_support: Output<String>
If the image is configured for NitroTPM support, the value is v2.0
.
usage_operation: Output<String>
Operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
virtualization_type: Output<String>
Type of virtualization of the AMI (ie: hvm
or
paravirtual
).