NotificationPolicyArgs

data class NotificationPolicyArgs(val accountId: Output<String>? = null, val alertType: Output<String>? = null, val description: Output<String>? = null, val emailIntegrations: Output<List<NotificationPolicyEmailIntegrationArgs>>? = null, val enabled: Output<Boolean>? = null, val filters: Output<NotificationPolicyFiltersArgs>? = null, val name: Output<String>? = null, val pagerdutyIntegrations: Output<List<NotificationPolicyPagerdutyIntegrationArgs>>? = null, val webhooksIntegrations: Output<List<NotificationPolicyWebhooksIntegrationArgs>>? = null) : ConvertibleToJava<NotificationPolicyArgs>

Provides a resource, that manages a notification policy for Cloudflare's products. The delivery mechanisms supported are email, webhooks, and PagerDuty.

Import

$ pulumi import cloudflare:index/notificationPolicy:NotificationPolicy example <account_id>/<policy_id>

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, alertType: Output<String>? = null, description: Output<String>? = null, emailIntegrations: Output<List<NotificationPolicyEmailIntegrationArgs>>? = null, enabled: Output<Boolean>? = null, filters: Output<NotificationPolicyFiltersArgs>? = null, name: Output<String>? = null, pagerdutyIntegrations: Output<List<NotificationPolicyPagerdutyIntegrationArgs>>? = null, webhooksIntegrations: Output<List<NotificationPolicyWebhooksIntegrationArgs>>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null

The account identifier to target for the resource.

Link copied to clipboard
val alertType: Output<String>? = null

The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of available alert types. Available values: access_custom_certificate_expiration_type, advanced_ddos_attack_l4_alert, advanced_ddos_attack_l7_alert, bgp_hijack_notification, billing_usage_alert, block_notification_block_removed, block_notification_new_block, block_notification_review_rejected, clickhouse_alert_fw_anomaly, clickhouse_alert_fw_ent_anomaly, custom_ssl_certificate_event_type, dedicated_ssl_certificate_event_type, dos_attack_l4, dos_attack_l7, expiring_service_token_alert, failing_logpush_job_disabled_alert, fbm_auto_advertisement, fbm_dosd_attack, fbm_volumetric_attack, health_check_status_notification, hostname_aop_custom_certificate_expiration_type, http_alert_edge_error, http_alert_origin_error, load_balancing_health_alert, load_balancing_pool_enablement_alert, real_origin_monitoring, scriptmonitor_alert_new_code_change_detections, scriptmonitor_alert_new_hosts, scriptmonitor_alert_new_malicious_hosts, scriptmonitor_alert_new_malicious_scripts, scriptmonitor_alert_new_malicious_url, scriptmonitor_alert_new_max_length_resource_url, scriptmonitor_alert_new_resources, secondary_dns_all_primaries_failing, secondary_dns_primaries_failing, secondary_dns_zone_successfully_updated, secondary_dns_zone_validation_warning, sentinel_alert, stream_live_notifications, tunnel_health_event, tunnel_update_event, universal_ssl_event_type, web_analytics_metrics_update, weekly_account_overview, workers_alert, zone_aop_custom_certificate_expiration_type.

Link copied to clipboard
val description: Output<String>? = null

Description of the notification policy.

Link copied to clipboard

The email id to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.

Link copied to clipboard
val enabled: Output<Boolean>? = null

The status of the notification policy.

Link copied to clipboard

An optional nested block of filters that applies to the selected alert_type. A key-value map that specifies the type of filter and the values to match against (refer to the alert type block for available fields).

Link copied to clipboard
val name: Output<String>? = null

The name of the notification policy.

Link copied to clipboard

The unique id of a configured pagerduty endpoint to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.

Link copied to clipboard

The unique id of a configured webhooks endpoint to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.

Functions

Link copied to clipboard
open override fun toJava(): NotificationPolicyArgs