pagerduty_user_notification_rule

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

Constructor
{
  name,
  start_delay_in_minutes,
  urgency,
  user_id,
  contact_method ? null,
  overrides ? {}
}
Required arguments
  • start_delay_in_minutes
  • urgency
  • user_id
Optional arguments
  • contact_method (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • id
Example
pagerduty_user_notification_rule {
  name = "user_notification_rule";
  start_delay_in_minutes = …;  # required
  urgency = …;  # required
  user_id = …;  # required
}

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