---
title: Alerting
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/terraform)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Alerting

#### AlertingDestinationsWebhooks

#### resource cloudflare\_notification\_policy\_webhooks

##### required Expand Collapse

account\_id: String

The account id

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20account_id>)

name: String

The name of the webhook destination. This will be included in the request body when you receive a webhook notification.

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20name>)

url: String

The POST endpoint to call when dispatching a notification.

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20url>)

##### optional Expand Collapse

secret?: String

Optional secret that will be passed in the `cf-webhook-auth` header when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any API response body.

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20secret>)

##### computed Expand Collapse

id: String

UUID

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20id>)

created\_at: Time

Timestamp of when the webhook destination was created.

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20created_at>)

last\_failure: Time

Timestamp of the last time an attempt to dispatch a notification to this webhook failed.

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20last_failure>)

last\_success: Time

Timestamp of the last time Cloudflare was able to successfully dispatch a notification using this webhook.

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20last_success>)

type: String

Type of webhook endpoint.

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20type>)

### cloudflare\_notification\_policy\_webhooks

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_notification_policy_webhooks" "example_notification_policy_webhooks" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  name = "Slack Webhook"
  url = "https://hooks.slack.com/services/Ds3fdBFbV/456464Gdd"
  secret = "secret"
}
```

#### data cloudflare\_notification\_policy\_webhooks

##### required Expand Collapse

webhook\_id: String

The unique identifier of a webhook

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20webhook_id>)

account\_id: String

The account id

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20account_id>)

##### computed Expand Collapse

id: String

The unique identifier of a webhook

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20id>)

created\_at: Time

Timestamp of when the webhook destination was created.

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20created_at>)

last\_failure: Time

Timestamp of the last time an attempt to dispatch a notification to this webhook failed.

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20last_failure>)

last\_success: Time

Timestamp of the last time Cloudflare was able to successfully dispatch a notification using this webhook.

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20last_success>)

name: String

The name of the webhook destination. This will be included in the request body when you receive a webhook notification.

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20name>)

secret: String

Optional secret that will be passed in the `cf-webhook-auth` header when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any API response body.

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20secret>)

type: String

Type of webhook endpoint.

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20type>)

url: String

The POST endpoint to call when dispatching a notification.

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20url>)

### cloudflare\_notification\_policy\_webhooks

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_notification_policy_webhooks" "example_notification_policy_webhooks" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  webhook_id = "b115d5ec15c641ee8b7692c449b5227b"
}
```

#### data cloudflare\_notification\_policy\_webhooks\_list

##### required Expand Collapse

account\_id: String

The account id

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20account_id>)

##### optional Expand Collapse

max\_items?: Int64

Max items to fetch, default: 1000

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20max_items>)

##### computed Expand Collapse

<details>

<summary>

result: List\[Attributes]

The items returned by the data source

</summary>

id: String

The unique identifier of a webhook

<a href="#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20id">Link to this property</a>

created\_at: Time

Timestamp of when the webhook destination was created.

<a href="#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20created_at">Link to this property</a>

last\_failure: Time

Timestamp of the last time an attempt to dispatch a notification to this webhook failed.

<a href="#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20last_failure">Link to this property</a>

last\_success: Time

Timestamp of the last time Cloudflare was able to successfully dispatch a notification using this webhook.

<a href="#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20last_success">Link to this property</a>

name: String

The name of the webhook destination. This will be included in the request body when you receive a webhook notification.

<a href="#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20name">Link to this property</a>

secret: String

Optional secret that will be passed in the <code>cf-webhook-auth</code> header when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any API response body.

<a href="#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20secret">Link to this property</a>

type: String

Type of webhook endpoint.

<a href="#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20type">Link to this property</a>

url: String

The POST endpoint to call when dispatching a notification.

<a href="#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20url">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.destinations.webhooks%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result>)

