aws_db_snapshot_copy

Nivis 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_identifier
  • target_db_snapshot_identifier
Optional arguments
  • copy_tags (defaults to null)
  • destination_region (defaults to null)
  • id (defaults to null)
  • kms_key_id (defaults to null)
  • option_group_name (defaults to null)
  • presigned_url (defaults to null)
  • region (defaults to null)
  • shared_accounts (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • target_custom_availability_zone (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • allocated_storage
  • availability_zone
  • db_snapshot_arn
  • encrypted
  • engine
  • engine_version
  • iops
  • license_model
  • port
  • snapshot_type
  • source_region
  • storage_type
  • vpc_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.