pub struct AmiResult {Show 29 fields
pub architecture: Output<Option<String>>,
pub arn: Output<String>,
pub boot_mode: Output<Option<String>>,
pub deprecation_time: Output<Option<String>>,
pub description: Output<Option<String>>,
pub ebs_block_devices: Output<Vec<AmiEbsBlockDevice>>,
pub ena_support: Output<Option<bool>>,
pub ephemeral_block_devices: Output<Vec<AmiEphemeralBlockDevice>>,
pub hypervisor: Output<String>,
pub image_location: Output<String>,
pub image_owner_alias: Output<String>,
pub image_type: Output<String>,
pub imds_support: Output<Option<String>>,
pub kernel_id: Output<Option<String>>,
pub manage_ebs_snapshots: Output<bool>,
pub name: Output<String>,
pub owner_id: Output<String>,
pub platform: Output<String>,
pub platform_details: Output<String>,
pub public: Output<bool>,
pub ramdisk_id: Output<Option<String>>,
pub root_device_name: Output<Option<String>>,
pub root_snapshot_id: Output<String>,
pub sriov_net_support: Output<Option<String>>,
pub tags: Output<Option<HashMap<String, String>>>,
pub tags_all: Output<HashMap<String, String>>,
pub tpm_support: Output<Option<String>>,
pub usage_operation: Output<String>,
pub virtualization_type: Output<Option<String>>,
}
Fields§
§architecture: Output<Option<String>>
Machine architecture for created instances. Defaults to “x86_64”.
arn: Output<String>
ARN of the AMI.
boot_mode: Output<Option<String>>
Boot mode of the AMI. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide.
deprecation_time: Output<Option<String>>
Date and time to deprecate the AMI. If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ
)
description: Output<Option<String>>
Longer, human-readable description for the AMI.
ebs_block_devices: Output<Vec<AmiEbsBlockDevice>>
Nested block describing an EBS block device that should be attached to created instances. The structure of this block is described below.
ena_support: Output<Option<bool>>
Whether enhanced networking with ENA is enabled. Defaults to false
.
ephemeral_block_devices: Output<Vec<AmiEphemeralBlockDevice>>
Nested block describing an ephemeral block device that should be attached to created instances. The structure of this block is described below.
hypervisor: Output<String>
Hypervisor type of the image.
image_location: Output<String>
§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<Option<String>>
If EC2 instances started from this image should require the use of the Instance Metadata Service V2 (IMDSv2), set this argument to v2.0
. For more information, see Configure instance metadata options for new instances.
kernel_id: Output<Option<String>>
§manage_ebs_snapshots: Output<bool>
§name: Output<String>
Region-unique name for the AMI.
owner_id: Output<String>
AWS account ID of the image owner.
platform: Output<String>
This value is set to windows for Windows AMIs; otherwise, it is blank.
platform_details: Output<String>
Platform details associated with the billing code of the AMI.
public: Output<bool>
Whether the image has public launch permissions.
ramdisk_id: Output<Option<String>>
§root_device_name: Output<Option<String>>
Name of the root device (for example, /dev/sda1
, or /dev/xvda
).
root_snapshot_id: Output<String>
Snapshot ID for the root volume (for EBS-backed AMIs)
sriov_net_support: Output<Option<String>>
Map of tags to assign to the resource. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Map of tags assigned to the resource, including those inherited from the provider default_tags
configuration block.
tpm_support: Output<Option<String>>
If the image is configured for NitroTPM support, the value is v2.0
. For more information, see NitroTPM in the Amazon Elastic Compute Cloud User Guide.
usage_operation: Output<String>
Operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
virtualization_type: Output<Option<String>>
Keyword to choose what virtualization mode created instances will use. Can be either “paravirtual” (the default) or “hvm”. The choice of virtualization type changes the set of further arguments that are required, as described below.