### cloudflare\_notification\_policy\_webhooks\_list

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_notification_policy_webhooks_list" "example_notification_policy_webhooks_list" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
```

#### AlertingPolicies

#### resource cloudflare\_notification\_policy

##### required Expand Collapse

account\_id: String

The account id

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20account_id>)

alert\_type: String

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.

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20alert_type>)

name: String

Name of the policy.

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20name>)

<details>

<summary>

mechanisms: Attributes

List of IDs that will be used when dispatching a notification. IDs for email type will be the email address.

</summary>

<details>

<summary>

email?: List\[Attributes]

</summary>

id?: String

The email address

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20email%20%3E%20(attribute)%20id">Link to this property</a>

</details>

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20email">Link to this property</a>

<details>

<summary>

pagerduty?: List\[Attributes]

</summary>

id?: String

UUID

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20pagerduty%20%3E%20(attribute)%20id">Link to this property</a>

</details>

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20pagerduty">Link to this property</a>

<details>

<summary>

webhooks?: List\[Attributes]

</summary>

id?: String

UUID

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20webhooks%20%3E%20(attribute)%20id">Link to this property</a>

</details>

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20webhooks">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20mechanisms>)

##### optional Expand Collapse

alert\_interval?: String

Optional specification of how often to re-alert from the same incident, not support on all alert types.

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20alert_interval>)

description?: String

Optional description for the Notification policy.

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20description>)

<details>

<summary>

filters?: Attributes

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.

</summary>

actions?: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20actions">Link to this property</a>

affected\_asns?: List\[String]

Used for configuring radar\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20affected_asns">Link to this property</a>

affected\_components?: List\[String]

Used for configuring incident\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20affected_components">Link to this property</a>

affected\_locations?: List\[String]

Used for configuring radar\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20affected_locations">Link to this property</a>

airport\_code?: List\[String]

Used for configuring maintenance\_event\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20airport_code">Link to this property</a>

alert\_trigger\_preferences?: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20alert_trigger_preferences">Link to this property</a>

alert\_trigger\_preferences\_value?: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20alert_trigger_preferences_value">Link to this property</a>

enabled?: List\[String]

Used for configuring load\_balancing\_pool\_enablement\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20enabled">Link to this property</a>

environment?: List\[String]

Used for configuring pages\_event\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20environment">Link to this property</a>

event?: List\[String]

Used for configuring pages\_event\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20event">Link to this property</a>

event\_source?: List\[String]

Used for configuring load\_balancing\_health\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20event_source">Link to this property</a>

event\_type?: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20event_type">Link to this property</a>

group\_by?: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20group_by">Link to this property</a>

health\_check\_id?: List\[String]

Used for configuring health\_check\_status\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20health_check_id">Link to this property</a>

incident\_impact?: List\[String]

Used for configuring incident\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20incident_impact">Link to this property</a>

input\_id?: List\[String]

Used for configuring stream\_live\_notifications

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20input_id">Link to this property</a>

insight\_class?: List\[String]

Used for configuring security\_insights\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20insight_class">Link to this property</a>

limit?: List\[String]

Used for configuring billing\_usage\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20limit">Link to this property</a>

logo\_tag?: List\[String]

Used for configuring logo\_match\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20logo_tag">Link to this property</a>

megabits\_per\_second?: List\[String]

Used for configuring advanced\_ddos\_attack\_l4\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20megabits_per_second">Link to this property</a>

new\_health?: List\[String]

Used for configuring load\_balancing\_health\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20new_health">Link to this property</a>

new\_status?: List\[String]

Used for configuring tunnel\_health\_event

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20new_status">Link to this property</a>

packets\_per\_second?: List\[String]

Used for configuring advanced\_ddos\_attack\_l4\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20packets_per_second">Link to this property</a>

pool\_id?: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20pool_id">Link to this property</a>

pop\_names?: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20pop_names">Link to this property</a>

product?: List\[String]

Used for configuring billing\_usage\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20product">Link to this property</a>

project\_id?: List\[String]

Used for configuring pages\_event\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20project_id">Link to this property</a>

protocol?: List\[String]

Used for configuring advanced\_ddos\_attack\_l4\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20protocol">Link to this property</a>

query\_tag?: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20query_tag">Link to this property</a>

requests\_per\_second?: List\[String]

Used for configuring advanced\_ddos\_attack\_l7\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20requests_per_second">Link to this property</a>

selectors?: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20selectors">Link to this property</a>

services?: List\[String]

Used for configuring clickhouse\_alert\_fw\_ent\_anomaly

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20services">Link to this property</a>

slo?: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20slo">Link to this property</a>

status?: List\[String]

Used for configuring health\_check\_status\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20status">Link to this property</a>

target\_hostname?: List\[String]

Used for configuring advanced\_ddos\_attack\_l7\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20target_hostname">Link to this property</a>

target\_ip?: List\[String]

Used for configuring advanced\_ddos\_attack\_l4\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20target_ip">Link to this property</a>

target\_zone\_name?: List\[String]

Used for configuring advanced\_ddos\_attack\_l7\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20target_zone_name">Link to this property</a>

token\_id?: List\[String]

Access service token IDs to include for expiring\_service\_token\_alert. Omit this property to include all current and future service tokens.

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20token_id">Link to this property</a>

traffic\_exclusions?: List\[String]

Used for configuring traffic\_anomalies\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20traffic_exclusions">Link to this property</a>

tunnel\_id?: List\[String]

Used for configuring tunnel\_health\_event

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20tunnel_id">Link to this property</a>

tunnel\_name?: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20tunnel_name">Link to this property</a>

type?: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20type">Link to this property</a>

where?: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20where">Link to this property</a>

zones?: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20zones">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20filters>)

enabled?: Bool

Whether or not the Notification policy is enabled.

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20enabled>)

##### computed Expand Collapse

id: String

UUID

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20id>)

created: Time

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20created>)

modified: Time

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20modified>)

### cloudflare\_notification\_policy

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_notification_policy" "example_notification_policy" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  alert_type = "universal_ssl_event_type"
  enabled = true
  mechanisms = {
    email = [{
      id = "id"
    }]
    pagerduty = [{
      id = "f174e90afafe4643bbbc4a0ed4fc8415"
    }]
    webhooks = [{
      id = "f174e90afafe4643bbbc4a0ed4fc8415"
    }]
  }
  name = "SSL Notification Event Policy"
  alert_interval = "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"]
    token_id = ["x"]
    traffic_exclusions = ["security_events"]
    tunnel_id = ["string"]
    tunnel_name = ["string"]
    type = ["string"]
    where = ["string"]
    zones = ["string"]
  }
}
```

