aws_db_snapshot_copyNivis Nix constructor for the aws_db_snapshot_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_db_snapshot_identifier,
target_db_snapshot_identifier,
copy_tags ? null,
destination_region ? null,
id ? null,
kms_key_id ? null,
option_group_name ? null,
presigned_url ? null,
region ? null,
shared_accounts ? null,
tags ? null,
tags_all ? null,
target_custom_availability_zone ? null,
timeouts ? null,
overrides ? {}
}Required arguments
source_db_snapshot_identifiertarget_db_snapshot_identifier
Optional arguments
copy_tags(defaults tonull)destination_region(defaults tonull)id(defaults tonull)kms_key_id(defaults tonull)option_group_name(defaults tonull)presigned_url(defaults tonull)region(defaults tonull)shared_accounts(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)target_custom_availability_zone(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
allocated_storageavailability_zonedb_snapshot_arnencryptedengineengine_versioniopslicense_modelportsnapshot_typesource_regionstorage_typevpc_id
Example
aws_db_snapshot_copy {
name = "db_snapshot_copy";
source_db_snapshot_identifier = …; # required
target_db_snapshot_identifier = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.