1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. NotificationPolicy
Viewing docs for Cloudflare v4.16.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v4.16.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

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

    Create NotificationPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NotificationPolicy(name: string, args: NotificationPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def NotificationPolicy(resource_name: str,
                           args: NotificationPolicyArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def NotificationPolicy(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           account_id: Optional[str] = None,
                           alert_type: Optional[str] = None,
                           enabled: Optional[bool] = None,
                           name: Optional[str] = None,
                           description: Optional[str] = None,
                           email_integrations: Optional[Sequence[NotificationPolicyEmailIntegrationArgs]] = None,
                           filters: Optional[NotificationPolicyFiltersArgs] = None,
                           pagerduty_integrations: Optional[Sequence[NotificationPolicyPagerdutyIntegrationArgs]] = None,
                           webhooks_integrations: Optional[Sequence[NotificationPolicyWebhooksIntegrationArgs]] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var notificationPolicyResource = new Cloudflare.NotificationPolicy("notificationPolicyResource", new()
    {
        AccountId = "string",
        AlertType = "string",
        Enabled = false,
        Name = "string",
        Description = "string",
        EmailIntegrations = new[]
        {
            new Cloudflare.Inputs.NotificationPolicyEmailIntegrationArgs
            {
                Id = "string",
                Name = "string",
            },
        },
        Filters = new Cloudflare.Inputs.NotificationPolicyFiltersArgs
        {
            Enableds = new[]
            {
                "string",
            },
            EventSources = new[]
            {
                "string",
            },
            EventTypes = new[]
            {
                "string",
            },
            HealthCheckIds = new[]
            {
                "string",
            },
            InputIds = new[]
            {
                "string",
            },
            Limits = new[]
            {
                "string",
            },
            NewHealths = new[]
            {
                "string",
            },
            PacketsPerSeconds = new[]
            {
                "string",
            },
            PoolIds = new[]
            {
                "string",
            },
            Products = new[]
            {
                "string",
            },
            Protocols = new[]
            {
                "string",
            },
            RequestsPerSeconds = new[]
            {
                "string",
            },
            Services = new[]
            {
                "string",
            },
            Slos = new[]
            {
                "string",
            },
            Statuses = new[]
            {
                "string",
            },
            TargetHosts = new[]
            {
                "string",
            },
            TargetZoneNames = new[]
            {
                "string",
            },
            Zones = new[]
            {
                "string",
            },
        },
        PagerdutyIntegrations = new[]
        {
            new Cloudflare.Inputs.NotificationPolicyPagerdutyIntegrationArgs
            {
                Id = "string",
                Name = "string",
            },
        },
        WebhooksIntegrations = new[]
        {
            new Cloudflare.Inputs.NotificationPolicyWebhooksIntegrationArgs
            {
                Id = "string",
                Name = "string",
            },
        },
    });
    
    example, err := cloudflare.NewNotificationPolicy(ctx, "notificationPolicyResource", &cloudflare.NotificationPolicyArgs{
    	AccountId:   pulumi.String("string"),
    	AlertType:   pulumi.String("string"),
    	Enabled:     pulumi.Bool(false),
    	Name:        pulumi.String("string"),
    	Description: pulumi.String("string"),
    	EmailIntegrations: cloudflare.NotificationPolicyEmailIntegrationArray{
    		&cloudflare.NotificationPolicyEmailIntegrationArgs{
    			Id:   pulumi.String("string"),
    			Name: pulumi.String("string"),
    		},
    	},
    	Filters: &cloudflare.NotificationPolicyFiltersArgs{
    		Enableds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		EventSources: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		EventTypes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		HealthCheckIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		InputIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Limits: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		NewHealths: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		PacketsPerSeconds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		PoolIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Products: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Protocols: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		RequestsPerSeconds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Services: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Slos: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Statuses: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		TargetHosts: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		TargetZoneNames: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Zones: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	PagerdutyIntegrations: cloudflare.NotificationPolicyPagerdutyIntegrationArray{
    		&cloudflare.NotificationPolicyPagerdutyIntegrationArgs{
    			Id:   pulumi.String("string"),
    			Name: pulumi.String("string"),
    		},
    	},
    	WebhooksIntegrations: cloudflare.NotificationPolicyWebhooksIntegrationArray{
    		&cloudflare.NotificationPolicyWebhooksIntegrationArgs{
    			Id:   pulumi.String("string"),
    			Name: pulumi.String("string"),
    		},
    	},
    })
    
    var notificationPolicyResource = new NotificationPolicy("notificationPolicyResource", NotificationPolicyArgs.builder()
        .accountId("string")
        .alertType("string")
        .enabled(false)
        .name("string")
        .description("string")
        .emailIntegrations(NotificationPolicyEmailIntegrationArgs.builder()
            .id("string")
            .name("string")
            .build())
        .filters(NotificationPolicyFiltersArgs.builder()
            .enableds("string")
            .eventSources("string")
            .eventTypes("string")
            .healthCheckIds("string")
            .inputIds("string")
            .limits("string")
            .newHealths("string")
            .packetsPerSeconds("string")
            .poolIds("string")
            .products("string")
            .protocols("string")
            .requestsPerSeconds("string")
            .services("string")
            .slos("string")
            .statuses("string")
            .targetHosts("string")
            .targetZoneNames("string")
            .zones("string")
            .build())
        .pagerdutyIntegrations(NotificationPolicyPagerdutyIntegrationArgs.builder()
            .id("string")
            .name("string")
            .build())
        .webhooksIntegrations(NotificationPolicyWebhooksIntegrationArgs.builder()
            .id("string")
            .name("string")
            .build())
        .build());
    
    notification_policy_resource = cloudflare.NotificationPolicy("notificationPolicyResource",
        account_id="string",
        alert_type="string",
        enabled=False,
        name="string",
        description="string",
        email_integrations=[{
            "id": "string",
            "name": "string",
        }],
        filters={
            "enableds": ["string"],
            "event_sources": ["string"],
            "event_types": ["string"],
            "health_check_ids": ["string"],
            "input_ids": ["string"],
            "limits": ["string"],
            "new_healths": ["string"],
            "packets_per_seconds": ["string"],
            "pool_ids": ["string"],
            "products": ["string"],
            "protocols": ["string"],
            "requests_per_seconds": ["string"],
            "services": ["string"],
            "slos": ["string"],
            "statuses": ["string"],
            "target_hosts": ["string"],
            "target_zone_names": ["string"],
            "zones": ["string"],
        },
        pagerduty_integrations=[{
            "id": "string",
            "name": "string",
        }],
        webhooks_integrations=[{
            "id": "string",
            "name": "string",
        }])
    
    const notificationPolicyResource = new cloudflare.NotificationPolicy("notificationPolicyResource", {
        accountId: "string",
        alertType: "string",
        enabled: false,
        name: "string",
        description: "string",
        emailIntegrations: [{
            id: "string",
            name: "string",
        }],
        filters: {
            enableds: ["string"],
            eventSources: ["string"],
            eventTypes: ["string"],
            healthCheckIds: ["string"],
            inputIds: ["string"],
            limits: ["string"],
            newHealths: ["string"],
            packetsPerSeconds: ["string"],
            poolIds: ["string"],
            products: ["string"],
            protocols: ["string"],
            requestsPerSeconds: ["string"],
            services: ["string"],
            slos: ["string"],
            statuses: ["string"],
            targetHosts: ["string"],
            targetZoneNames: ["string"],
            zones: ["string"],
        },
        pagerdutyIntegrations: [{
            id: "string",
            name: "string",
        }],
        webhooksIntegrations: [{
            id: "string",
            name: "string",
        }],
    });
    
    type: cloudflare:NotificationPolicy
    properties:
        accountId: string
        alertType: string
        description: string
        emailIntegrations:
            - id: string
              name: string
        enabled: false
        filters:
            enableds:
                - string
            eventSources:
                - string
            eventTypes:
                - string
            healthCheckIds:
                - string
            inputIds:
                - string
            limits:
                - string
            newHealths:
                - string
            packetsPerSeconds:
                - string
            poolIds:
                - string
            products:
                - string
            protocols:
                - string
            requestsPerSeconds:
                - string
            services:
                - string
            slos:
                - string
            statuses:
                - string
            targetHosts:
                - string
            targetZoneNames:
                - string
            zones:
                - string
        name: string
        pagerdutyIntegrations:
            - id: string
              name: string
        webhooksIntegrations:
            - id: string
              name: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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: access_custom_certificate_expiration_type, advanced_ddos_attack_l4_alert, advanced_ddos_attack_l7_alert, bgp_hijack_notification, billing_usage_alert, block_notification_block_removed, block_notification_new_block, block_notification_review_rejected, clickhouse_alert_fw_anomaly, clickhouse_alert_fw_ent_anomaly, custom_ssl_certificate_event_type, dedicated_ssl_certificate_event_type, dos_attack_l4, dos_attack_l7, expiring_service_token_alert, failing_logpush_job_disabled_alert, fbm_auto_advertisement, fbm_dosd_attack, fbm_volumetric_attack, health_check_status_notification, hostname_aop_custom_certificate_expiration_type, http_alert_edge_error, http_alert_origin_error, load_balancing_health_alert, load_balancing_pool_enablement_alert, real_origin_monitoring, scriptmonitor_alert_new_code_change_detections, scriptmonitor_alert_new_hosts, scriptmonitor_alert_new_malicious_hosts, scriptmonitor_alert_new_malicious_scripts, scriptmonitor_alert_new_malicious_url, scriptmonitor_alert_new_max_length_resource_url, scriptmonitor_alert_new_resources, secondary_dns_all_primaries_failing, secondary_dns_primaries_failing, secondary_dns_zone_successfully_updated, secondary_dns_zone_validation_warning, sentinel_alert, stream_live_notifications, tunnel_health_event, tunnel_update_event, universal_ssl_event_type, web_analytics_metrics_update, weekly_account_overview, workers_alert, zone_aop_custom_certificate_expiration_type.
    Enabled bool
    The status of the notification policy.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    WebhooksIntegrations List<NotificationPolicyWebhooksIntegration>
    The unique id of a configured webhooks endpoint to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.
    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: access_custom_certificate_expiration_type, advanced_ddos_attack_l4_alert, advanced_ddos_attack_l7_alert, bgp_hijack_notification, billing_usage_alert, block_notification_block_removed, block_notification_new_block, block_notification_review_rejected, clickhouse_alert_fw_anomaly, clickhouse_alert_fw_ent_anomaly, custom_ssl_certificate_event_type, dedicated_ssl_certificate_event_type, dos_attack_l4, dos_attack_l7, expiring_service_token_alert, failing_logpush_job_disabled_alert, fbm_auto_advertisement, fbm_dosd_attack, fbm_volumetric_attack, health_check_status_notification, hostname_aop_custom_certificate_expiration_type, http_alert_edge_error, http_alert_origin_error, load_balancing_health_alert, load_balancing_pool_enablement_alert, real_origin_monitoring, scriptmonitor_alert_new_code_change_detections, scriptmonitor_alert_new_hosts, scriptmonitor_alert_new_malicious_hosts, scriptmonitor_alert_new_malicious_scripts, scriptmonitor_alert_new_malicious_url, scriptmonitor_alert_new_max_length_resource_url, scriptmonitor_alert_new_resources, secondary_dns_all_primaries_failing, secondary_dns_primaries_failing, secondary_dns_zone_successfully_updated, secondary_dns_zone_validation_warning, sentinel_alert, stream_live_notifications, tunnel_health_event, tunnel_update_event, universal_ssl_event_type, web_analytics_metrics_update, weekly_account_overview, workers_alert, zone_aop_custom_certificate_expiration_type.
    Enabled bool
    The status of the notification policy.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    WebhooksIntegrations []NotificationPolicyWebhooksIntegrationArgs
    The unique id of a configured webhooks endpoint to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.
    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: access_custom_certificate_expiration_type, advanced_ddos_attack_l4_alert, advanced_ddos_attack_l7_alert, bgp_hijack_notification, billing_usage_alert, block_notification_block_removed, block_notification_new_block, block_notification_review_rejected, clickhouse_alert_fw_anomaly, clickhouse_alert_fw_ent_anomaly, custom_ssl_certificate_event_type, dedicated_ssl_certificate_event_type, dos_attack_l4, dos_attack_l7, expiring_service_token_alert, failing_logpush_job_disabled_alert, fbm_auto_advertisement, fbm_dosd_attack, fbm_volumetric_attack, health_check_status_notification, hostname_aop_custom_certificate_expiration_type, http_alert_edge_error, http_alert_origin_error, load_balancing_health_alert, load_balancing_pool_enablement_alert, real_origin_monitoring, scriptmonitor_alert_new_code_change_detections, scriptmonitor_alert_new_hosts, scriptmonitor_alert_new_malicious_hosts, scriptmonitor_alert_new_malicious_scripts, scriptmonitor_alert_new_malicious_url, scriptmonitor_alert_new_max_length_resource_url, scriptmonitor_alert_new_resources, secondary_dns_all_primaries_failing, secondary_dns_primaries_failing, secondary_dns_zone_successfully_updated, secondary_dns_zone_validation_warning, sentinel_alert, stream_live_notifications, tunnel_health_event, tunnel_update_event, universal_ssl_event_type, web_analytics_metrics_update, weekly_account_overview, workers_alert, zone_aop_custom_certificate_expiration_type.
    enabled Boolean
    The status of the notification policy.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    webhooksIntegrations List<NotificationPolicyWebhooksIntegration>
    The unique id of a configured webhooks endpoint to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.
    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: access_custom_certificate_expiration_type, advanced_ddos_attack_l4_alert, advanced_ddos_attack_l7_alert, bgp_hijack_notification, billing_usage_alert, block_notification_block_removed, block_notification_new_block, block_notification_review_rejected, clickhouse_alert_fw_anomaly, clickhouse_alert_fw_ent_anomaly, custom_ssl_certificate_event_type, dedicated_ssl_certificate_event_type, dos_attack_l4, dos_attack_l7, expiring_service_token_alert, failing_logpush_job_disabled_alert, fbm_auto_advertisement, fbm_dosd_attack, fbm_volumetric_attack, health_check_status_notification, hostname_aop_custom_certificate_expiration_type, http_alert_edge_error, http_alert_origin_error, load_balancing_health_alert, load_balancing_pool_enablement_alert, real_origin_monitoring, scriptmonitor_alert_new_code_change_detections, scriptmonitor_alert_new_hosts, scriptmonitor_alert_new_malicious_hosts, scriptmonitor_alert_new_malicious_scripts, scriptmonitor_alert_new_malicious_url, scriptmonitor_alert_new_max_length_resource_url, scriptmonitor_alert_new_resources, secondary_dns_all_primaries_failing, secondary_dns_primaries_failing, secondary_dns_zone_successfully_updated, secondary_dns_zone_validation_warning, sentinel_alert, stream_live_notifications, tunnel_health_event, tunnel_update_event, universal_ssl_event_type, web_analytics_metrics_update, weekly_account_overview, workers_alert, zone_aop_custom_certificate_expiration_type.
    enabled boolean
    The status of the notification policy.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    webhooksIntegrations NotificationPolicyWebhooksIntegration[]
    The unique id of a configured webhooks endpoint to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.
    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: access_custom_certificate_expiration_type, advanced_ddos_attack_l4_alert, advanced_ddos_attack_l7_alert, bgp_hijack_notification, billing_usage_alert, block_notification_block_removed, block_notification_new_block, block_notification_review_rejected, clickhouse_alert_fw_anomaly, clickhouse_alert_fw_ent_anomaly, custom_ssl_certificate_event_type, dedicated_ssl_certificate_event_type, dos_attack_l4, dos_attack_l7, expiring_service_token_alert, failing_logpush_job_disabled_alert, fbm_auto_advertisement, fbm_dosd_attack, fbm_volumetric_attack, health_check_status_notification, hostname_aop_custom_certificate_expiration_type, http_alert_edge_error, http_alert_origin_error, load_balancing_health_alert, load_balancing_pool_enablement_alert, real_origin_monitoring, scriptmonitor_alert_new_code_change_detections, scriptmonitor_alert_new_hosts, scriptmonitor_alert_new_malicious_hosts, scriptmonitor_alert_new_malicious_scripts, scriptmonitor_alert_new_malicious_url, scriptmonitor_alert_new_max_length_resource_url, scriptmonitor_alert_new_resources, secondary_dns_all_primaries_failing, secondary_dns_primaries_failing, secondary_dns_zone_successfully_updated, secondary_dns_zone_validation_warning, sentinel_alert, stream_live_notifications, tunnel_health_event, tunnel_update_event, universal_ssl_event_type, web_analytics_metrics_update, weekly_account_overview, workers_alert, zone_aop_custom_certificate_expiration_type.
    enabled bool
    The status of the notification policy.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    webhooks_integrations Sequence[NotificationPolicyWebhooksIntegrationArgs]
    The unique id of a configured webhooks endpoint to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.
    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: access_custom_certificate_expiration_type, advanced_ddos_attack_l4_alert, advanced_ddos_attack_l7_alert, bgp_hijack_notification, billing_usage_alert, block_notification_block_removed, block_notification_new_block, block_notification_review_rejected, clickhouse_alert_fw_anomaly, clickhouse_alert_fw_ent_anomaly, custom_ssl_certificate_event_type, dedicated_ssl_certificate_event_type, dos_attack_l4, dos_attack_l7, expiring_service_token_alert, failing_logpush_job_disabled_alert, fbm_auto_advertisement, fbm_dosd_attack, fbm_volumetric_attack, health_check_status_notification, hostname_aop_custom_certificate_expiration_type, http_alert_edge_error, http_alert_origin_error, load_balancing_health_alert, load_balancing_pool_enablement_alert, real_origin_monitoring, scriptmonitor_alert_new_code_change_detections, scriptmonitor_alert_new_hosts, scriptmonitor_alert_new_malicious_hosts, scriptmonitor_alert_new_malicious_scripts, scriptmonitor_alert_new_malicious_url, scriptmonitor_alert_new_max_length_resource_url, scriptmonitor_alert_new_resources, secondary_dns_all_primaries_failing, secondary_dns_primaries_failing, secondary_dns_zone_successfully_updated, secondary_dns_zone_validation_warning, sentinel_alert, stream_live_notifications, tunnel_health_event, tunnel_update_event, universal_ssl_event_type, web_analytics_metrics_update, weekly_account_overview, workers_alert, zone_aop_custom_certificate_expiration_type.
    enabled Boolean
    The status of the notification policy.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    webhooksIntegrations List<Property Map>
    The unique id of a configured webhooks endpoint to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.

    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)
    resources:  _:    type: cloudflare:NotificationPolicy    get:      id: ${id}
    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: access_custom_certificate_expiration_type, advanced_ddos_attack_l4_alert, advanced_ddos_attack_l7_alert, bgp_hijack_notification, billing_usage_alert, block_notification_block_removed, block_notification_new_block, block_notification_review_rejected, clickhouse_alert_fw_anomaly, clickhouse_alert_fw_ent_anomaly, custom_ssl_certificate_event_type, dedicated_ssl_certificate_event_type, dos_attack_l4, dos_attack_l7, expiring_service_token_alert, failing_logpush_job_disabled_alert, fbm_auto_advertisement, fbm_dosd_attack, fbm_volumetric_attack, health_check_status_notification, hostname_aop_custom_certificate_expiration_type, http_alert_edge_error, http_alert_origin_error, load_balancing_health_alert, load_balancing_pool_enablement_alert, real_origin_monitoring, scriptmonitor_alert_new_code_change_detections, scriptmonitor_alert_new_hosts, scriptmonitor_alert_new_malicious_hosts, scriptmonitor_alert_new_malicious_scripts, scriptmonitor_alert_new_malicious_url, scriptmonitor_alert_new_max_length_resource_url, scriptmonitor_alert_new_resources, secondary_dns_all_primaries_failing, secondary_dns_primaries_failing, secondary_dns_zone_successfully_updated, secondary_dns_zone_validation_warning, sentinel_alert, stream_live_notifications, tunnel_health_event, tunnel_update_event, universal_ssl_event_type, web_analytics_metrics_update, weekly_account_overview, workers_alert, zone_aop_custom_certificate_expiration_type.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    Enabled bool
    The status of the notification policy.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    WebhooksIntegrations List<NotificationPolicyWebhooksIntegration>
    The unique id of a configured webhooks endpoint to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.
    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: access_custom_certificate_expiration_type, advanced_ddos_attack_l4_alert, advanced_ddos_attack_l7_alert, bgp_hijack_notification, billing_usage_alert, block_notification_block_removed, block_notification_new_block, block_notification_review_rejected, clickhouse_alert_fw_anomaly, clickhouse_alert_fw_ent_anomaly, custom_ssl_certificate_event_type, dedicated_ssl_certificate_event_type, dos_attack_l4, dos_attack_l7, expiring_service_token_alert, failing_logpush_job_disabled_alert, fbm_auto_advertisement, fbm_dosd_attack, fbm_volumetric_attack, health_check_status_notification, hostname_aop_custom_certificate_expiration_type, http_alert_edge_error, http_alert_origin_error, load_balancing_health_alert, load_balancing_pool_enablement_alert, real_origin_monitoring, scriptmonitor_alert_new_code_change_detections, scriptmonitor_alert_new_hosts, scriptmonitor_alert_new_malicious_hosts, scriptmonitor_alert_new_malicious_scripts, scriptmonitor_alert_new_malicious_url, scriptmonitor_alert_new_max_length_resource_url, scriptmonitor_alert_new_resources, secondary_dns_all_primaries_failing, secondary_dns_primaries_failing, secondary_dns_zone_successfully_updated, secondary_dns_zone_validation_warning, sentinel_alert, stream_live_notifications, tunnel_health_event, tunnel_update_event, universal_ssl_event_type, web_analytics_metrics_update, weekly_account_overview, workers_alert, zone_aop_custom_certificate_expiration_type.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    Enabled bool
    The status of the notification policy.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    WebhooksIntegrations []NotificationPolicyWebhooksIntegrationArgs
    The unique id of a configured webhooks endpoint to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.
    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: access_custom_certificate_expiration_type, advanced_ddos_attack_l4_alert, advanced_ddos_attack_l7_alert, bgp_hijack_notification, billing_usage_alert, block_notification_block_removed, block_notification_new_block, block_notification_review_rejected, clickhouse_alert_fw_anomaly, clickhouse_alert_fw_ent_anomaly, custom_ssl_certificate_event_type, dedicated_ssl_certificate_event_type, dos_attack_l4, dos_attack_l7, expiring_service_token_alert, failing_logpush_job_disabled_alert, fbm_auto_advertisement, fbm_dosd_attack, fbm_volumetric_attack, health_check_status_notification, hostname_aop_custom_certificate_expiration_type, http_alert_edge_error, http_alert_origin_error, load_balancing_health_alert, load_balancing_pool_enablement_alert, real_origin_monitoring, scriptmonitor_alert_new_code_change_detections, scriptmonitor_alert_new_hosts, scriptmonitor_alert_new_malicious_hosts, scriptmonitor_alert_new_malicious_scripts, scriptmonitor_alert_new_malicious_url, scriptmonitor_alert_new_max_length_resource_url, scriptmonitor_alert_new_resources, secondary_dns_all_primaries_failing, secondary_dns_primaries_failing, secondary_dns_zone_successfully_updated, secondary_dns_zone_validation_warning, sentinel_alert, stream_live_notifications, tunnel_health_event, tunnel_update_event, universal_ssl_event_type, web_analytics_metrics_update, weekly_account_overview, workers_alert, zone_aop_custom_certificate_expiration_type.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    enabled Boolean
    The status of the notification policy.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    webhooksIntegrations List<NotificationPolicyWebhooksIntegration>
    The unique id of a configured webhooks endpoint to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.
    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: access_custom_certificate_expiration_type, advanced_ddos_attack_l4_alert, advanced_ddos_attack_l7_alert, bgp_hijack_notification, billing_usage_alert, block_notification_block_removed, block_notification_new_block, block_notification_review_rejected, clickhouse_alert_fw_anomaly, clickhouse_alert_fw_ent_anomaly, custom_ssl_certificate_event_type, dedicated_ssl_certificate_event_type, dos_attack_l4, dos_attack_l7, expiring_service_token_alert, failing_logpush_job_disabled_alert, fbm_auto_advertisement, fbm_dosd_attack, fbm_volumetric_attack, health_check_status_notification, hostname_aop_custom_certificate_expiration_type, http_alert_edge_error, http_alert_origin_error, load_balancing_health_alert, load_balancing_pool_enablement_alert, real_origin_monitoring, scriptmonitor_alert_new_code_change_detections, scriptmonitor_alert_new_hosts, scriptmonitor_alert_new_malicious_hosts, scriptmonitor_alert_new_malicious_scripts, scriptmonitor_alert_new_malicious_url, scriptmonitor_alert_new_max_length_resource_url, scriptmonitor_alert_new_resources, secondary_dns_all_primaries_failing, secondary_dns_primaries_failing, secondary_dns_zone_successfully_updated, secondary_dns_zone_validation_warning, sentinel_alert, stream_live_notifications, tunnel_health_event, tunnel_update_event, universal_ssl_event_type, web_analytics_metrics_update, weekly_account_overview, workers_alert, zone_aop_custom_certificate_expiration_type.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    enabled boolean
    The status of the notification policy.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    webhooksIntegrations NotificationPolicyWebhooksIntegration[]
    The unique id of a configured webhooks endpoint to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.
    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: access_custom_certificate_expiration_type, advanced_ddos_attack_l4_alert, advanced_ddos_attack_l7_alert, bgp_hijack_notification, billing_usage_alert, block_notification_block_removed, block_notification_new_block, block_notification_review_rejected, clickhouse_alert_fw_anomaly, clickhouse_alert_fw_ent_anomaly, custom_ssl_certificate_event_type, dedicated_ssl_certificate_event_type, dos_attack_l4, dos_attack_l7, expiring_service_token_alert, failing_logpush_job_disabled_alert, fbm_auto_advertisement, fbm_dosd_attack, fbm_volumetric_attack, health_check_status_notification, hostname_aop_custom_certificate_expiration_type, http_alert_edge_error, http_alert_origin_error, load_balancing_health_alert, load_balancing_pool_enablement_alert, real_origin_monitoring, scriptmonitor_alert_new_code_change_detections, scriptmonitor_alert_new_hosts, scriptmonitor_alert_new_malicious_hosts, scriptmonitor_alert_new_malicious_scripts, scriptmonitor_alert_new_malicious_url, scriptmonitor_alert_new_max_length_resource_url, scriptmonitor_alert_new_resources, secondary_dns_all_primaries_failing, secondary_dns_primaries_failing, secondary_dns_zone_successfully_updated, secondary_dns_zone_validation_warning, sentinel_alert, stream_live_notifications, tunnel_health_event, tunnel_update_event, universal_ssl_event_type, web_analytics_metrics_update, weekly_account_overview, workers_alert, zone_aop_custom_certificate_expiration_type.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    enabled bool
    The status of the notification policy.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    webhooks_integrations Sequence[NotificationPolicyWebhooksIntegrationArgs]
    The unique id of a configured webhooks endpoint to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.
    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: access_custom_certificate_expiration_type, advanced_ddos_attack_l4_alert, advanced_ddos_attack_l7_alert, bgp_hijack_notification, billing_usage_alert, block_notification_block_removed, block_notification_new_block, block_notification_review_rejected, clickhouse_alert_fw_anomaly, clickhouse_alert_fw_ent_anomaly, custom_ssl_certificate_event_type, dedicated_ssl_certificate_event_type, dos_attack_l4, dos_attack_l7, expiring_service_token_alert, failing_logpush_job_disabled_alert, fbm_auto_advertisement, fbm_dosd_attack, fbm_volumetric_attack, health_check_status_notification, hostname_aop_custom_certificate_expiration_type, http_alert_edge_error, http_alert_origin_error, load_balancing_health_alert, load_balancing_pool_enablement_alert, real_origin_monitoring, scriptmonitor_alert_new_code_change_detections, scriptmonitor_alert_new_hosts, scriptmonitor_alert_new_malicious_hosts, scriptmonitor_alert_new_malicious_scripts, scriptmonitor_alert_new_malicious_url, scriptmonitor_alert_new_max_length_resource_url, scriptmonitor_alert_new_resources, secondary_dns_all_primaries_failing, secondary_dns_primaries_failing, secondary_dns_zone_successfully_updated, secondary_dns_zone_validation_warning, sentinel_alert, stream_live_notifications, tunnel_health_event, tunnel_update_event, universal_ssl_event_type, web_analytics_metrics_update, weekly_account_overview, workers_alert, zone_aop_custom_certificate_expiration_type.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    enabled Boolean
    The status of the notification policy.
    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. One of email, webhooks, or PagerDuty mechanisms is required.
    webhooksIntegrations List<Property Map>
    The unique id of a configured webhooks endpoint to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.

    Supporting Types

    NotificationPolicyEmailIntegration, NotificationPolicyEmailIntegrationArgs

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

    NotificationPolicyFilters, NotificationPolicyFiltersArgs

    Enableds List<string>
    State of the pool to alert on.
    EventSources List<string>
    Source configuration to alert on for pool or origin.
    EventTypes List<string>
    Stream event type to alert on.
    HealthCheckIds List<string>
    Identifier health check. Required when using filters.0.status.
    InputIds List<string>
    Stream input id to alert on.
    Limits List<string>
    A numerical limit. Example: 100.
    NewHealths List<string>
    Health status to alert on for pool or origin.
    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.
    Protocols List<string>
    Protocol to alert on for dos.
    RequestsPerSeconds List<string>
    Requests per second threshold for dos alert.
    Services List<string>
    Slos List<string>
    A numerical limit. Example: 99.9.
    Statuses List<string>
    Status to alert on.
    TargetHosts List<string>
    Target host to alert on for dos.
    TargetZoneNames List<string>
    Target domain to alert on.
    Zones List<string>
    A list of zone identifiers.
    Enableds []string
    State of the pool to alert on.
    EventSources []string
    Source configuration to alert on for pool or origin.
    EventTypes []string
    Stream event type to alert on.
    HealthCheckIds []string
    Identifier health check. Required when using filters.0.status.
    InputIds []string
    Stream input id to alert on.
    Limits []string
    A numerical limit. Example: 100.
    NewHealths []string
    Health status to alert on for pool or origin.
    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.
    Protocols []string
    Protocol to alert on for dos.
    RequestsPerSeconds []string
    Requests per second threshold for dos alert.
    Services []string
    Slos []string
    A numerical limit. Example: 99.9.
    Statuses []string
    Status to alert on.
    TargetHosts []string
    Target host to alert on for dos.
    TargetZoneNames []string
    Target domain to alert on.
    Zones []string
    A list of zone identifiers.
    enableds List<String>
    State of the pool to alert on.
    eventSources List<String>
    Source configuration to alert on for pool or origin.
    eventTypes List<String>
    Stream event type to alert on.
    healthCheckIds List<String>
    Identifier health check. Required when using filters.0.status.
    inputIds List<String>
    Stream input id to alert on.
    limits List<String>
    A numerical limit. Example: 100.
    newHealths List<String>
    Health status to alert on for pool or origin.
    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.
    protocols List<String>
    Protocol to alert on for dos.
    requestsPerSeconds List<String>
    Requests per second threshold for dos alert.
    services List<String>
    slos List<String>
    A numerical limit. Example: 99.9.
    statuses List<String>
    Status to alert on.
    targetHosts List<String>
    Target host to alert on for dos.
    targetZoneNames List<String>
    Target domain to alert on.
    zones List<String>
    A list of zone identifiers.
    enableds string[]
    State of the pool to alert on.
    eventSources string[]
    Source configuration to alert on for pool or origin.
    eventTypes string[]
    Stream event type to alert on.
    healthCheckIds string[]
    Identifier health check. Required when using filters.0.status.
    inputIds string[]
    Stream input id to alert on.
    limits string[]
    A numerical limit. Example: 100.
    newHealths string[]
    Health status to alert on for pool or origin.
    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.
    protocols string[]
    Protocol to alert on for dos.
    requestsPerSeconds string[]
    Requests per second threshold for dos alert.
    services string[]
    slos string[]
    A numerical limit. Example: 99.9.
    statuses string[]
    Status to alert on.
    targetHosts string[]
    Target host to alert on for dos.
    targetZoneNames string[]
    Target domain to alert on.
    zones string[]
    A list of zone identifiers.
    enableds Sequence[str]
    State of the pool to alert on.
    event_sources Sequence[str]
    Source configuration to alert on for pool or origin.
    event_types Sequence[str]
    Stream event type to alert on.
    health_check_ids Sequence[str]
    Identifier health check. Required when using filters.0.status.
    input_ids Sequence[str]
    Stream input id to alert on.
    limits Sequence[str]
    A numerical limit. Example: 100.
    new_healths Sequence[str]
    Health status to alert on for pool or origin.
    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.
    protocols Sequence[str]
    Protocol to alert on for dos.
    requests_per_seconds Sequence[str]
    Requests per second threshold for dos alert.
    services Sequence[str]
    slos Sequence[str]
    A numerical limit. Example: 99.9.
    statuses Sequence[str]
    Status to alert on.
    target_hosts Sequence[str]
    Target host to alert on for dos.
    target_zone_names Sequence[str]
    Target domain to alert on.
    zones Sequence[str]
    A list of zone identifiers.
    enableds List<String>
    State of the pool to alert on.
    eventSources List<String>
    Source configuration to alert on for pool or origin.
    eventTypes List<String>
    Stream event type to alert on.
    healthCheckIds List<String>
    Identifier health check. Required when using filters.0.status.
    inputIds List<String>
    Stream input id to alert on.
    limits List<String>
    A numerical limit. Example: 100.
    newHealths List<String>
    Health status to alert on for pool or origin.
    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.
    protocols List<String>
    Protocol to alert on for dos.
    requestsPerSeconds List<String>
    Requests per second threshold for dos alert.
    services List<String>
    slos List<String>
    A numerical limit. Example: 99.9.
    statuses List<String>
    Status to alert on.
    targetHosts List<String>
    Target host to alert on for dos.
    targetZoneNames List<String>
    Target domain to alert on.
    zones List<String>
    A list of zone identifiers.

    NotificationPolicyPagerdutyIntegration, NotificationPolicyPagerdutyIntegrationArgs

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

    NotificationPolicyWebhooksIntegration, NotificationPolicyWebhooksIntegrationArgs

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

    Import

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

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Viewing docs for Cloudflare v4.16.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.