#### data cloudflare\_notification\_policy

##### required Expand Collapse

policy\_id: String

The unique identifier of a notification policy

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20policy_id>)

account\_id: String

The account id

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20account_id>)

##### computed Expand Collapse

id: String

The unique identifier of a notification policy

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20id>)

alert\_interval: String

Optional specification of how often to re-alert from the same incident, not support on all alert types.

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20alert_interval>)

alert\_type: String

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.

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20alert_type>)

created: Time

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20created>)

description: String

Optional description for the Notification policy.

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20description>)

enabled: Bool

Whether or not the Notification policy is enabled.

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20enabled>)

modified: Time

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20modified>)

name: String

Name of the policy.

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20name>)

<details>

<summary>

filters: Attributes

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.

</summary>

actions: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20actions">Link to this property</a>

affected\_asns: List\[String]

Used for configuring radar\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20affected_asns">Link to this property</a>

affected\_components: List\[String]

Used for configuring incident\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20affected_components">Link to this property</a>

affected\_locations: List\[String]

Used for configuring radar\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20affected_locations">Link to this property</a>

airport\_code: List\[String]

Used for configuring maintenance\_event\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20airport_code">Link to this property</a>

alert\_trigger\_preferences: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20alert_trigger_preferences">Link to this property</a>

alert\_trigger\_preferences\_value: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20alert_trigger_preferences_value">Link to this property</a>

enabled: List\[String]

Used for configuring load\_balancing\_pool\_enablement\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20enabled">Link to this property</a>

environment: List\[String]

Used for configuring pages\_event\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20environment">Link to this property</a>

event: List\[String]

Used for configuring pages\_event\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20event">Link to this property</a>

event\_source: List\[String]

Used for configuring load\_balancing\_health\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20event_source">Link to this property</a>

event\_type: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20event_type">Link to this property</a>

group\_by: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20group_by">Link to this property</a>

health\_check\_id: List\[String]

Used for configuring health\_check\_status\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20health_check_id">Link to this property</a>

incident\_impact: List\[String]

Used for configuring incident\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20incident_impact">Link to this property</a>

input\_id: List\[String]

Used for configuring stream\_live\_notifications

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20input_id">Link to this property</a>

insight\_class: List\[String]

Used for configuring security\_insights\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20insight_class">Link to this property</a>

limit: List\[String]

Used for configuring billing\_usage\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20limit">Link to this property</a>

logo\_tag: List\[String]

Used for configuring logo\_match\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20logo_tag">Link to this property</a>

megabits\_per\_second: List\[String]

Used for configuring advanced\_ddos\_attack\_l4\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20megabits_per_second">Link to this property</a>

new\_health: List\[String]

Used for configuring load\_balancing\_health\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20new_health">Link to this property</a>

new\_status: List\[String]

Used for configuring tunnel\_health\_event

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20new_status">Link to this property</a>

packets\_per\_second: List\[String]

Used for configuring advanced\_ddos\_attack\_l4\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20packets_per_second">Link to this property</a>

pool\_id: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20pool_id">Link to this property</a>

