aws_ebs_snapshot

Nivis Nix constructor for the aws_ebs_snapshot 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,
  volume_id,
  description ? null,
  id ? null,
  outpost_arn ? null,
  permanent_restore ? null,
  region ? null,
  storage_tier ? null,
  tags ? null,
  tags_all ? null,
  temporary_restore_days ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • volume_id
Optional arguments
  • description (defaults to null)
  • id (defaults to null)
  • outpost_arn (defaults to null)
  • permanent_restore (defaults to null)
  • region (defaults to null)
  • storage_tier (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • temporary_restore_days (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • data_encryption_key_id
  • encrypted
  • kms_key_id
  • owner_alias
  • owner_id
  • volume_size
Example
aws_ebs_snapshot {
  name = "ebs_snapshot";
  volume_id = …;  # required
}

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