Notification Policy Args
Example Usage
resources:
exampleNotificationPolicy:
type: cloudflare:NotificationPolicy
name: example_notification_policy
properties:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
alertType: access_custom_certificate_expiration_type
enabled: true
mechanisms:
email:
- id: test@example.com
pagerduty:
- id: e8133a15-00a4-4d69-aec1-32f70c51f6e5
webhooks:
- id: 14cc1190-5d2b-4b98-a696-c424cb2ad05f
name: SSL Notification Event Policy
alertInterval: 30m
description: Something describing the policy.
filters:
actions:
- string
affected_asns:
- string
affected_components:
- string
affected_locations:
- string
airport_code:
- string
alert_trigger_preferences:
- string
alert_trigger_preferences_value:
- string
enabled:
- string
environment:
- string
event:
- string
event_source:
- string
event_type:
- string
group_by:
- string
health_check_id:
- string
incident_impact:
- INCIDENT_IMPACT_NONE
input_id:
- string
insight_class:
- string
limit:
- string
logo_tag:
- string
megabits_per_second:
- string
new_health:
- string
new_status:
- string
packets_per_second:
- string
pool_id:
- string
pop_names:
- string
product:
- string
project_id:
- string
protocol:
- string
query_tag:
- string
requests_per_second:
- string
selectors:
- string
services:
- string
slo:
- '99.9'
status:
- string
target_hostname:
- string
target_ip:
- string
target_zone_name:
- string
traffic_exclusions:
- security_events
tunnel_id:
- string
tunnel_name:
- string
where:
- string
zones:
- string
Import
$ pulumi import cloudflare:index/notificationPolicy:NotificationPolicy example '<account_id>/<policy_id>'
Constructors
Properties
Optional specification of how often to re-alert from the same incident, not support on all alert types.
Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values. Available values: "accesscustomcertificateexpirationtype", "advancedddosattackl4alert", "advancedddosattackl7alert", "advancedhttpalerterror", "bgphijacknotification", "billingusagealert", "blocknotificationblockremoved", "blocknotificationnewblock", "blocknotificationreviewrejected", "brandprotectionalert", "brandprotectiondigest", "clickhousealertfwanomaly", "clickhousealertfwentanomaly", "cloudforceonerequestnotification", "customanalytics", "customsslcertificateeventtype", "dedicatedsslcertificateeventtype", "deviceconnectivityanomalyalert", "dosattackl4", "dosattackl7", "expiringservicetokenalert", "failinglogpushjobdisabledalert", "fbmautoadvertisement", "fbmdosdattack", "fbmvolumetricattack", "healthcheckstatusnotification", "hostnameaopcustomcertificateexpirationtype", "httpalertedgeerror", "httpalertoriginerror", "imagenotification", "imageresizingnotification", "incidentalert", "loadbalancinghealthalert", "loadbalancingpoolenablementalert", "logomatchalert", "magictunnelhealthcheckevent", "magicwantunnelhealth", "maintenanceeventnotification", "mtlscertificatestorecertificateexpirationtype", "pageseventalert", "radarnotification", "realoriginmonitoring", "scriptmonitoralertnewcodechangedetections", "scriptmonitoralertnewhosts", "scriptmonitoralertnewmalicioushosts", "scriptmonitoralertnewmaliciousscripts", "scriptmonitoralertnewmaliciousurl", "scriptmonitoralertnewmaxlengthresourceurl", "scriptmonitoralertnewresources", "secondarydnsallprimariesfailing", "secondarydnsprimariesfailing", "secondarydnswarning", "secondarydnszonesuccessfullyupdated", "secondarydnszonevalidationwarning", "securityinsightsalert", "sentinelalert", "streamlivenotifications", "synthetictestlatencyalert", "synthetictestlowavailabilityalert", "trafficanomaliesalert", "tunnelhealthevent", "tunnelupdateevent", "universalssleventtype", "webanalyticsmetricsupdate", "zoneaopcustomcertificateexpirationtype".
Optional description for the Notification policy.
Optional filters that allow you to be alerted only on a subset of events for that alert type based on some criteria. This is only available for select alert types. See alert type documentation for more details.
List of IDs that will be used when dispatching a notification. IDs for email type will be the email address.