pop\_names: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20pop_names">Link to this property</a>

product: List\[String]

Used for configuring billing\_usage\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20product">Link to this property</a>

project\_id: List\[String]

Used for configuring pages\_event\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20project_id">Link to this property</a>

protocol: List\[String]

Used for configuring advanced\_ddos\_attack\_l4\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20protocol">Link to this property</a>

query\_tag: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20query_tag">Link to this property</a>

requests\_per\_second: List\[String]

Used for configuring advanced\_ddos\_attack\_l7\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20requests_per_second">Link to this property</a>

selectors: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20selectors">Link to this property</a>

services: List\[String]

Used for configuring clickhouse\_alert\_fw\_ent\_anomaly

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20services">Link to this property</a>

slo: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20slo">Link to this property</a>

status: List\[String]

Used for configuring health\_check\_status\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20status">Link to this property</a>

target\_hostname: List\[String]

Used for configuring advanced\_ddos\_attack\_l7\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20target_hostname">Link to this property</a>

target\_ip: List\[String]

Used for configuring advanced\_ddos\_attack\_l4\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20target_ip">Link to this property</a>

target\_zone\_name: List\[String]

Used for configuring advanced\_ddos\_attack\_l7\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20target_zone_name">Link to this property</a>

token\_id: List\[String]

Access service token IDs to include for expiring\_service\_token\_alert. Omit this property to include all current and future service tokens.

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20token_id">Link to this property</a>

traffic\_exclusions: List\[String]

Used for configuring traffic\_anomalies\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20traffic_exclusions">Link to this property</a>

tunnel\_id: List\[String]

Used for configuring tunnel\_health\_event

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20tunnel_id">Link to this property</a>

tunnel\_name: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20tunnel_name">Link to this property</a>

type: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20type">Link to this property</a>

where: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20where">Link to this property</a>

zones: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20zones">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filters>)

<details>

<summary>

mechanisms: Attributes

List of IDs that will be used when dispatching a notification. IDs for email type will be the email address.

</summary>

<details>

<summary>

email: List\[Attributes]

</summary>

id: String

The email address

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20email%20%3E%20(attribute)%20id">Link to this property</a>

</details>

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20email">Link to this property</a>

<details>

<summary>

pagerduty: List\[Attributes]

</summary>

id: String

UUID

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20pagerduty%20%3E%20(attribute)%20id">Link to this property</a>

</details>

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20pagerduty">Link to this property</a>

<details>

<summary>

webhooks: List\[Attributes]

</summary>

id: String

UUID

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20webhooks%20%3E%20(attribute)%20id">Link to this property</a>

</details>

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20webhooks">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20mechanisms>)

