aws_ami_copyNivis 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_idsource_ami_region
Optional arguments
deprecation_time(defaults tonull)description(defaults tonull)destination_outpost_arn(defaults tonull)encrypted(defaults tonull)id(defaults tonull)kms_key_id(defaults tonull)cfg_name(defaults tonull)region(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)ebs_block_device(defaults tonull)ephemeral_block_device(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
architecturearnboot_modeena_supporthypervisorimage_locationimage_owner_aliasimage_typeimds_supportkernel_idlast_launched_timemanage_ebs_snapshotsowner_idplatformplatform_detailspublicramdisk_idroot_device_nameroot_snapshot_idsriov_net_supporttpm_supportuefi_datausage_operationvirtualization_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.