1. Packages
  2. Cloudflare
  3. API Docs
  4. NotificationPolicy
Cloudflare v5.34.0 published on Friday, Jul 12, 2024 by Pulumi

cloudflare.NotificationPolicy

Explore with Pulumi AI

cloudflare logo
Cloudflare v5.34.0 published on Friday, Jul 12, 2024 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
        {
            Actions = new[]
            {
                "string",
            },
            AffectedComponents = new[]
            {
                "string",
            },
            AirportCodes = new[]
            {
                "string",
            },
            AlertTriggerPreferences = new[]
            {
                "string",
            },
            Enableds = new[]
            {
                "string",
            },
            Environments = new[]
            {
                "string",
            },
            EventSources = new[]
            {
                "string",
            },
            EventTypes = new[]
            {
                "string",
            },
            Events = new[]
            {
                "string",
            },
            GroupBies = new[]
            {
                "string",
            },
            HealthCheckIds = new[]
            {
                "string",
            },
            IncidentImpacts = new[]
            {
                "string",
            },
            InputIds = new[]
            {
                "string",
            },
            Limits = new[]
            {
                "string",
            },
            MegabitsPerSeconds = new[]
            {
                "string",
            },
            NewHealths = new[]
            {
                "string",
            },
            NewStatuses = new[]
            {
                "string",
            },
            PacketsPerSeconds = new[]
            {
                "string",
            },
            PoolIds = new[]
            {
                "string",
            },
            Products = new[]
            {
                "string",
            },
            ProjectIds = new[]
            {
                "string",
            },
            Protocols = new[]
            {
                "string",
            },
            RequestsPerSeconds = new[]
            {
                "string",
            },
            Selectors = new[]
            {
                "string",
            },
            Services = new[]
            {
                "string",
            },
            Slos = new[]
            {
                "string",
            },
            Statuses = new[]
            {
                "string",
            },
            TargetHostnames = new[]
            {
                "string",
            },
            TargetIps = new[]
            {
                "string",
            },
            TargetZoneNames = new[]
            {
                "string",
            },
            TunnelIds = new[]
            {
                "string",
            },
            TunnelNames = new[]
            {
                "string",
            },
            Wheres = 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{
    		Actions: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AffectedComponents: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AirportCodes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AlertTriggerPreferences: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Enableds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Environments: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		EventSources: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		EventTypes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Events: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		GroupBies: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		HealthCheckIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		IncidentImpacts: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		InputIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Limits: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		MegabitsPerSeconds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		NewHealths: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		NewStatuses: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		PacketsPerSeconds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		PoolIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Products: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ProjectIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Protocols: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		RequestsPerSeconds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Selectors: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Services: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Slos: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Statuses: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		TargetHostnames: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		TargetIps: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		TargetZoneNames: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		TunnelIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		TunnelNames: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Wheres: 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()
            .actions("string")
            .affectedComponents("string")
            .airportCodes("string")
            .alertTriggerPreferences("string")
            .enableds("string")
            .environments("string")
            .eventSources("string")
            .eventTypes("string")
            .events("string")
            .groupBies("string")
            .healthCheckIds("string")
            .incidentImpacts("string")
            .inputIds("string")
            .limits("string")
            .megabitsPerSeconds("string")
            .newHealths("string")
            .newStatuses("string")
            .packetsPerSeconds("string")
            .poolIds("string")
            .products("string")
            .projectIds("string")
            .protocols("string")
            .requestsPerSeconds("string")
            .selectors("string")
            .services("string")
            .slos("string")
            .statuses("string")
            .targetHostnames("string")
            .targetIps("string")
            .targetZoneNames("string")
            .tunnelIds("string")
            .tunnelNames("string")
            .wheres("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=[cloudflare.NotificationPolicyEmailIntegrationArgs(
            id="string",
            name="string",
        )],
        filters=cloudflare.NotificationPolicyFiltersArgs(
            actions=["string"],
            affected_components=["string"],
            airport_codes=["string"],
            alert_trigger_preferences=["string"],
            enableds=["string"],
            environments=["string"],
            event_sources=["string"],
            event_types=["string"],
            events=["string"],
            group_bies=["string"],
            health_check_ids=["string"],
            incident_impacts=["string"],
            input_ids=["string"],
            limits=["string"],
            megabits_per_seconds=["string"],
            new_healths=["string"],
            new_statuses=["string"],
            packets_per_seconds=["string"],
            pool_ids=["string"],
            products=["string"],
            project_ids=["string"],
            protocols=["string"],
            requests_per_seconds=["string"],
            selectors=["string"],
            services=["string"],
            slos=["string"],
            statuses=["string"],
            target_hostnames=["string"],
            target_ips=["string"],
            target_zone_names=["string"],
            tunnel_ids=["string"],
            tunnel_names=["string"],
            wheres=["string"],
            zones=["string"],
        ),
        pagerduty_integrations=[cloudflare.NotificationPolicyPagerdutyIntegrationArgs(
            id="string",
            name="string",
        )],
        webhooks_integrations=[cloudflare.NotificationPolicyWebhooksIntegrationArgs(
            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: {
            actions: ["string"],
            affectedComponents: ["string"],
            airportCodes: ["string"],
            alertTriggerPreferences: ["string"],
            enableds: ["string"],
            environments: ["string"],
            eventSources: ["string"],
            eventTypes: ["string"],
            events: ["string"],
            groupBies: ["string"],
            healthCheckIds: ["string"],
            incidentImpacts: ["string"],
            inputIds: ["string"],
            limits: ["string"],
            megabitsPerSeconds: ["string"],
            newHealths: ["string"],
            newStatuses: ["string"],
            packetsPerSeconds: ["string"],
            poolIds: ["string"],
            products: ["string"],
            projectIds: ["string"],
            protocols: ["string"],
            requestsPerSeconds: ["string"],
            selectors: ["string"],
            services: ["string"],
            slos: ["string"],
            statuses: ["string"],
            targetHostnames: ["string"],
            targetIps: ["string"],
            targetZoneNames: ["string"],
            tunnelIds: ["string"],
            tunnelNames: ["string"],
            wheres: ["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:
            actions:
                - string
            affectedComponents:
                - string
            airportCodes:
                - string
            alertTriggerPreferences:
                - string
            enableds:
                - string
            environments:
                - string
            eventSources:
                - string
            eventTypes:
                - string
            events:
                - string
            groupBies:
                - string
            healthCheckIds:
                - string
            incidentImpacts:
                - string
            inputIds:
                - string
            limits:
                - string
            megabitsPerSeconds:
                - string
            newHealths:
                - string
            newStatuses:
                - string
            packetsPerSeconds:
                - string
            poolIds:
                - string
            products:
                - string
            projectIds:
                - string
            protocols:
                - string
            requestsPerSeconds:
                - string
            selectors:
                - string
            services:
                - string
            slos:
                - string
            statuses:
                - string
            targetHostnames:
                - string
            targetIps:
                - string
            targetZoneNames:
                - string
            tunnelIds:
                - string
            tunnelNames:
                - string
            wheres:
                - 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

    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
    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.
    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
    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.
    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
    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.
    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
    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.
    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
    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.
    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
    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.
    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
    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.
    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
    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.
    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
    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.
    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
    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.
    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
    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.
    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
    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.
    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.
    TargetIps List<string>
    Target ip to alert on for dos in CIDR notation.
    TargetZoneNames List<string>
    Target domain to alert on.
    TunnelIds List<string>
    Tunnel IDs to alert on.
    TunnelNames List<string>
    Tunnel Names 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.
    TargetIps []string
    Target ip to alert on for dos in CIDR notation.
    TargetZoneNames []string
    Target domain to alert on.
    TunnelIds []string
    Tunnel IDs to alert on.
    TunnelNames []string
    Tunnel Names 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.
    targetIps List<String>
    Target ip to alert on for dos in CIDR notation.
    targetZoneNames List<String>
    Target domain to alert on.
    tunnelIds List<String>
    Tunnel IDs to alert on.
    tunnelNames List<String>
    Tunnel Names 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.
    targetIps string[]
    Target ip to alert on for dos in CIDR notation.
    targetZoneNames string[]
    Target domain to alert on.
    tunnelIds string[]
    Tunnel IDs to alert on.
    tunnelNames string[]
    Tunnel Names 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_ips Sequence[str]
    Target ip to alert on for dos in CIDR notation.
    target_zone_names Sequence[str]
    Target domain to alert on.
    tunnel_ids Sequence[str]
    Tunnel IDs to alert on.
    tunnel_names Sequence[str]
    Tunnel Names 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.
    targetIps List<String>
    Target ip to alert on for dos in CIDR notation.
    targetZoneNames List<String>
    Target domain to alert on.
    tunnelIds List<String>
    Tunnel IDs to alert on.
    tunnelNames List<String>
    Tunnel Names 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>
    

    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
    Cloudflare v5.34.0 published on Friday, Jul 12, 2024 by Pulumi