alicloud_ecs_snapshot_lockNivis 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_periodlock_durationlock_modesnapshot_lock_id
Optional arguments
dry_run(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
cool_off_period_expired_timeidlock_creation_timelock_duration_start_timelock_expired_timelock_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.