alicloud_ecs_snapshot_lock

Nivis Nix constructor for the alicloud_ecs_snapshot_lock resource (provider alicloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  cool_off_period,
  lock_duration,
  lock_mode,
  snapshot_lock_id,
  dry_run ? null,
  overrides ? {}
}
Required arguments
  • cool_off_period
  • lock_duration
  • lock_mode
  • snapshot_lock_id
Optional arguments
  • dry_run (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • cool_off_period_expired_time
  • id
  • lock_creation_time
  • lock_duration_start_time
  • lock_expired_time
  • lock_status
Example
alicloud_ecs_snapshot_lock {
  name = "ecs_snapshot_lock";
  cool_off_period = …;  # required
  lock_duration = …;  # required
  lock_mode = …;  # required
  snapshot_lock_id = …;  # required
}

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