Skip to main content

Heartbeat

Resource Heartbeat in pulumi-better-uptime.
5 min read

Resource Heartbeat in pulumi-better-uptime.

Pulumi type: better-uptime:index/heartbeat:Heartbeat.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
callbooleannoWhether to call when a new incident is created.
criticalAlertbooleannoWhether to send a critical push notification that ignores the mute switch and Do not Disturb mode when a new incident is created.
emailbooleannoWhether to send an email when a new incident is created.
gracenumberyesHeartbeats can fluctuate; specify this value to control what is still acceptable. Minimum value: 0 seconds. We recommend setting this to approx. 20% of period
heartbeatGroupIdnumbernoSet this attribute if you want to add this heartbeat to a heartbeat group..
maintenanceDaysstring[]noAn array of maintenance days to set. If a maintenance window is overnight both affected days should be set. Allowed values are ["mon", "tue", "wed", "thu", "fri", "sat", "sun"] or any subset of these days.
maintenanceFromstringnoStart of the maintenance window each day. We won't create incidents during this window. Example: "01:00:00"
maintenanceTimezonestringnoThe timezone to use for the maintenance window each day. Defaults to UTC. The accepted values can be found in the Rails TimeZone documentation. https://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html
maintenanceTostringnoEnd of the maintenance window each day. Example: "03:00:00"
namestringnoA name of the service for this heartbeat.
pausedbooleannoSet to true to pause monitoring — we won't notify you about downtime. Set to false to resume monitoring.
periodnumberyesHow often should we expect this heartbeat? In seconds. Minimum value: 30 seconds
policyIdstringnoSet the escalation policy for the heartbeat.
pushbooleannoWhether to send a push notification when a new incident is created.
serverTimezonestringnoThe IANA timezone (e.g. "Europe/Berlin") used to evaluate this heartbeat's period against wall-clock time, keeping daily and cron-style schedules aligned across daylight saving time changes. Only applies to periods of 1 hour or longer; it is cleared for shorter periods.
smsbooleannoWhether to send an SMS when a new incident is created.
sortIndexnumbernoAn index controlling the position of a heartbeat in the heartbeat group.
teamNamestringnoUsed to specify the team the resource should be created in when using global tokens. You can't update this value later.
teamWaitnumbernoHow long to wait before escalating the incident alert to the team. Leave blank to disable escalating to the entire team.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
callbooleannoWhether to call when a new incident is created.
createdAtstringyesThe time when this heartbeat was created.
criticalAlertbooleannoWhether to send a critical push notification that ignores the mute switch and Do not Disturb mode when a new incident is created.
emailbooleannoWhether to send an email when a new incident is created.
gracenumbernoHeartbeats can fluctuate; specify this value to control what is still acceptable. Minimum value: 0 seconds. We recommend setting this to approx. 20% of period
heartbeatGroupIdnumbernoSet this attribute if you want to add this heartbeat to a heartbeat group..
maintenanceDaysstring[]noAn array of maintenance days to set. If a maintenance window is overnight both affected days should be set. Allowed values are ["mon", "tue", "wed", "thu", "fri", "sat", "sun"] or any subset of these days.
maintenanceFromstringnoStart of the maintenance window each day. We won't create incidents during this window. Example: "01:00:00"
maintenanceTimezonestringnoThe timezone to use for the maintenance window each day. Defaults to UTC. The accepted values can be found in the Rails TimeZone documentation. https://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html
maintenanceTostringnoEnd of the maintenance window each day. Example: "03:00:00"
namestringnoA name of the service for this heartbeat.
pausedbooleannoSet to true to pause monitoring — we won't notify you about downtime. Set to false to resume monitoring.
pausedAtstringyesThe time when this heartbeat was paused.
periodnumbernoHow often should we expect this heartbeat? In seconds. Minimum value: 30 seconds
policyIdstringnoSet the escalation policy for the heartbeat.
pushbooleannoWhether to send a push notification when a new incident is created.
serverTimezonestringnoThe IANA timezone (e.g. "Europe/Berlin") used to evaluate this heartbeat's period against wall-clock time, keeping daily and cron-style schedules aligned across daylight saving time changes. Only applies to periods of 1 hour or longer; it is cleared for shorter periods.
smsbooleannoWhether to send an SMS when a new incident is created.
sortIndexnumbernoAn index controlling the position of a heartbeat in the heartbeat group.
statusstringyesThe status of this heartbeat.
teamNamestringnoUsed to specify the team the resource should be created in when using global tokens. You can't update this value later.
teamWaitnumbernoHow long to wait before escalating the incident alert to the team. Leave blank to disable escalating to the entire team.
updatedAtstringyesThe time when this heartbeat was updated.
urlstringyesThe url of this heartbeat.