1. Packages
  2. Cloudflare
  3. API Docs
  4. NotificationPolicy
Cloudflare v5.23.0 published on Monday, Mar 25, 2024 by Pulumi

cloudflare.NotificationPolicy

Explore with Pulumi AI

cloudflare logo
Cloudflare v5.23.0 published on Monday, Mar 25, 2024 by Pulumi

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    //## With Filters
    const example = new cloudflare.NotificationPolicy("example", {
        accountId: "f037e56e89293a057740de681ac9abbe",
        alertType: "health_check_status_notification",
        description: "Notification policy to alert on unhealthy Healthcheck status",
        emailIntegrations: [{
            id: "myemail@example.com",
        }],
        enabled: true,
        filters: {
            healthCheckIds: ["699d98642c564d2e855e9661899b7252"],
            statuses: ["Unhealthy"],
        },
        name: "Policy for Healthcheck notification",
        pagerdutyIntegrations: [{
            id: "850129d136459401860572c5d964d27k",
        }],
        webhooksIntegrations: [{
            id: "1860572c5d964d27aa0f379d13645940",
        }],
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    ### With Filters
    example = cloudflare.NotificationPolicy("example",
        account_id="f037e56e89293a057740de681ac9abbe",
        alert_type="health_check_status_notification",
        description="Notification policy to alert on unhealthy Healthcheck status",
        email_integrations=[cloudflare.NotificationPolicyEmailIntegrationArgs(
            id="myemail@example.com",
        )],
        enabled=True,
        filters=cloudflare.NotificationPolicyFiltersArgs(
            health_check_ids=["699d98642c564d2e855e9661899b7252"],
            statuses=["Unhealthy"],
        ),
        name="Policy for Healthcheck notification",
        pagerduty_integrations=[cloudflare.NotificationPolicyPagerdutyIntegrationArgs(
            id="850129d136459401860572c5d964d27k",
        )],
        webhooks_integrations=[cloudflare.NotificationPolicyWebhooksIntegrationArgs(
            id="1860572c5d964d27aa0f379d13645940",
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// ## With Filters
    		_, err := cloudflare.NewNotificationPolicy(ctx, "example", &cloudflare.NotificationPolicyArgs{
    			AccountId:   pulumi.String("f037e56e89293a057740de681ac9abbe"),
    			AlertType:   pulumi.String("health_check_status_notification"),
    			Description: pulumi.String("Notification policy to alert on unhealthy Healthcheck status"),
    			EmailIntegrations: cloudflare.NotificationPolicyEmailIntegrationArray{
    				&cloudflare.NotificationPolicyEmailIntegrationArgs{
    					Id: pulumi.String("myemail@example.com"),
    				},
    			},
    			Enabled: pulumi.Bool(true),
    			Filters: &cloudflare.NotificationPolicyFiltersArgs{
    				HealthCheckIds: pulumi.StringArray{
    					pulumi.String("699d98642c564d2e855e9661899b7252"),
    				},
    				Statuses: pulumi.StringArray{
    					pulumi.String("Unhealthy"),
    				},
    			},
    			Name: pulumi.String("Policy for Healthcheck notification"),
    			PagerdutyIntegrations: cloudflare.NotificationPolicyPagerdutyIntegrationArray{
    				&cloudflare.NotificationPolicyPagerdutyIntegrationArgs{
    					Id: pulumi.String("850129d136459401860572c5d964d27k"),
    				},
    			},
    			WebhooksIntegrations: cloudflare.NotificationPolicyWebhooksIntegrationArray{
    				&cloudflare.NotificationPolicyWebhooksIntegrationArgs{
    					Id: pulumi.String("1860572c5d964d27aa0f379d13645940"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        //## With Filters
        var example = new Cloudflare.NotificationPolicy("example", new()
        {
            AccountId = "f037e56e89293a057740de681ac9abbe",
            AlertType = "health_check_status_notification",
            Description = "Notification policy to alert on unhealthy Healthcheck status",
            EmailIntegrations = new[]
            {
                new Cloudflare.Inputs.NotificationPolicyEmailIntegrationArgs
                {
                    Id = "myemail@example.com",
                },
            },
            Enabled = true,
            Filters = new Cloudflare.Inputs.NotificationPolicyFiltersArgs
            {
                HealthCheckIds = new[]
                {
                    "699d98642c564d2e855e9661899b7252",
                },
                Statuses = new[]
                {
                    "Unhealthy",
                },
            },
            Name = "Policy for Healthcheck notification",
            PagerdutyIntegrations = new[]
            {
                new Cloudflare.Inputs.NotificationPolicyPagerdutyIntegrationArgs
                {
                    Id = "850129d136459401860572c5d964d27k",
                },
            },
            WebhooksIntegrations = new[]
            {
                new Cloudflare.Inputs.NotificationPolicyWebhooksIntegrationArgs
                {
                    Id = "1860572c5d964d27aa0f379d13645940",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.NotificationPolicy;
    import com.pulumi.cloudflare.NotificationPolicyArgs;
    import com.pulumi.cloudflare.inputs.NotificationPolicyEmailIntegrationArgs;
    import com.pulumi.cloudflare.inputs.NotificationPolicyFiltersArgs;
    import com.pulumi.cloudflare.inputs.NotificationPolicyPagerdutyIntegrationArgs;
    import com.pulumi.cloudflare.inputs.NotificationPolicyWebhooksIntegrationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new NotificationPolicy("example", NotificationPolicyArgs.builder()        
                .accountId("f037e56e89293a057740de681ac9abbe")
                .alertType("health_check_status_notification")
                .description("Notification policy to alert on unhealthy Healthcheck status")
                .emailIntegrations(NotificationPolicyEmailIntegrationArgs.builder()
                    .id("myemail@example.com")
                    .build())
                .enabled(true)
                .filters(NotificationPolicyFiltersArgs.builder()
                    .healthCheckIds("699d98642c564d2e855e9661899b7252")
                    .statuses("Unhealthy")
                    .build())
                .name("Policy for Healthcheck notification")
                .pagerdutyIntegrations(NotificationPolicyPagerdutyIntegrationArgs.builder()
                    .id("850129d136459401860572c5d964d27k")
                    .build())
                .webhooksIntegrations(NotificationPolicyWebhooksIntegrationArgs.builder()
                    .id("1860572c5d964d27aa0f379d13645940")
                    .build())
                .build());
    
        }
    }
    
    resources:
      ## With Filters
      example:
        type: cloudflare:NotificationPolicy
        properties:
          accountId: f037e56e89293a057740de681ac9abbe
          alertType: health_check_status_notification
          description: Notification policy to alert on unhealthy Healthcheck status
          emailIntegrations:
            - id: myemail@example.com
          enabled: true
          filters:
            healthCheckIds:
              - 699d98642c564d2e855e9661899b7252
            statuses:
              - Unhealthy
          name: Policy for Healthcheck notification
          pagerdutyIntegrations:
            - id: 850129d136459401860572c5d964d27k
          webhooksIntegrations:
            - id: 1860572c5d964d27aa0f379d13645940
    

    Create NotificationPolicy Resource

    new NotificationPolicy(name: string, args: NotificationPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def NotificationPolicy(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           account_id: Optional[str] = None,
                           alert_type: Optional[str] = None,
                           description: Optional[str] = None,
                           email_integrations: Optional[Sequence[NotificationPolicyEmailIntegrationArgs]] = None,
                           enabled: Optional[bool] = None,
                           filters: Optional[NotificationPolicyFiltersArgs] = None,
                           name: Optional[str] = None,
                           pagerduty_integrations: Optional[Sequence[NotificationPolicyPagerdutyIntegrationArgs]] = None,
                           webhooks_integrations: Optional[Sequence[NotificationPolicyWebhooksIntegrationArgs]] = None)
    @overload
    def NotificationPolicy(resource_name: str,
                           args: NotificationPolicyArgs,
                           opts: Optional[ResourceOptions] = None)
    func NewNotificationPolicy(ctx *Context, name string, args NotificationPolicyArgs, opts ...ResourceOption) (*NotificationPolicy, error)
    public NotificationPolicy(string name, NotificationPolicyArgs args, CustomResourceOptions? opts = null)
    public NotificationPolicy(String name, NotificationPolicyArgs args)
    public NotificationPolicy(String name, NotificationPolicyArgs args, CustomResourceOptions options)
    
    type: cloudflare:NotificationPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args NotificationPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args NotificationPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args NotificationPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NotificationPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NotificationPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    NotificationPolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The NotificationPolicy resource accepts the following input properties:

    AccountId string
    The account identifier to target for the resource.
    AlertType string
    The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of available alert types. Available values: advanced_http_alert_error, 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, brand_protection_alert, brand_protection_digest, 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, incident_alert, load_balancing_health_alert, load_balancing_pool_enablement_alert, logo_match_alert, magic_tunnel_health_check_event, maintenance_event_notification, mtls_certificate_store_certificate_expiration_type, pages_event_alert, radar_notification, 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, traffic_anomalies_alert, 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.
    Enabled bool
    State of the pool to alert on.
    Name string
    The name of the notification policy.
    Description string
    Description of the notification policy.
    EmailIntegrations List<NotificationPolicyEmailIntegration>
    The email ID to which the notification should be dispatched.
    Filters NotificationPolicyFilters
    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).
    PagerdutyIntegrations List<NotificationPolicyPagerdutyIntegration>
    The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
    WebhooksIntegrations List<NotificationPolicyWebhooksIntegration>
    The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
    AccountId string
    The account identifier to target for the resource.
    AlertType string
    The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of available alert types. Available values: advanced_http_alert_error, 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, brand_protection_alert, brand_protection_digest, 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, incident_alert, load_balancing_health_alert, load_balancing_pool_enablement_alert, logo_match_alert, magic_tunnel_health_check_event, maintenance_event_notification, mtls_certificate_store_certificate_expiration_type, pages_event_alert, radar_notification, 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, traffic_anomalies_alert, 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.
    Enabled bool
    State of the pool to alert on.
    Name string
    The name of the notification policy.
    Description string
    Description of the notification policy.
    EmailIntegrations []NotificationPolicyEmailIntegrationArgs
    The email ID to which the notification should be dispatched.
    Filters NotificationPolicyFiltersArgs
    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).
    PagerdutyIntegrations []NotificationPolicyPagerdutyIntegrationArgs
    The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
    WebhooksIntegrations []NotificationPolicyWebhooksIntegrationArgs
    The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
    accountId String
    The account identifier to target for the resource.
    alertType String
    The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of available alert types. Available values: advanced_http_alert_error, 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, brand_protection_alert, brand_protection_digest, 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, incident_alert, load_balancing_health_alert, load_balancing_pool_enablement_alert, logo_match_alert, magic_tunnel_health_check_event, maintenance_event_notification, mtls_certificate_store_certificate_expiration_type, pages_event_alert, radar_notification, 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, traffic_anomalies_alert, 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.
    enabled Boolean
    State of the pool to alert on.
    name String
    The name of the notification policy.
    description String
    Description of the notification policy.
    emailIntegrations List<NotificationPolicyEmailIntegration>
    The email ID to which the notification should be dispatched.
    filters NotificationPolicyFilters
    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).
    pagerdutyIntegrations List<NotificationPolicyPagerdutyIntegration>
    The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
    webhooksIntegrations List<NotificationPolicyWebhooksIntegration>
    The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
    accountId string
    The account identifier to target for the resource.
    alertType string
    The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of available alert types. Available values: advanced_http_alert_error, 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, brand_protection_alert, brand_protection_digest, 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, incident_alert, load_balancing_health_alert, load_balancing_pool_enablement_alert, logo_match_alert, magic_tunnel_health_check_event, maintenance_event_notification, mtls_certificate_store_certificate_expiration_type, pages_event_alert, radar_notification, 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, traffic_anomalies_alert, 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.
    enabled boolean
    State of the pool to alert on.
    name string
    The name of the notification policy.
    description string
    Description of the notification policy.
    emailIntegrations NotificationPolicyEmailIntegration[]
    The email ID to which the notification should be dispatched.
    filters NotificationPolicyFilters
    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).
    pagerdutyIntegrations NotificationPolicyPagerdutyIntegration[]
    The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
    webhooksIntegrations NotificationPolicyWebhooksIntegration[]
    The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
    account_id str
    The account identifier to target for the resource.
    alert_type str
    The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of available alert types. Available values: advanced_http_alert_error, 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, brand_protection_alert, brand_protection_digest, 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, incident_alert, load_balancing_health_alert, load_balancing_pool_enablement_alert, logo_match_alert, magic_tunnel_health_check_event, maintenance_event_notification, mtls_certificate_store_certificate_expiration_type, pages_event_alert, radar_notification, 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, traffic_anomalies_alert, 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.
    enabled bool
    State of the pool to alert on.
    name str
    The name of the notification policy.
    description str
    Description of the notification policy.
    email_integrations Sequence[NotificationPolicyEmailIntegrationArgs]
    The email ID to which the notification should be dispatched.
    filters NotificationPolicyFiltersArgs
    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).
    pagerduty_integrations Sequence[NotificationPolicyPagerdutyIntegrationArgs]
    The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
    webhooks_integrations Sequence[NotificationPolicyWebhooksIntegrationArgs]
    The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
    accountId String
    The account identifier to target for the resource.
    alertType String
    The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of available alert types. Available values: advanced_http_alert_error, 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, brand_protection_alert, brand_protection_digest, 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, incident_alert, load_balancing_health_alert, load_balancing_pool_enablement_alert, logo_match_alert, magic_tunnel_health_check_event, maintenance_event_notification, mtls_certificate_store_certificate_expiration_type, pages_event_alert, radar_notification, 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, traffic_anomalies_alert, 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.
    enabled Boolean
    State of the pool to alert on.
    name String
    The name of the notification policy.
    description String
    Description of the notification policy.
    emailIntegrations List<Property Map>
    The email ID to which the notification should be dispatched.
    filters Property Map
    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).
    pagerdutyIntegrations List<Property Map>
    The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
    webhooksIntegrations List<Property Map>
    The unique ID of a configured webhooks endpoint to which the notification should be dispatched.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NotificationPolicy resource produces the following output properties:

    Created string
    When the notification policy was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Modified string
    When the notification policy was last modified.
    Created string
    When the notification policy was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Modified string
    When the notification policy was last modified.
    created String
    When the notification policy was created.
    id String
    The provider-assigned unique ID for this managed resource.
    modified String
    When the notification policy was last modified.
    created string
    When the notification policy was created.
    id string
    The provider-assigned unique ID for this managed resource.
    modified string
    When the notification policy was last modified.
    created str
    When the notification policy was created.
    id str
    The provider-assigned unique ID for this managed resource.
    modified str
    When the notification policy was last modified.
    created String
    When the notification policy was created.
    id String
    The provider-assigned unique ID for this managed resource.
    modified String
    When the notification policy was last modified.

    Look up Existing NotificationPolicy Resource

    Get an existing NotificationPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: NotificationPolicyState, opts?: CustomResourceOptions): NotificationPolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            alert_type: Optional[str] = None,
            created: Optional[str] = None,
            description: Optional[str] = None,
            email_integrations: Optional[Sequence[NotificationPolicyEmailIntegrationArgs]] = None,
            enabled: Optional[bool] = None,
            filters: Optional[NotificationPolicyFiltersArgs] = None,
            modified: Optional[str] = None,
            name: Optional[str] = None,
            pagerduty_integrations: Optional[Sequence[NotificationPolicyPagerdutyIntegrationArgs]] = None,
            webhooks_integrations: Optional[Sequence[NotificationPolicyWebhooksIntegrationArgs]] = None) -> NotificationPolicy
    func GetNotificationPolicy(ctx *Context, name string, id IDInput, state *NotificationPolicyState, opts ...ResourceOption) (*NotificationPolicy, error)
    public static NotificationPolicy Get(string name, Input<string> id, NotificationPolicyState? state, CustomResourceOptions? opts = null)
    public static NotificationPolicy get(String name, Output<String> id, NotificationPolicyState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    The account identifier to target for the resource.
    AlertType string
    The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of available alert types. Available values: advanced_http_alert_error, 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, brand_protection_alert, brand_protection_digest, 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, incident_alert, load_balancing_health_alert, load_balancing_pool_enablement_alert, logo_match_alert, magic_tunnel_health_check_event, maintenance_event_notification, mtls_certificate_store_certificate_expiration_type, pages_event_alert, radar_notification, 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, traffic_anomalies_alert, 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.
    Created string
    When the notification policy was created.
    Description string
    Description of the notification policy.
    EmailIntegrations List<NotificationPolicyEmailIntegration>
    The email ID to which the notification should be dispatched.
    Enabled bool
    State of the pool to alert on.
    Filters NotificationPolicyFilters
    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).
    Modified string
    When the notification policy was last modified.
    Name string
    The name of the notification policy.
    PagerdutyIntegrations List<NotificationPolicyPagerdutyIntegration>
    The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
    WebhooksIntegrations List<NotificationPolicyWebhooksIntegration>
    The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
    AccountId string
    The account identifier to target for the resource.
    AlertType string
    The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of available alert types. Available values: advanced_http_alert_error, 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, brand_protection_alert, brand_protection_digest, 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, incident_alert, load_balancing_health_alert, load_balancing_pool_enablement_alert, logo_match_alert, magic_tunnel_health_check_event, maintenance_event_notification, mtls_certificate_store_certificate_expiration_type, pages_event_alert, radar_notification, 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, traffic_anomalies_alert, 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.
    Created string
    When the notification policy was created.
    Description string
    Description of the notification policy.
    EmailIntegrations []NotificationPolicyEmailIntegrationArgs
    The email ID to which the notification should be dispatched.
    Enabled bool
    State of the pool to alert on.
    Filters NotificationPolicyFiltersArgs
    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).
    Modified string
    When the notification policy was last modified.
    Name string
    The name of the notification policy.
    PagerdutyIntegrations []NotificationPolicyPagerdutyIntegrationArgs
    The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
    WebhooksIntegrations []NotificationPolicyWebhooksIntegrationArgs
    The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
    accountId String
    The account identifier to target for the resource.
    alertType String
    The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of available alert types. Available values: advanced_http_alert_error, 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, brand_protection_alert, brand_protection_digest, 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, incident_alert, load_balancing_health_alert, load_balancing_pool_enablement_alert, logo_match_alert, magic_tunnel_health_check_event, maintenance_event_notification, mtls_certificate_store_certificate_expiration_type, pages_event_alert, radar_notification, 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, traffic_anomalies_alert, 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.
    created String
    When the notification policy was created.
    description String
    Description of the notification policy.
    emailIntegrations List<NotificationPolicyEmailIntegration>
    The email ID to which the notification should be dispatched.
    enabled Boolean
    State of the pool to alert on.
    filters NotificationPolicyFilters
    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).
    modified String
    When the notification policy was last modified.
    name String
    The name of the notification policy.
    pagerdutyIntegrations List<NotificationPolicyPagerdutyIntegration>
    The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
    webhooksIntegrations List<NotificationPolicyWebhooksIntegration>
    The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
    accountId string
    The account identifier to target for the resource.
    alertType string
    The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of available alert types. Available values: advanced_http_alert_error, 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, brand_protection_alert, brand_protection_digest, 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, incident_alert, load_balancing_health_alert, load_balancing_pool_enablement_alert, logo_match_alert, magic_tunnel_health_check_event, maintenance_event_notification, mtls_certificate_store_certificate_expiration_type, pages_event_alert, radar_notification, 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, traffic_anomalies_alert, 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.
    created string
    When the notification policy was created.
    description string
    Description of the notification policy.
    emailIntegrations NotificationPolicyEmailIntegration[]
    The email ID to which the notification should be dispatched.
    enabled boolean
    State of the pool to alert on.
    filters NotificationPolicyFilters
    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).
    modified string
    When the notification policy was last modified.
    name string
    The name of the notification policy.
    pagerdutyIntegrations NotificationPolicyPagerdutyIntegration[]
    The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
    webhooksIntegrations NotificationPolicyWebhooksIntegration[]
    The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
    account_id str
    The account identifier to target for the resource.
    alert_type str
    The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of available alert types. Available values: advanced_http_alert_error, 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, brand_protection_alert, brand_protection_digest, 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, incident_alert, load_balancing_health_alert, load_balancing_pool_enablement_alert, logo_match_alert, magic_tunnel_health_check_event, maintenance_event_notification, mtls_certificate_store_certificate_expiration_type, pages_event_alert, radar_notification, 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, traffic_anomalies_alert, 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.
    created str
    When the notification policy was created.
    description str
    Description of the notification policy.
    email_integrations Sequence[NotificationPolicyEmailIntegrationArgs]
    The email ID to which the notification should be dispatched.
    enabled bool
    State of the pool to alert on.
    filters NotificationPolicyFiltersArgs
    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).
    modified str
    When the notification policy was last modified.
    name str
    The name of the notification policy.
    pagerduty_integrations Sequence[NotificationPolicyPagerdutyIntegrationArgs]
    The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
    webhooks_integrations Sequence[NotificationPolicyWebhooksIntegrationArgs]
    The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
    accountId String
    The account identifier to target for the resource.
    alertType String
    The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of available alert types. Available values: advanced_http_alert_error, 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, brand_protection_alert, brand_protection_digest, 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, incident_alert, load_balancing_health_alert, load_balancing_pool_enablement_alert, logo_match_alert, magic_tunnel_health_check_event, maintenance_event_notification, mtls_certificate_store_certificate_expiration_type, pages_event_alert, radar_notification, 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, traffic_anomalies_alert, 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.
    created String
    When the notification policy was created.
    description String
    Description of the notification policy.
    emailIntegrations List<Property Map>
    The email ID to which the notification should be dispatched.
    enabled Boolean
    State of the pool to alert on.
    filters Property Map
    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).
    modified String
    When the notification policy was last modified.
    name String
    The name of the notification policy.
    pagerdutyIntegrations List<Property Map>
    The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
    webhooksIntegrations List<Property Map>
    The unique ID of a configured webhooks endpoint to which the notification should be dispatched.

    Supporting Types

    NotificationPolicyEmailIntegration, NotificationPolicyEmailIntegrationArgs

    Id string
    The ID of this resource.
    Name string
    Id string
    The ID of this resource.
    Name string
    id String
    The ID of this resource.
    name String
    id string
    The ID of this resource.
    name string
    id str
    The ID of this resource.
    name str
    id String
    The ID of this resource.
    name String

    NotificationPolicyFilters, NotificationPolicyFiltersArgs

    Actions List<string>
    Targeted actions for alert.
    AffectedComponents List<string>
    Affected components for alert. Available values: API, API Shield, Access, Always Online, Analytics, Apps Marketplace, Argo Smart Routing, Audit Logs, Authoritative DNS, Billing, Bot Management, Bring Your Own IP (BYOIP), Browser Isolation, CDN Cache Purge, CDN/Cache, Cache Reserve, Challenge Platform, Cloud Access Security Broker (CASB), Community Site, DNS Root Servers, DNS Updates, Dashboard, Data Loss Prevention (DLP), Developer's Site, Digital Experience Monitoring (DEX), Distributed Web Gateway, Durable Objects, Email Routing, Ethereum Gateway, Firewall, Gateway, Geo-Key Manager, Image Resizing, Images, Infrastructure, Lists, Load Balancing and Monitoring, Logs, Magic Firewall, Magic Transit, Magic WAN, Magic WAN Connector, Marketing Site, Mirage, Network, Notifications, Observatory, Page Shield, Pages, R2, Radar, Randomness Beacon, Recursive DNS, Registrar, Registration Data Access Protocol (RDAP), SSL Certificate Provisioning, SSL for SaaS Provisioning, Security Center, Snippets, Spectrum, Speed Optimizations, Stream, Support Site, Time Services, Trace, Tunnel, Turnstile, WARP, Waiting Room, Web Analytics, Workers, Workers KV, Workers Preview, Zaraz, Zero Trust, Zero Trust Dashboard, Zone Versioning.
    AirportCodes List<string>
    Filter on Points of Presence.
    AlertTriggerPreferences List<string>
    Alert trigger preferences. Example: slo.
    Enableds List<string>
    State of the pool to alert on.
    Environments List<string>
    Environment of pages. Available values: ENVIRONMENT_PREVIEW, ENVIRONMENT_PRODUCTION.
    EventSources List<string>
    Source configuration to alert on for pool or origin.
    EventTypes List<string>
    Stream event type to alert on.
    Events List<string>
    Pages event to alert. Available values: EVENT_DEPLOYMENT_STARTED, EVENT_DEPLOYMENT_FAILED, EVENT_DEPLOYMENT_SUCCESS.
    GroupBies List<string>
    Alert grouping.
    HealthCheckIds List<string>
    Identifier health check. Required when using filters.0.status.
    IncidentImpacts List<string>
    The incident impact level that will trigger the dispatch of a notification. Available values: INCIDENT_IMPACT_NONE, INCIDENT_IMPACT_MINOR, INCIDENT_IMPACT_MAJOR, INCIDENT_IMPACT_CRITICAL.
    InputIds List<string>
    Stream input id to alert on.
    Limits List<string>
    A numerical limit. Example: 100.
    MegabitsPerSeconds List<string>
    Megabits per second threshold for dos alert.
    NewHealths List<string>
    Health status to alert on for pool or origin.
    NewStatuses List<string>
    Tunnel health status to alert on.
    PacketsPerSeconds List<string>
    Packets per second threshold for dos alert.
    PoolIds List<string>
    Load balancer pool identifier.
    Products List<string>
    Product name. Available values: worker_requests, worker_durable_objects_requests, worker_durable_objects_duration, worker_durable_objects_data_transfer, worker_durable_objects_stored_data, worker_durable_objects_storage_deletes, worker_durable_objects_storage_writes, worker_durable_objects_storage_reads.
    ProjectIds List<string>
    Identifier of pages project.
    Protocols List<string>
    Protocol to alert on for dos.
    RequestsPerSeconds List<string>
    Requests per second threshold for dos alert.
    Selectors List<string>
    Selectors for alert. Valid options depend on the alert type.
    Services List<string>
    Slos List<string>
    A numerical limit. Example: 99.9.
    Statuses List<string>
    Status to alert on.
    TargetHostnames List<string>
    Target host to alert on for dos.
    TargetZoneNames List<string>
    Target domain to alert on.
    TunnelIds List<string>
    Tunnel IDs to alert on.
    Wheres List<string>
    Filter for alert.
    Zones List<string>
    A list of zone identifiers.
    Actions []string
    Targeted actions for alert.
    AffectedComponents []string
    Affected components for alert. Available values: API, API Shield, Access, Always Online, Analytics, Apps Marketplace, Argo Smart Routing, Audit Logs, Authoritative DNS, Billing, Bot Management, Bring Your Own IP (BYOIP), Browser Isolation, CDN Cache Purge, CDN/Cache, Cache Reserve, Challenge Platform, Cloud Access Security Broker (CASB), Community Site, DNS Root Servers, DNS Updates, Dashboard, Data Loss Prevention (DLP), Developer's Site, Digital Experience Monitoring (DEX), Distributed Web Gateway, Durable Objects, Email Routing, Ethereum Gateway, Firewall, Gateway, Geo-Key Manager, Image Resizing, Images, Infrastructure, Lists, Load Balancing and Monitoring, Logs, Magic Firewall, Magic Transit, Magic WAN, Magic WAN Connector, Marketing Site, Mirage, Network, Notifications, Observatory, Page Shield, Pages, R2, Radar, Randomness Beacon, Recursive DNS, Registrar, Registration Data Access Protocol (RDAP), SSL Certificate Provisioning, SSL for SaaS Provisioning, Security Center, Snippets, Spectrum, Speed Optimizations, Stream, Support Site, Time Services, Trace, Tunnel, Turnstile, WARP, Waiting Room, Web Analytics, Workers, Workers KV, Workers Preview, Zaraz, Zero Trust, Zero Trust Dashboard, Zone Versioning.
    AirportCodes []string
    Filter on Points of Presence.
    AlertTriggerPreferences []string
    Alert trigger preferences. Example: slo.
    Enableds []string
    State of the pool to alert on.
    Environments []string
    Environment of pages. Available values: ENVIRONMENT_PREVIEW, ENVIRONMENT_PRODUCTION.
    EventSources []string
    Source configuration to alert on for pool or origin.
    EventTypes []string
    Stream event type to alert on.
    Events []string
    Pages event to alert. Available values: EVENT_DEPLOYMENT_STARTED, EVENT_DEPLOYMENT_FAILED, EVENT_DEPLOYMENT_SUCCESS.
    GroupBies []string
    Alert grouping.
    HealthCheckIds []string
    Identifier health check. Required when using filters.0.status.
    IncidentImpacts []string
    The incident impact level that will trigger the dispatch of a notification. Available values: INCIDENT_IMPACT_NONE, INCIDENT_IMPACT_MINOR, INCIDENT_IMPACT_MAJOR, INCIDENT_IMPACT_CRITICAL.
    InputIds []string
    Stream input id to alert on.
    Limits []string
    A numerical limit. Example: 100.
    MegabitsPerSeconds []string
    Megabits per second threshold for dos alert.
    NewHealths []string
    Health status to alert on for pool or origin.
    NewStatuses []string
    Tunnel health status to alert on.
    PacketsPerSeconds []string
    Packets per second threshold for dos alert.
    PoolIds []string
    Load balancer pool identifier.
    Products []string
    Product name. Available values: worker_requests, worker_durable_objects_requests, worker_durable_objects_duration, worker_durable_objects_data_transfer, worker_durable_objects_stored_data, worker_durable_objects_storage_deletes, worker_durable_objects_storage_writes, worker_durable_objects_storage_reads.
    ProjectIds []string
    Identifier of pages project.
    Protocols []string
    Protocol to alert on for dos.
    RequestsPerSeconds []string
    Requests per second threshold for dos alert.
    Selectors []string
    Selectors for alert. Valid options depend on the alert type.
    Services []string
    Slos []string
    A numerical limit. Example: 99.9.
    Statuses []string
    Status to alert on.
    TargetHostnames []string
    Target host to alert on for dos.
    TargetZoneNames []string
    Target domain to alert on.
    TunnelIds []string
    Tunnel IDs to alert on.
    Wheres []string
    Filter for alert.
    Zones []string
    A list of zone identifiers.
    actions List<String>
    Targeted actions for alert.
    affectedComponents List<String>
    Affected components for alert. Available values: API, API Shield, Access, Always Online, Analytics, Apps Marketplace, Argo Smart Routing, Audit Logs, Authoritative DNS, Billing, Bot Management, Bring Your Own IP (BYOIP), Browser Isolation, CDN Cache Purge, CDN/Cache, Cache Reserve, Challenge Platform, Cloud Access Security Broker (CASB), Community Site, DNS Root Servers, DNS Updates, Dashboard, Data Loss Prevention (DLP), Developer's Site, Digital Experience Monitoring (DEX), Distributed Web Gateway, Durable Objects, Email Routing, Ethereum Gateway, Firewall, Gateway, Geo-Key Manager, Image Resizing, Images, Infrastructure, Lists, Load Balancing and Monitoring, Logs, Magic Firewall, Magic Transit, Magic WAN, Magic WAN Connector, Marketing Site, Mirage, Network, Notifications, Observatory, Page Shield, Pages, R2, Radar, Randomness Beacon, Recursive DNS, Registrar, Registration Data Access Protocol (RDAP), SSL Certificate Provisioning, SSL for SaaS Provisioning, Security Center, Snippets, Spectrum, Speed Optimizations, Stream, Support Site, Time Services, Trace, Tunnel, Turnstile, WARP, Waiting Room, Web Analytics, Workers, Workers KV, Workers Preview, Zaraz, Zero Trust, Zero Trust Dashboard, Zone Versioning.
    airportCodes List<String>
    Filter on Points of Presence.
    alertTriggerPreferences List<String>
    Alert trigger preferences. Example: slo.
    enableds List<String>
    State of the pool to alert on.
    environments List<String>
    Environment of pages. Available values: ENVIRONMENT_PREVIEW, ENVIRONMENT_PRODUCTION.
    eventSources List<String>
    Source configuration to alert on for pool or origin.
    eventTypes List<String>
    Stream event type to alert on.
    events List<String>
    Pages event to alert. Available values: EVENT_DEPLOYMENT_STARTED, EVENT_DEPLOYMENT_FAILED, EVENT_DEPLOYMENT_SUCCESS.
    groupBies List<String>
    Alert grouping.
    healthCheckIds List<String>
    Identifier health check. Required when using filters.0.status.
    incidentImpacts List<String>
    The incident impact level that will trigger the dispatch of a notification. Available values: INCIDENT_IMPACT_NONE, INCIDENT_IMPACT_MINOR, INCIDENT_IMPACT_MAJOR, INCIDENT_IMPACT_CRITICAL.
    inputIds List<String>
    Stream input id to alert on.
    limits List<String>
    A numerical limit. Example: 100.
    megabitsPerSeconds List<String>
    Megabits per second threshold for dos alert.
    newHealths List<String>
    Health status to alert on for pool or origin.
    newStatuses List<String>
    Tunnel health status to alert on.
    packetsPerSeconds List<String>
    Packets per second threshold for dos alert.
    poolIds List<String>
    Load balancer pool identifier.
    products List<String>
    Product name. Available values: worker_requests, worker_durable_objects_requests, worker_durable_objects_duration, worker_durable_objects_data_transfer, worker_durable_objects_stored_data, worker_durable_objects_storage_deletes, worker_durable_objects_storage_writes, worker_durable_objects_storage_reads.
    projectIds List<String>
    Identifier of pages project.
    protocols List<String>
    Protocol to alert on for dos.
    requestsPerSeconds List<String>
    Requests per second threshold for dos alert.
    selectors List<String>
    Selectors for alert. Valid options depend on the alert type.
    services List<String>
    slos List<String>
    A numerical limit. Example: 99.9.
    statuses List<String>
    Status to alert on.
    targetHostnames List<String>
    Target host to alert on for dos.
    targetZoneNames List<String>
    Target domain to alert on.
    tunnelIds List<String>
    Tunnel IDs to alert on.
    wheres List<String>
    Filter for alert.
    zones List<String>
    A list of zone identifiers.
    actions string[]
    Targeted actions for alert.
    affectedComponents string[]
    Affected components for alert. Available values: API, API Shield, Access, Always Online, Analytics, Apps Marketplace, Argo Smart Routing, Audit Logs, Authoritative DNS, Billing, Bot Management, Bring Your Own IP (BYOIP), Browser Isolation, CDN Cache Purge, CDN/Cache, Cache Reserve, Challenge Platform, Cloud Access Security Broker (CASB), Community Site, DNS Root Servers, DNS Updates, Dashboard, Data Loss Prevention (DLP), Developer's Site, Digital Experience Monitoring (DEX), Distributed Web Gateway, Durable Objects, Email Routing, Ethereum Gateway, Firewall, Gateway, Geo-Key Manager, Image Resizing, Images, Infrastructure, Lists, Load Balancing and Monitoring, Logs, Magic Firewall, Magic Transit, Magic WAN, Magic WAN Connector, Marketing Site, Mirage, Network, Notifications, Observatory, Page Shield, Pages, R2, Radar, Randomness Beacon, Recursive DNS, Registrar, Registration Data Access Protocol (RDAP), SSL Certificate Provisioning, SSL for SaaS Provisioning, Security Center, Snippets, Spectrum, Speed Optimizations, Stream, Support Site, Time Services, Trace, Tunnel, Turnstile, WARP, Waiting Room, Web Analytics, Workers, Workers KV, Workers Preview, Zaraz, Zero Trust, Zero Trust Dashboard, Zone Versioning.
    airportCodes string[]
    Filter on Points of Presence.
    alertTriggerPreferences string[]
    Alert trigger preferences. Example: slo.
    enableds string[]
    State of the pool to alert on.
    environments string[]
    Environment of pages. Available values: ENVIRONMENT_PREVIEW, ENVIRONMENT_PRODUCTION.
    eventSources string[]
    Source configuration to alert on for pool or origin.
    eventTypes string[]
    Stream event type to alert on.
    events string[]
    Pages event to alert. Available values: EVENT_DEPLOYMENT_STARTED, EVENT_DEPLOYMENT_FAILED, EVENT_DEPLOYMENT_SUCCESS.
    groupBies string[]
    Alert grouping.
    healthCheckIds string[]
    Identifier health check. Required when using filters.0.status.
    incidentImpacts string[]
    The incident impact level that will trigger the dispatch of a notification. Available values: INCIDENT_IMPACT_NONE, INCIDENT_IMPACT_MINOR, INCIDENT_IMPACT_MAJOR, INCIDENT_IMPACT_CRITICAL.
    inputIds string[]
    Stream input id to alert on.
    limits string[]
    A numerical limit. Example: 100.
    megabitsPerSeconds string[]
    Megabits per second threshold for dos alert.
    newHealths string[]
    Health status to alert on for pool or origin.
    newStatuses string[]
    Tunnel health status to alert on.
    packetsPerSeconds string[]
    Packets per second threshold for dos alert.
    poolIds string[]
    Load balancer pool identifier.
    products string[]
    Product name. Available values: worker_requests, worker_durable_objects_requests, worker_durable_objects_duration, worker_durable_objects_data_transfer, worker_durable_objects_stored_data, worker_durable_objects_storage_deletes, worker_durable_objects_storage_writes, worker_durable_objects_storage_reads.
    projectIds string[]
    Identifier of pages project.
    protocols string[]
    Protocol to alert on for dos.
    requestsPerSeconds string[]
    Requests per second threshold for dos alert.
    selectors string[]
    Selectors for alert. Valid options depend on the alert type.
    services string[]
    slos string[]
    A numerical limit. Example: 99.9.
    statuses string[]
    Status to alert on.
    targetHostnames string[]
    Target host to alert on for dos.
    targetZoneNames string[]
    Target domain to alert on.
    tunnelIds string[]
    Tunnel IDs to alert on.
    wheres string[]
    Filter for alert.
    zones string[]
    A list of zone identifiers.
    actions Sequence[str]
    Targeted actions for alert.
    affected_components Sequence[str]
    Affected components for alert. Available values: API, API Shield, Access, Always Online, Analytics, Apps Marketplace, Argo Smart Routing, Audit Logs, Authoritative DNS, Billing, Bot Management, Bring Your Own IP (BYOIP), Browser Isolation, CDN Cache Purge, CDN/Cache, Cache Reserve, Challenge Platform, Cloud Access Security Broker (CASB), Community Site, DNS Root Servers, DNS Updates, Dashboard, Data Loss Prevention (DLP), Developer's Site, Digital Experience Monitoring (DEX), Distributed Web Gateway, Durable Objects, Email Routing, Ethereum Gateway, Firewall, Gateway, Geo-Key Manager, Image Resizing, Images, Infrastructure, Lists, Load Balancing and Monitoring, Logs, Magic Firewall, Magic Transit, Magic WAN, Magic WAN Connector, Marketing Site, Mirage, Network, Notifications, Observatory, Page Shield, Pages, R2, Radar, Randomness Beacon, Recursive DNS, Registrar, Registration Data Access Protocol (RDAP), SSL Certificate Provisioning, SSL for SaaS Provisioning, Security Center, Snippets, Spectrum, Speed Optimizations, Stream, Support Site, Time Services, Trace, Tunnel, Turnstile, WARP, Waiting Room, Web Analytics, Workers, Workers KV, Workers Preview, Zaraz, Zero Trust, Zero Trust Dashboard, Zone Versioning.
    airport_codes Sequence[str]
    Filter on Points of Presence.
    alert_trigger_preferences Sequence[str]
    Alert trigger preferences. Example: slo.
    enableds Sequence[str]
    State of the pool to alert on.
    environments Sequence[str]
    Environment of pages. Available values: ENVIRONMENT_PREVIEW, ENVIRONMENT_PRODUCTION.
    event_sources Sequence[str]
    Source configuration to alert on for pool or origin.
    event_types Sequence[str]
    Stream event type to alert on.
    events Sequence[str]
    Pages event to alert. Available values: EVENT_DEPLOYMENT_STARTED, EVENT_DEPLOYMENT_FAILED, EVENT_DEPLOYMENT_SUCCESS.
    group_bies Sequence[str]
    Alert grouping.
    health_check_ids Sequence[str]
    Identifier health check. Required when using filters.0.status.
    incident_impacts Sequence[str]
    The incident impact level that will trigger the dispatch of a notification. Available values: INCIDENT_IMPACT_NONE, INCIDENT_IMPACT_MINOR, INCIDENT_IMPACT_MAJOR, INCIDENT_IMPACT_CRITICAL.
    input_ids Sequence[str]
    Stream input id to alert on.
    limits Sequence[str]
    A numerical limit. Example: 100.
    megabits_per_seconds Sequence[str]
    Megabits per second threshold for dos alert.
    new_healths Sequence[str]
    Health status to alert on for pool or origin.
    new_statuses Sequence[str]
    Tunnel health status to alert on.
    packets_per_seconds Sequence[str]
    Packets per second threshold for dos alert.
    pool_ids Sequence[str]
    Load balancer pool identifier.
    products Sequence[str]
    Product name. Available values: worker_requests, worker_durable_objects_requests, worker_durable_objects_duration, worker_durable_objects_data_transfer, worker_durable_objects_stored_data, worker_durable_objects_storage_deletes, worker_durable_objects_storage_writes, worker_durable_objects_storage_reads.
    project_ids Sequence[str]
    Identifier of pages project.
    protocols Sequence[str]
    Protocol to alert on for dos.
    requests_per_seconds Sequence[str]
    Requests per second threshold for dos alert.
    selectors Sequence[str]
    Selectors for alert. Valid options depend on the alert type.
    services Sequence[str]
    slos Sequence[str]
    A numerical limit. Example: 99.9.
    statuses Sequence[str]
    Status to alert on.
    target_hostnames Sequence[str]
    Target host to alert on for dos.
    target_zone_names Sequence[str]
    Target domain to alert on.
    tunnel_ids Sequence[str]
    Tunnel IDs to alert on.
    wheres Sequence[str]
    Filter for alert.
    zones Sequence[str]
    A list of zone identifiers.
    actions List<String>
    Targeted actions for alert.
    affectedComponents List<String>
    Affected components for alert. Available values: API, API Shield, Access, Always Online, Analytics, Apps Marketplace, Argo Smart Routing, Audit Logs, Authoritative DNS, Billing, Bot Management, Bring Your Own IP (BYOIP), Browser Isolation, CDN Cache Purge, CDN/Cache, Cache Reserve, Challenge Platform, Cloud Access Security Broker (CASB), Community Site, DNS Root Servers, DNS Updates, Dashboard, Data Loss Prevention (DLP), Developer's Site, Digital Experience Monitoring (DEX), Distributed Web Gateway, Durable Objects, Email Routing, Ethereum Gateway, Firewall, Gateway, Geo-Key Manager, Image Resizing, Images, Infrastructure, Lists, Load Balancing and Monitoring, Logs, Magic Firewall, Magic Transit, Magic WAN, Magic WAN Connector, Marketing Site, Mirage, Network, Notifications, Observatory, Page Shield, Pages, R2, Radar, Randomness Beacon, Recursive DNS, Registrar, Registration Data Access Protocol (RDAP), SSL Certificate Provisioning, SSL for SaaS Provisioning, Security Center, Snippets, Spectrum, Speed Optimizations, Stream, Support Site, Time Services, Trace, Tunnel, Turnstile, WARP, Waiting Room, Web Analytics, Workers, Workers KV, Workers Preview, Zaraz, Zero Trust, Zero Trust Dashboard, Zone Versioning.
    airportCodes List<String>
    Filter on Points of Presence.
    alertTriggerPreferences List<String>
    Alert trigger preferences. Example: slo.
    enableds List<String>
    State of the pool to alert on.
    environments List<String>
    Environment of pages. Available values: ENVIRONMENT_PREVIEW, ENVIRONMENT_PRODUCTION.
    eventSources List<String>
    Source configuration to alert on for pool or origin.
    eventTypes List<String>
    Stream event type to alert on.
    events List<String>
    Pages event to alert. Available values: EVENT_DEPLOYMENT_STARTED, EVENT_DEPLOYMENT_FAILED, EVENT_DEPLOYMENT_SUCCESS.
    groupBies List<String>
    Alert grouping.
    healthCheckIds List<String>
    Identifier health check. Required when using filters.0.status.
    incidentImpacts List<String>
    The incident impact level that will trigger the dispatch of a notification. Available values: INCIDENT_IMPACT_NONE, INCIDENT_IMPACT_MINOR, INCIDENT_IMPACT_MAJOR, INCIDENT_IMPACT_CRITICAL.
    inputIds List<String>
    Stream input id to alert on.
    limits List<String>
    A numerical limit. Example: 100.
    megabitsPerSeconds List<String>
    Megabits per second threshold for dos alert.
    newHealths List<String>
    Health status to alert on for pool or origin.
    newStatuses List<String>
    Tunnel health status to alert on.
    packetsPerSeconds List<String>
    Packets per second threshold for dos alert.
    poolIds List<String>
    Load balancer pool identifier.
    products List<String>
    Product name. Available values: worker_requests, worker_durable_objects_requests, worker_durable_objects_duration, worker_durable_objects_data_transfer, worker_durable_objects_stored_data, worker_durable_objects_storage_deletes, worker_durable_objects_storage_writes, worker_durable_objects_storage_reads.
    projectIds List<String>
    Identifier of pages project.
    protocols List<String>
    Protocol to alert on for dos.
    requestsPerSeconds List<String>
    Requests per second threshold for dos alert.
    selectors List<String>
    Selectors for alert. Valid options depend on the alert type.
    services List<String>
    slos List<String>
    A numerical limit. Example: 99.9.
    statuses List<String>
    Status to alert on.
    targetHostnames List<String>
    Target host to alert on for dos.
    targetZoneNames List<String>
    Target domain to alert on.
    tunnelIds List<String>
    Tunnel IDs to alert on.
    wheres List<String>
    Filter for alert.
    zones List<String>
    A list of zone identifiers.

    NotificationPolicyPagerdutyIntegration, NotificationPolicyPagerdutyIntegrationArgs

    Id string
    The ID of this resource.
    Name string
    Id string
    The ID of this resource.
    Name string
    id String
    The ID of this resource.
    name String
    id string
    The ID of this resource.
    name string
    id str
    The ID of this resource.
    name str
    id String
    The ID of this resource.
    name String

    NotificationPolicyWebhooksIntegration, NotificationPolicyWebhooksIntegrationArgs

    Id string
    The ID of this resource.
    Name string
    Id string
    The ID of this resource.
    Name string
    id String
    The ID of this resource.
    name String
    id string
    The ID of this resource.
    name string
    id str
    The ID of this resource.
    name str
    id String
    The ID of this resource.
    name String

    Import

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

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v5.23.0 published on Monday, Mar 25, 2024 by Pulumi