### cloudflare\_notification\_policy

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_notification_policy" "example_notification_policy" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  policy_id = "0da2b59ef118439d8097bdfb215203c9"
}
```

#### data cloudflare\_notification\_policies

##### required Expand Collapse

account\_id: String

The account id

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20account_id>)

##### optional Expand Collapse

max\_items?: Int64

Max items to fetch, default: 1000

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20max_items>)

##### computed Expand Collapse

<details>

<summary>

result: List\[Attributes]

The items returned by the data source

</summary>

id: String

The unique identifier of a notification policy

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20id">Link to this property</a>

alert\_interval: String

Optional specification of how often to re-alert from the same incident, not support on all alert types.

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20alert_interval">Link to this property</a>

alert\_type: String

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.

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20alert_type">Link to this property</a>

created: Time

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20created">Link to this property</a>

description: String

Optional description for the Notification policy.

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20description">Link to this property</a>

enabled: Bool

Whether or not the Notification policy is enabled.

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20enabled">Link to this property</a>

<details>

<summary>

filters: Attributes

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.

</summary>

actions: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20actions">Link to this property</a>

affected\_asns: List\[String]

Used for configuring radar\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20affected_asns">Link to this property</a>

affected\_components: List\[String]

Used for configuring incident\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20affected_components">Link to this property</a>

affected\_locations: List\[String]

Used for configuring radar\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20affected_locations">Link to this property</a>

airport\_code: List\[String]

Used for configuring maintenance\_event\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20airport_code">Link to this property</a>

alert\_trigger\_preferences: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20alert_trigger_preferences">Link to this property</a>

alert\_trigger\_preferences\_value: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20alert_trigger_preferences_value">Link to this property</a>

enabled: List\[String]

Used for configuring load\_balancing\_pool\_enablement\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20enabled">Link to this property</a>

environment: List\[String]

Used for configuring pages\_event\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20environment">Link to this property</a>

event: List\[String]

Used for configuring pages\_event\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20event">Link to this property</a>

event\_source: List\[String]

Used for configuring load\_balancing\_health\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20event_source">Link to this property</a>

event\_type: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20event_type">Link to this property</a>

group\_by: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20group_by">Link to this property</a>

health\_check\_id: List\[String]

Used for configuring health\_check\_status\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20health_check_id">Link to this property</a>

incident\_impact: List\[String]

Used for configuring incident\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20incident_impact">Link to this property</a>

input\_id: List\[String]

Used for configuring stream\_live\_notifications

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20input_id">Link to this property</a>

insight\_class: List\[String]

Used for configuring security\_insights\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20insight_class">Link to this property</a>

limit: List\[String]

Used for configuring billing\_usage\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20limit">Link to this property</a>

logo\_tag: List\[String]

Used for configuring logo\_match\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20logo_tag">Link to this property</a>

megabits\_per\_second: List\[String]

Used for configuring advanced\_ddos\_attack\_l4\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20megabits_per_second">Link to this property</a>

new\_health: List\[String]

Used for configuring load\_balancing\_health\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20new_health">Link to this property</a>

new\_status: List\[String]

Used for configuring tunnel\_health\_event

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20new_status">Link to this property</a>

packets\_per\_second: List\[String]

Used for configuring advanced\_ddos\_attack\_l4\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20packets_per_second">Link to this property</a>

pool\_id: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20pool_id">Link to this property</a>

pop\_names: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20pop_names">Link to this property</a>

product: List\[String]

Used for configuring billing\_usage\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20product">Link to this property</a>

project\_id: List\[String]

Used for configuring pages\_event\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20project_id">Link to this property</a>

protocol: List\[String]

Used for configuring advanced\_ddos\_attack\_l4\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20protocol">Link to this property</a>

query\_tag: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20query_tag">Link to this property</a>

requests\_per\_second: List\[String]

Used for configuring advanced\_ddos\_attack\_l7\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20requests_per_second">Link to this property</a>

selectors: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20selectors">Link to this property</a>

services: List\[String]

Used for configuring clickhouse\_alert\_fw\_ent\_anomaly

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20services">Link to this property</a>

slo: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20slo">Link to this property</a>

status: List\[String]

Used for configuring health\_check\_status\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20status">Link to this property</a>

target\_hostname: List\[String]

Used for configuring advanced\_ddos\_attack\_l7\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20target_hostname">Link to this property</a>

target\_ip: List\[String]

Used for configuring advanced\_ddos\_attack\_l4\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20target_ip">Link to this property</a>

target\_zone\_name: List\[String]

Used for configuring advanced\_ddos\_attack\_l7\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20target_zone_name">Link to this property</a>

token\_id: List\[String]

Access service token IDs to include for expiring\_service\_token\_alert. Omit this property to include all current and future service tokens.

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20token_id">Link to this property</a>

traffic\_exclusions: List\[String]

Used for configuring traffic\_anomalies\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20traffic_exclusions">Link to this property</a>

tunnel\_id: List\[String]

Used for configuring tunnel\_health\_event

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20tunnel_id">Link to this property</a>

tunnel\_name: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20tunnel_name">Link to this property</a>

type: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20type">Link to this property</a>

where: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20where">Link to this property</a>

zones: List\[String]

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters%20%3E%20(attribute)%20zones">Link to this property</a>

</details>

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20filters">Link to this property</a>

<details>

<summary>

mechanisms: Attributes

List of IDs that will be used when dispatching a notification. IDs for email type will be the email address.

</summary>

<details>

<summary>

email: List\[Attributes]

</summary>

id: String

The email address

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20email%20%3E%20(attribute)%20id">Link to this property</a>

</details>

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20email">Link to this property</a>

<details>

<summary>

pagerduty: List\[Attributes]

</summary>

id: String

UUID

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20pagerduty%20%3E%20(attribute)%20id">Link to this property</a>

</details>

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20pagerduty">Link to this property</a>

<details>

<summary>

webhooks: List\[Attributes]

</summary>

id: String

UUID

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20webhooks%20%3E%20(attribute)%20id">Link to this property</a>

</details>

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20mechanisms%20%3E%20(attribute)%20webhooks">Link to this property</a>

</details>

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20mechanisms">Link to this property</a>

modified: Time

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20modified">Link to this property</a>

name: String

Name of the policy.

<a href="#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20name">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result>)

### cloudflare\_notification\_policies

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_notification_policies" "example_notification_policies" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
```