aws_ami_copy

Nivis Nix constructor for the aws_ami_copy 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,
  source_ami_id,
  source_ami_region,
  deprecation_time ? null,
  description ? null,
  destination_outpost_arn ? null,
  encrypted ? null,
  id ? null,
  kms_key_id ? null,
  cfg_name ? null,
  region ? null,
  tags ? null,
  tags_all ? null,
  ebs_block_device ? null,
  ephemeral_block_device ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • source_ami_id
  • source_ami_region
Optional arguments
  • deprecation_time (defaults to null)
  • description (defaults to null)
  • destination_outpost_arn (defaults to null)
  • encrypted (defaults to null)
  • id (defaults to null)
  • kms_key_id (defaults to null)
  • cfg_name (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • tags_all (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:

  • architecture
  • arn
  • boot_mode
  • ena_support
  • hypervisor
  • image_location
  • image_owner_alias
  • image_type
  • imds_support
  • kernel_id
  • last_launched_time
  • manage_ebs_snapshots
  • owner_id
  • platform
  • platform_details
  • public
  • ramdisk_id
  • root_device_name
  • root_snapshot_id
  • sriov_net_support
  • tpm_support
  • uefi_data
  • usage_operation
  • virtualization_type
Example
aws_ami_copy {
  name = "ami_copy";
  source_ami_id = …;  # required
  source_ami_region = …;  # required
}

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