aws_ami

Nivis 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 to null)
  • boot_mode (defaults to null)
  • deprecation_time (defaults to null)
  • description (defaults to null)
  • ena_support (defaults to null)
  • id (defaults to null)
  • image_location (defaults to null)
  • imds_support (defaults to null)
  • kernel_id (defaults to null)
  • cfg_name (defaults to null)
  • ramdisk_id (defaults to null)
  • region (defaults to null)
  • root_device_name (defaults to null)
  • sriov_net_support (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • tpm_support (defaults to null)
  • uefi_data (defaults to null)
  • virtualization_type (defaults to null)
  • ebs_block_device (defaults to null)
  • ephemeral_block_device (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • hypervisor
  • image_owner_alias
  • image_type
  • last_launched_time
  • manage_ebs_snapshots
  • owner_id
  • platform
  • platform_details
  • public
  • root_snapshot_id
  • usage_operation
Example
aws_ami {
  name = "ami";
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.