aws_amiNivis Nix constructor for the aws_ami resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
architecture ? null,
boot_mode ? null,
deprecation_time ? null,
description ? null,
ena_support ? null,
id ? null,
image_location ? null,
imds_support ? null,
kernel_id ? null,
cfg_name ? null,
ramdisk_id ? null,
region ? null,
root_device_name ? null,
sriov_net_support ? null,
tags ? null,
tags_all ? null,
tpm_support ? null,
uefi_data ? null,
virtualization_type ? null,
ebs_block_device ? null,
ephemeral_block_device ? null,
timeouts ? null,
overrides ? {}
}Required arguments
_None._
Optional arguments
architecture(defaults tonull)boot_mode(defaults tonull)deprecation_time(defaults tonull)description(defaults tonull)ena_support(defaults tonull)id(defaults tonull)image_location(defaults tonull)imds_support(defaults tonull)kernel_id(defaults tonull)cfg_name(defaults tonull)ramdisk_id(defaults tonull)region(defaults tonull)root_device_name(defaults tonull)sriov_net_support(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)tpm_support(defaults tonull)uefi_data(defaults tonull)virtualization_type(defaults tonull)ebs_block_device(defaults tonull)ephemeral_block_device(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnhypervisorimage_owner_aliasimage_typelast_launched_timemanage_ebs_snapshotsowner_idplatformplatform_detailspublicroot_snapshot_idusage_operation
Example
aws_ami {
name = "ami";
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.