Skip to main content

OutgoingWebhook

Resource OutgoingWebhook in pulumi-better-uptime.
4 min read

Resource OutgoingWebhook in pulumi-better-uptime.

Pulumi type: better-uptime:index/outgoingWebhook:OutgoingWebhook.

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
customWebhookTemplateAttributesOutgoingWebhookCustomWebhookTemplateAttributes (input)noCustom webhook template configuration.
namestringnoThe name of the outgoing webhook.
notifyAlongsidePrimaryResponderbooleannoWhether this integration should be notified alongside the primary responder when no escalation policy is configured. Only applies to incidentChange webhooks. Defaults to true.
onIncidentAcknowledgedbooleannoWhether to trigger webhook when incident is acknowledged. Only when trigger_type=incident_change.
onIncidentCommentbooleannoWhether to trigger webhook when a comment is posted on an incident. Only when trigger_type=incident_change.
onIncidentReopenedbooleannoWhether to trigger webhook when incident is reopened. Only when trigger_type=incident_change.
onIncidentResolvedbooleannoWhether to trigger webhook when incident is resolved. Only when trigger_type=incident_change.
onIncidentStartedbooleannoWhether to trigger webhook when incident starts. Only when trigger_type=incident_change.
teamNamestringnoUsed to specify the team the resource should be created in when using global tokens. You can't update this value later.
triggerTypestringyesThe type of trigger for the webhook. Only settable during creation. Available values: incidentChange, onCallChange, monitorChange.
urlstringyesThe URL to send webhooks to.

Outputs#

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

PropertyTypeComputedDescription
customWebhookTemplateAttributesOutgoingWebhookCustomWebhookTemplateAttributes (output)noCustom webhook template configuration.
namestringnoThe name of the outgoing webhook.
notifyAlongsidePrimaryResponderbooleannoWhether this integration should be notified alongside the primary responder when no escalation policy is configured. Only applies to incidentChange webhooks. Defaults to true.
onIncidentAcknowledgedbooleannoWhether to trigger webhook when incident is acknowledged. Only when trigger_type=incident_change.
onIncidentCommentbooleannoWhether to trigger webhook when a comment is posted on an incident. Only when trigger_type=incident_change.
onIncidentReopenedbooleannoWhether to trigger webhook when incident is reopened. Only when trigger_type=incident_change.
onIncidentResolvedbooleannoWhether to trigger webhook when incident is resolved. Only when trigger_type=incident_change.
onIncidentStartedbooleannoWhether to trigger webhook when incident starts. Only when trigger_type=incident_change.
teamNamestringnoUsed to specify the team the resource should be created in when using global tokens. You can't update this value later.
triggerTypestringnoThe type of trigger for the webhook. Only settable during creation. Available values: incidentChange, onCallChange, monitorChange.
urlstringnoThe URL to send webhooks to.

OutgoingWebhookCustomWebhookTemplateAttributes (input)#

Input object OutgoingWebhookCustomWebhookTemplateAttributes. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
authPasswordstringnoThe password to use for basic authentication.
authUsernamestringnoThe username to use for basic authentication.
bodyTemplatestringnoThe body of the webhook request.
headersTemplatesOutgoingWebhookCustomWebhookTemplateAttributesHeadersTemplate (input)[]noThe headers to include in the webhook request.
httpMethodstringnoThe HTTP method to use when sending the webhook. Possible values: get, post, put, patch and head.
idstringno

OutgoingWebhookCustomWebhookTemplateAttributesHeadersTemplate (input)#

Input object OutgoingWebhookCustomWebhookTemplateAttributesHeadersTemplate. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
namestringyes
valuestringyes

OutgoingWebhookCustomWebhookTemplateAttributes (output)#

Output object OutgoingWebhookCustomWebhookTemplateAttributes. Fields below belong to this object.

PropertyTypeAlways presentDescription
authPasswordstringnoThe password to use for basic authentication.
authUsernamestringnoThe username to use for basic authentication.
bodyTemplatestringnoThe body of the webhook request.
headersTemplatesOutgoingWebhookCustomWebhookTemplateAttributesHeadersTemplate (output)[]noThe headers to include in the webhook request.
httpMethodstringnoThe HTTP method to use when sending the webhook. Possible values: get, post, put, patch and head.
idstringyes

OutgoingWebhookCustomWebhookTemplateAttributesHeadersTemplate (output)#

Output object OutgoingWebhookCustomWebhookTemplateAttributesHeadersTemplate. Fields below belong to this object.

PropertyTypeAlways presentDescription
namestringyes
valuestringyes