cloudflare.NotificationPolicy
Explore with Pulumi AI
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:
- Account
Id string - The account identifier to target for the resource.
- Alert
Type 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
,image_notification
,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.
- Email
Integrations List<NotificationPolicy Email Integration> - The email ID to which the notification should be dispatched.
- Filters
Notification
Policy Filters - 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 List<NotificationPolicy Pagerduty Integration> - The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
- Webhooks
Integrations List<NotificationPolicy Webhooks Integration> - The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
- Account
Id string - The account identifier to target for the resource.
- Alert
Type 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
,image_notification
,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.
- Email
Integrations []NotificationPolicy Email Integration Args - The email ID to which the notification should be dispatched.
- Filters
Notification
Policy Filters Args - 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 []NotificationPolicy Pagerduty Integration Args - The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
- Webhooks
Integrations []NotificationPolicy Webhooks Integration Args - The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
- account
Id String - The account identifier to target for the resource.
- alert
Type 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
,image_notification
,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.
- email
Integrations List<NotificationPolicy Email Integration> - The email ID to which the notification should be dispatched.
- filters
Notification
Policy Filters - 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 List<NotificationPolicy Pagerduty Integration> - The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
- webhooks
Integrations List<NotificationPolicy Webhooks Integration> - The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
- account
Id string - The account identifier to target for the resource.
- alert
Type 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
,image_notification
,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.
- email
Integrations NotificationPolicy Email Integration[] - The email ID to which the notification should be dispatched.
- filters
Notification
Policy Filters - 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 NotificationPolicy Pagerduty Integration[] - The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
- webhooks
Integrations NotificationPolicy Webhooks Integration[] - 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
,image_notification
,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[NotificationPolicy Email Integration Args] - The email ID to which the notification should be dispatched.
- filters
Notification
Policy Filters Args - 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[NotificationPolicy Pagerduty Integration Args] - The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
- webhooks_
integrations Sequence[NotificationPolicy Webhooks Integration Args] - The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
- account
Id String - The account identifier to target for the resource.
- alert
Type 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
,image_notification
,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.
- email
Integrations 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). - pagerduty
Integrations List<Property Map> - The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
- webhooks
Integrations 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:
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.
- Account
Id string - The account identifier to target for the resource.
- Alert
Type 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
,image_notification
,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.
- Email
Integrations List<NotificationPolicy Email Integration> - The email ID to which the notification should be dispatched.
- Enabled bool
- The status of the notification policy.
- Filters
Notification
Policy Filters - 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.
- Pagerduty
Integrations List<NotificationPolicy Pagerduty Integration> - The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
- Webhooks
Integrations List<NotificationPolicy Webhooks Integration> - The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
- Account
Id string - The account identifier to target for the resource.
- Alert
Type 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
,image_notification
,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.
- Email
Integrations []NotificationPolicy Email Integration Args - The email ID to which the notification should be dispatched.
- Enabled bool
- The status of the notification policy.
- Filters
Notification
Policy Filters Args - 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.
- Pagerduty
Integrations []NotificationPolicy Pagerduty Integration Args - The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
- Webhooks
Integrations []NotificationPolicy Webhooks Integration Args - The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
- account
Id String - The account identifier to target for the resource.
- alert
Type 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
,image_notification
,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.
- email
Integrations List<NotificationPolicy Email Integration> - The email ID to which the notification should be dispatched.
- enabled Boolean
- The status of the notification policy.
- filters
Notification
Policy Filters - 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.
- pagerduty
Integrations List<NotificationPolicy Pagerduty Integration> - The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
- webhooks
Integrations List<NotificationPolicy Webhooks Integration> - The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
- account
Id string - The account identifier to target for the resource.
- alert
Type 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
,image_notification
,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.
- email
Integrations NotificationPolicy Email Integration[] - The email ID to which the notification should be dispatched.
- enabled boolean
- The status of the notification policy.
- filters
Notification
Policy Filters - 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.
- pagerduty
Integrations NotificationPolicy Pagerduty Integration[] - The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
- webhooks
Integrations NotificationPolicy Webhooks Integration[] - 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
,image_notification
,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[NotificationPolicy Email Integration Args] - The email ID to which the notification should be dispatched.
- enabled bool
- The status of the notification policy.
- filters
Notification
Policy Filters Args - 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[NotificationPolicy Pagerduty Integration Args] - The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
- webhooks_
integrations Sequence[NotificationPolicy Webhooks Integration Args] - The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
- account
Id String - The account identifier to target for the resource.
- alert
Type 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
,image_notification
,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.
- email
Integrations 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.
- pagerduty
Integrations List<Property Map> - The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
- webhooks
Integrations List<Property Map> - The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
Supporting Types
NotificationPolicyEmailIntegration, NotificationPolicyEmailIntegrationArgs
NotificationPolicyFilters, NotificationPolicyFiltersArgs
- Actions List<string>
- Targeted actions for alert.
- Affected
Components 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
. - Airport
Codes List<string> - Filter on Points of Presence.
- Alert
Trigger List<string>Preferences - 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
. - Event
Sources List<string> - Source configuration to alert on for pool or origin.
- Event
Types 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
. - Group
Bies List<string> - Alert grouping.
- Health
Check List<string>Ids - Identifier health check. Required when using
filters.0.status
. - Incident
Impacts 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
. - Input
Ids List<string> - Stream input id to alert on.
- Limits List<string>
- A numerical limit. Example:
100
. - Megabits
Per List<string>Seconds - Megabits per second threshold for dos alert.
- New
Healths List<string> - Health status to alert on for pool or origin.
- New
Statuses List<string> - Tunnel health status to alert on.
- Packets
Per List<string>Seconds - Packets per second threshold for dos alert.
- Pool
Ids 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
. - Project
Ids List<string> - Identifier of pages project.
- Protocols List<string>
- Protocol to alert on for dos.
- Requests
Per List<string>Seconds - 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.
- Target
Hostnames List<string> - Target host to alert on for dos.
- Target
Ips List<string> - Target ip to alert on for dos in CIDR notation.
- Target
Zone List<string>Names - Target domain to alert on.
- Tunnel
Ids List<string> - Tunnel IDs to alert on.
- Tunnel
Names 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.
- Affected
Components []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
. - Airport
Codes []string - Filter on Points of Presence.
- Alert
Trigger []stringPreferences - 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
. - Event
Sources []string - Source configuration to alert on for pool or origin.
- Event
Types []string - Stream event type to alert on.
- Events []string
- Pages event to alert. Available values:
EVENT_DEPLOYMENT_STARTED
,EVENT_DEPLOYMENT_FAILED
,EVENT_DEPLOYMENT_SUCCESS
. - Group
Bies []string - Alert grouping.
- Health
Check []stringIds - Identifier health check. Required when using
filters.0.status
. - Incident
Impacts []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
. - Input
Ids []string - Stream input id to alert on.
- Limits []string
- A numerical limit. Example:
100
. - Megabits
Per []stringSeconds - Megabits per second threshold for dos alert.
- New
Healths []string - Health status to alert on for pool or origin.
- New
Statuses []string - Tunnel health status to alert on.
- Packets
Per []stringSeconds - Packets per second threshold for dos alert.
- Pool
Ids []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
. - Project
Ids []string - Identifier of pages project.
- Protocols []string
- Protocol to alert on for dos.
- Requests
Per []stringSeconds - 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.
- Target
Hostnames []string - Target host to alert on for dos.
- Target
Ips []string - Target ip to alert on for dos in CIDR notation.
- Target
Zone []stringNames - Target domain to alert on.
- Tunnel
Ids []string - Tunnel IDs to alert on.
- Tunnel
Names []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.
- affected
Components 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
. - airport
Codes List<String> - Filter on Points of Presence.
- alert
Trigger List<String>Preferences - 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
. - event
Sources List<String> - Source configuration to alert on for pool or origin.
- event
Types 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
. - group
Bies List<String> - Alert grouping.
- health
Check List<String>Ids - Identifier health check. Required when using
filters.0.status
. - incident
Impacts 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
. - input
Ids List<String> - Stream input id to alert on.
- limits List<String>
- A numerical limit. Example:
100
. - megabits
Per List<String>Seconds - Megabits per second threshold for dos alert.
- new
Healths List<String> - Health status to alert on for pool or origin.
- new
Statuses List<String> - Tunnel health status to alert on.
- packets
Per List<String>Seconds - Packets per second threshold for dos alert.
- pool
Ids 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
. - project
Ids List<String> - Identifier of pages project.
- protocols List<String>
- Protocol to alert on for dos.
- requests
Per List<String>Seconds - 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.
- target
Hostnames List<String> - Target host to alert on for dos.
- target
Ips List<String> - Target ip to alert on for dos in CIDR notation.
- target
Zone List<String>Names - Target domain to alert on.
- tunnel
Ids List<String> - Tunnel IDs to alert on.
- tunnel
Names 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.
- affected
Components 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
. - airport
Codes string[] - Filter on Points of Presence.
- alert
Trigger string[]Preferences - 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
. - event
Sources string[] - Source configuration to alert on for pool or origin.
- event
Types string[] - Stream event type to alert on.
- events string[]
- Pages event to alert. Available values:
EVENT_DEPLOYMENT_STARTED
,EVENT_DEPLOYMENT_FAILED
,EVENT_DEPLOYMENT_SUCCESS
. - group
Bies string[] - Alert grouping.
- health
Check string[]Ids - Identifier health check. Required when using
filters.0.status
. - incident
Impacts 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
. - input
Ids string[] - Stream input id to alert on.
- limits string[]
- A numerical limit. Example:
100
. - megabits
Per string[]Seconds - Megabits per second threshold for dos alert.
- new
Healths string[] - Health status to alert on for pool or origin.
- new
Statuses string[] - Tunnel health status to alert on.
- packets
Per string[]Seconds - Packets per second threshold for dos alert.
- pool
Ids 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
. - project
Ids string[] - Identifier of pages project.
- protocols string[]
- Protocol to alert on for dos.
- requests
Per string[]Seconds - 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.
- target
Hostnames string[] - Target host to alert on for dos.
- target
Ips string[] - Target ip to alert on for dos in CIDR notation.
- target
Zone string[]Names - Target domain to alert on.
- tunnel
Ids string[] - Tunnel IDs to alert on.
- tunnel
Names 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_ Sequence[str]preferences - 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_ Sequence[str]ids - 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_ Sequence[str]seconds - 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_ Sequence[str]seconds - 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_ Sequence[str]seconds - 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_ Sequence[str]names - 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.
- affected
Components 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
. - airport
Codes List<String> - Filter on Points of Presence.
- alert
Trigger List<String>Preferences - 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
. - event
Sources List<String> - Source configuration to alert on for pool or origin.
- event
Types 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
. - group
Bies List<String> - Alert grouping.
- health
Check List<String>Ids - Identifier health check. Required when using
filters.0.status
. - incident
Impacts 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
. - input
Ids List<String> - Stream input id to alert on.
- limits List<String>
- A numerical limit. Example:
100
. - megabits
Per List<String>Seconds - Megabits per second threshold for dos alert.
- new
Healths List<String> - Health status to alert on for pool or origin.
- new
Statuses List<String> - Tunnel health status to alert on.
- packets
Per List<String>Seconds - Packets per second threshold for dos alert.
- pool
Ids 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
. - project
Ids List<String> - Identifier of pages project.
- protocols List<String>
- Protocol to alert on for dos.
- requests
Per List<String>Seconds - 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.
- target
Hostnames List<String> - Target host to alert on for dos.
- target
Ips List<String> - Target ip to alert on for dos in CIDR notation.
- target
Zone List<String>Names - Target domain to alert on.
- tunnel
Ids List<String> - Tunnel IDs to alert on.
- tunnel
Names List<String> - Tunnel Names to alert on.
- wheres List<String>
- Filter for alert.
- zones List<String>
- A list of zone identifiers.
NotificationPolicyPagerdutyIntegration, NotificationPolicyPagerdutyIntegrationArgs
NotificationPolicyWebhooksIntegration, NotificationPolicyWebhooksIntegrationArgs
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.