published on Monday, Aug 24, 2026 by Pulumi
published on Monday, Aug 24, 2026 by Pulumi
Provides a Cms Event Notify Policy resource.
For information about Cms Event Notify Policy and how to use it, see What is Event Notify Policy.
NOTE: Available since v1.289.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = new alicloud.cms.EventNotifyPolicy("default", {
description: "Event notification policy managed by Terraform",
responsePlan: {
repeatNotifySetting: {
endIncidentState: "resolved",
repeatInterval: 30,
},
autoRecoverSeconds: 600,
},
notifyStrategy: {
description: "Notify strategy for list example",
ignoreRestoredNotification: false,
groupingSetting: {
groupingKeys: ["severity"],
periodMin: 5,
times: 1,
silenceSec: 300,
},
routes: [{
effectTimeRange: {
timeZone: "Asia/Shanghai",
startTimeInMinute: 0,
endTimeInMinute: 1439,
dayInWeeks: [
1,
2,
3,
4,
5,
],
},
channels: [{
receivers: ["tf-example-group"],
channelType: "DING",
enabledSubChannels: [],
}],
}],
},
subscription: {
subscribeLegacyEvent: true,
filterSetting: {
relation: "AND",
conditions: [{
field: "severity",
op: "EQ",
value: "CRITICAL",
}],
},
},
workspace: "default-workspace-cn-hangzhou",
name: "tf-list-enp-0716a",
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = alicloud.cms.EventNotifyPolicy("default",
description="Event notification policy managed by Terraform",
response_plan={
"repeat_notify_setting": {
"end_incident_state": "resolved",
"repeat_interval": 30,
},
"auto_recover_seconds": 600,
},
notify_strategy={
"description": "Notify strategy for list example",
"ignore_restored_notification": False,
"grouping_setting": {
"grouping_keys": ["severity"],
"period_min": 5,
"times": 1,
"silence_sec": 300,
},
"routes": [{
"effect_time_range": {
"time_zone": "Asia/Shanghai",
"start_time_in_minute": 0,
"end_time_in_minute": 1439,
"day_in_weeks": [
1,
2,
3,
4,
5,
],
},
"channels": [{
"receivers": ["tf-example-group"],
"channel_type": "DING",
"enabled_sub_channels": [],
}],
}],
},
subscription={
"subscribe_legacy_event": True,
"filter_setting": {
"relation": "AND",
"conditions": [{
"field": "severity",
"op": "EQ",
"value": "CRITICAL",
}],
},
},
workspace="default-workspace-cn-hangzhou",
name="tf-list-enp-0716a")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_, err := cms.NewEventNotifyPolicy(ctx, "default", &cms.EventNotifyPolicyArgs{
Description: pulumi.String("Event notification policy managed by Terraform"),
ResponsePlan: &cms.EventNotifyPolicyResponsePlanArgs{
RepeatNotifySetting: &cms.EventNotifyPolicyResponsePlanRepeatNotifySettingArgs{
EndIncidentState: pulumi.String("resolved"),
RepeatInterval: pulumi.Int(30),
},
AutoRecoverSeconds: pulumi.Int(600),
},
NotifyStrategy: &cms.EventNotifyPolicyNotifyStrategyArgs{
Description: pulumi.String("Notify strategy for list example"),
IgnoreRestoredNotification: pulumi.Bool(false),
GroupingSetting: &cms.EventNotifyPolicyNotifyStrategyGroupingSettingArgs{
GroupingKeys: pulumi.StringArray{
pulumi.String("severity"),
},
PeriodMin: pulumi.Int(5),
Times: pulumi.Int(1),
SilenceSec: pulumi.Int(300),
},
Routes: cms.EventNotifyPolicyNotifyStrategyRouteArray{
&cms.EventNotifyPolicyNotifyStrategyRouteArgs{
EffectTimeRange: &cms.EventNotifyPolicyNotifyStrategyRouteEffectTimeRangeArgs{
TimeZone: pulumi.String("Asia/Shanghai"),
StartTimeInMinute: pulumi.Int(0),
EndTimeInMinute: pulumi.Int(1439),
DayInWeeks: pulumi.IntArray{
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
pulumi.Int(4),
pulumi.Int(5),
},
},
Channels: cms.EventNotifyPolicyNotifyStrategyRouteChannelArray{
&cms.EventNotifyPolicyNotifyStrategyRouteChannelArgs{
Receivers: pulumi.StringArray{
pulumi.String("tf-example-group"),
},
ChannelType: pulumi.String("DING"),
EnabledSubChannels: pulumi.StringArray{},
},
},
},
},
},
Subscription: &cms.EventNotifyPolicySubscriptionArgs{
SubscribeLegacyEvent: pulumi.Bool(true),
FilterSetting: &cms.EventNotifyPolicySubscriptionFilterSettingArgs{
Relation: pulumi.String("AND"),
Conditions: cms.EventNotifyPolicySubscriptionFilterSettingConditionArray{
&cms.EventNotifyPolicySubscriptionFilterSettingConditionArgs{
Field: pulumi.String("severity"),
Op: pulumi.String("EQ"),
Value: pulumi.String("CRITICAL"),
},
},
},
},
Workspace: pulumi.String("default-workspace-cn-hangzhou"),
Name: pulumi.String("tf-list-enp-0716a"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = new AliCloud.Cms.EventNotifyPolicy("default", new()
{
Description = "Event notification policy managed by Terraform",
ResponsePlan = new AliCloud.Cms.Inputs.EventNotifyPolicyResponsePlanArgs
{
RepeatNotifySetting = new AliCloud.Cms.Inputs.EventNotifyPolicyResponsePlanRepeatNotifySettingArgs
{
EndIncidentState = "resolved",
RepeatInterval = 30,
},
AutoRecoverSeconds = 600,
},
NotifyStrategy = new AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyArgs
{
Description = "Notify strategy for list example",
IgnoreRestoredNotification = false,
GroupingSetting = new AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyGroupingSettingArgs
{
GroupingKeys = new[]
{
"severity",
},
PeriodMin = 5,
Times = 1,
SilenceSec = 300,
},
Routes = new[]
{
new AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyRouteArgs
{
EffectTimeRange = new AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyRouteEffectTimeRangeArgs
{
TimeZone = "Asia/Shanghai",
StartTimeInMinute = 0,
EndTimeInMinute = 1439,
DayInWeeks = new[]
{
1,
2,
3,
4,
5,
},
},
Channels = new[]
{
new AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyRouteChannelArgs
{
Receivers = new[]
{
"tf-example-group",
},
ChannelType = "DING",
EnabledSubChannels = new() { },
},
},
},
},
},
Subscription = new AliCloud.Cms.Inputs.EventNotifyPolicySubscriptionArgs
{
SubscribeLegacyEvent = true,
FilterSetting = new AliCloud.Cms.Inputs.EventNotifyPolicySubscriptionFilterSettingArgs
{
Relation = "AND",
Conditions = new[]
{
new AliCloud.Cms.Inputs.EventNotifyPolicySubscriptionFilterSettingConditionArgs
{
Field = "severity",
Op = "EQ",
Value = "CRITICAL",
},
},
},
},
Workspace = "default-workspace-cn-hangzhou",
Name = "tf-list-enp-0716a",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cms.EventNotifyPolicy;
import com.pulumi.alicloud.cms.EventNotifyPolicyArgs;
import com.pulumi.alicloud.cms.inputs.EventNotifyPolicyResponsePlanArgs;
import com.pulumi.alicloud.cms.inputs.EventNotifyPolicyResponsePlanRepeatNotifySettingArgs;
import com.pulumi.alicloud.cms.inputs.EventNotifyPolicyNotifyStrategyArgs;
import com.pulumi.alicloud.cms.inputs.EventNotifyPolicyNotifyStrategyGroupingSettingArgs;
import com.pulumi.alicloud.cms.inputs.EventNotifyPolicyNotifyStrategyRouteArgs;
import com.pulumi.alicloud.cms.inputs.EventNotifyPolicyNotifyStrategyRouteEffectTimeRangeArgs;
import com.pulumi.alicloud.cms.inputs.EventNotifyPolicyNotifyStrategyRouteChannelArgs;
import com.pulumi.alicloud.cms.inputs.EventNotifyPolicySubscriptionArgs;
import com.pulumi.alicloud.cms.inputs.EventNotifyPolicySubscriptionFilterSettingArgs;
import com.pulumi.alicloud.cms.inputs.EventNotifyPolicySubscriptionFilterSettingConditionArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
var default_ = new EventNotifyPolicy("default", EventNotifyPolicyArgs.builder()
.description("Event notification policy managed by Terraform")
.responsePlan(EventNotifyPolicyResponsePlanArgs.builder()
.repeatNotifySetting(EventNotifyPolicyResponsePlanRepeatNotifySettingArgs.builder()
.endIncidentState("resolved")
.repeatInterval(30)
.build())
.autoRecoverSeconds(600)
.build())
.notifyStrategy(EventNotifyPolicyNotifyStrategyArgs.builder()
.description("Notify strategy for list example")
.ignoreRestoredNotification(false)
.groupingSetting(EventNotifyPolicyNotifyStrategyGroupingSettingArgs.builder()
.groupingKeys("severity")
.periodMin(5)
.times(1)
.silenceSec(300)
.build())
.routes(EventNotifyPolicyNotifyStrategyRouteArgs.builder()
.effectTimeRange(EventNotifyPolicyNotifyStrategyRouteEffectTimeRangeArgs.builder()
.timeZone("Asia/Shanghai")
.startTimeInMinute(0)
.endTimeInMinute(1439)
.dayInWeeks(
1,
2,
3,
4,
5)
.build())
.channels(EventNotifyPolicyNotifyStrategyRouteChannelArgs.builder()
.receivers("tf-example-group")
.channelType("DING")
.enabledSubChannels()
.build())
.build())
.build())
.subscription(EventNotifyPolicySubscriptionArgs.builder()
.subscribeLegacyEvent(true)
.filterSetting(EventNotifyPolicySubscriptionFilterSettingArgs.builder()
.relation("AND")
.conditions(EventNotifyPolicySubscriptionFilterSettingConditionArgs.builder()
.field("severity")
.op("EQ")
.value("CRITICAL")
.build())
.build())
.build())
.workspace("default-workspace-cn-hangzhou")
.name("tf-list-enp-0716a")
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
default:
type: alicloud:cms:EventNotifyPolicy
properties:
description: Event notification policy managed by Terraform
responsePlan:
repeatNotifySetting:
endIncidentState: resolved
repeatInterval: '30'
autoRecoverSeconds: '600'
notifyStrategy:
description: Notify strategy for list example
ignoreRestoredNotification: false
groupingSetting:
groupingKeys:
- severity
periodMin: '5'
times: '1'
silenceSec: '300'
routes:
- effectTimeRange:
timeZone: Asia/Shanghai
startTimeInMinute: '0'
endTimeInMinute: '1439'
dayInWeeks:
- '1'
- '2'
- '3'
- '4'
- '5'
channels:
- receivers:
- tf-example-group
channelType: DING
enabledSubChannels: []
subscription:
subscribeLegacyEvent: true
filterSetting:
relation: AND
conditions:
- field: severity
op: EQ
value: CRITICAL
workspace: default-workspace-cn-hangzhou
name: tf-list-enp-0716a
pulumi {
required_providers {
alicloud = {
source = "pulumi/alicloud"
}
}
}
resource "alicloud_cms_eventnotifypolicy" "default" {
description = "Event notification policy managed by Terraform"
response_plan = {
repeat_notify_setting = {
end_incident_state = "resolved"
repeat_interval = "30"
}
auto_recover_seconds = "600"
}
notify_strategy = {
description = "Notify strategy for list example"
ignore_restored_notification = false
grouping_setting = {
grouping_keys = ["severity"]
period_min = "5"
times = "1"
silence_sec = "300"
}
routes = [{
"effectTimeRange" = {
"timeZone" = "Asia/Shanghai"
"startTimeInMinute" = "0"
"endTimeInMinute" = "1439"
"dayInWeeks" = ["1", "2", "3", "4", "5"]
}
"channels" = [{
"receivers" = ["tf-example-group"]
"channelType" = "DING"
"enabledSubChannels" = []
}]
}]
}
subscription = {
subscribe_legacy_event = true
filter_setting = {
relation = "AND"
conditions = [{
"field" = "severity"
"op" = "EQ"
"value" = "CRITICAL"
}]
}
}
workspace = "default-workspace-cn-hangzhou"
name = "tf-list-enp-0716a"
}
variable "name" {
type = string
default = "terraform-example"
}
📚 Need more examples? VIEW MORE EXAMPLES
Create EventNotifyPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventNotifyPolicy(name: string, args: EventNotifyPolicyArgs, opts?: CustomResourceOptions);@overload
def EventNotifyPolicy(resource_name: str,
args: EventNotifyPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EventNotifyPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
workspace: Optional[str] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
notify_strategy: Optional[EventNotifyPolicyNotifyStrategyArgs] = None,
response_plan: Optional[EventNotifyPolicyResponsePlanArgs] = None,
subscription: Optional[EventNotifyPolicySubscriptionArgs] = None)func NewEventNotifyPolicy(ctx *Context, name string, args EventNotifyPolicyArgs, opts ...ResourceOption) (*EventNotifyPolicy, error)public EventNotifyPolicy(string name, EventNotifyPolicyArgs args, CustomResourceOptions? opts = null)
public EventNotifyPolicy(String name, EventNotifyPolicyArgs args)
public EventNotifyPolicy(String name, EventNotifyPolicyArgs args, CustomResourceOptions options)
type: alicloud:cms:EventNotifyPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "alicloud_cms_event_notify_policy" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args EventNotifyPolicyArgs
- 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 EventNotifyPolicyArgs
- 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 EventNotifyPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventNotifyPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventNotifyPolicyArgs
- 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 eventNotifyPolicyResource = new AliCloud.Cms.EventNotifyPolicy("eventNotifyPolicyResource", new()
{
Workspace = "string",
Description = "string",
Enabled = false,
Name = "string",
NotifyStrategy = new AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyArgs
{
CustomTemplateEntries = new[]
{
new AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyCustomTemplateEntryArgs
{
TemplateUuid = "string",
},
},
Description = "string",
GroupingSetting = new AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyGroupingSettingArgs
{
GroupingKeys = new[]
{
"string",
},
PeriodMin = 0,
SilenceSec = 0,
Times = 0,
},
IgnoreRestoredNotification = false,
Routes = new[]
{
new AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyRouteArgs
{
Channels = new[]
{
new AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyRouteChannelArgs
{
ChannelType = "string",
EnabledSubChannels = new[]
{
"string",
},
Receivers = new[]
{
"string",
},
},
},
DigitalEmployeeName = "string",
EffectTimeRange = new AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyRouteEffectTimeRangeArgs
{
DayInWeeks = new[]
{
0,
},
EndTimeInMinute = 0,
StartTimeInMinute = 0,
TimeZone = "string",
},
EnableRca = false,
FilterSetting = new AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyRouteFilterSettingArgs
{
Conditions = new[]
{
new AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyRouteFilterSettingConditionArgs
{
Field = "string",
Op = "string",
Value = "string",
},
},
Expression = "string",
Relation = "string",
},
},
},
},
ResponsePlan = new AliCloud.Cms.Inputs.EventNotifyPolicyResponsePlanArgs
{
AutoRecoverSeconds = 0,
EscalationIds = new[]
{
"string",
},
PushingSetting = new AliCloud.Cms.Inputs.EventNotifyPolicyResponsePlanPushingSettingArgs
{
AlertActionIds = new[]
{
"string",
},
RestoreActionIds = new[]
{
"string",
},
},
RepeatNotifySetting = new AliCloud.Cms.Inputs.EventNotifyPolicyResponsePlanRepeatNotifySettingArgs
{
EndIncidentState = "string",
RepeatInterval = 0,
},
},
Subscription = new AliCloud.Cms.Inputs.EventNotifyPolicySubscriptionArgs
{
FilterSetting = new AliCloud.Cms.Inputs.EventNotifyPolicySubscriptionFilterSettingArgs
{
Conditions = new[]
{
new AliCloud.Cms.Inputs.EventNotifyPolicySubscriptionFilterSettingConditionArgs
{
Field = "string",
Op = "string",
Value = "string",
},
},
Expression = "string",
Relation = "string",
},
SubscribeLegacyEvent = false,
WorkspaceFilterSetting = new AliCloud.Cms.Inputs.EventNotifyPolicySubscriptionWorkspaceFilterSettingArgs
{
TagSelector = new AliCloud.Cms.Inputs.EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelectorArgs
{
Conditions = new[]
{
new AliCloud.Cms.Inputs.EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelectorConditionArgs
{
Field = "string",
Op = "string",
Value = "string",
},
},
Expression = "string",
Relation = "string",
},
WorkspaceUuids = new[]
{
"string",
},
},
},
});
example, err := cms.NewEventNotifyPolicy(ctx, "eventNotifyPolicyResource", &cms.EventNotifyPolicyArgs{
Workspace: pulumi.String("string"),
Description: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Name: pulumi.String("string"),
NotifyStrategy: &cms.EventNotifyPolicyNotifyStrategyArgs{
CustomTemplateEntries: cms.EventNotifyPolicyNotifyStrategyCustomTemplateEntryArray{
&cms.EventNotifyPolicyNotifyStrategyCustomTemplateEntryArgs{
TemplateUuid: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
GroupingSetting: &cms.EventNotifyPolicyNotifyStrategyGroupingSettingArgs{
GroupingKeys: pulumi.StringArray{
pulumi.String("string"),
},
PeriodMin: pulumi.Int(0),
SilenceSec: pulumi.Int(0),
Times: pulumi.Int(0),
},
IgnoreRestoredNotification: pulumi.Bool(false),
Routes: cms.EventNotifyPolicyNotifyStrategyRouteArray{
&cms.EventNotifyPolicyNotifyStrategyRouteArgs{
Channels: cms.EventNotifyPolicyNotifyStrategyRouteChannelArray{
&cms.EventNotifyPolicyNotifyStrategyRouteChannelArgs{
ChannelType: pulumi.String("string"),
EnabledSubChannels: pulumi.StringArray{
pulumi.String("string"),
},
Receivers: pulumi.StringArray{
pulumi.String("string"),
},
},
},
DigitalEmployeeName: pulumi.String("string"),
EffectTimeRange: &cms.EventNotifyPolicyNotifyStrategyRouteEffectTimeRangeArgs{
DayInWeeks: pulumi.IntArray{
pulumi.Int(0),
},
EndTimeInMinute: pulumi.Int(0),
StartTimeInMinute: pulumi.Int(0),
TimeZone: pulumi.String("string"),
},
EnableRca: pulumi.Bool(false),
FilterSetting: &cms.EventNotifyPolicyNotifyStrategyRouteFilterSettingArgs{
Conditions: cms.EventNotifyPolicyNotifyStrategyRouteFilterSettingConditionArray{
&cms.EventNotifyPolicyNotifyStrategyRouteFilterSettingConditionArgs{
Field: pulumi.String("string"),
Op: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Expression: pulumi.String("string"),
Relation: pulumi.String("string"),
},
},
},
},
ResponsePlan: &cms.EventNotifyPolicyResponsePlanArgs{
AutoRecoverSeconds: pulumi.Int(0),
EscalationIds: pulumi.StringArray{
pulumi.String("string"),
},
PushingSetting: &cms.EventNotifyPolicyResponsePlanPushingSettingArgs{
AlertActionIds: pulumi.StringArray{
pulumi.String("string"),
},
RestoreActionIds: pulumi.StringArray{
pulumi.String("string"),
},
},
RepeatNotifySetting: &cms.EventNotifyPolicyResponsePlanRepeatNotifySettingArgs{
EndIncidentState: pulumi.String("string"),
RepeatInterval: pulumi.Int(0),
},
},
Subscription: &cms.EventNotifyPolicySubscriptionArgs{
FilterSetting: &cms.EventNotifyPolicySubscriptionFilterSettingArgs{
Conditions: cms.EventNotifyPolicySubscriptionFilterSettingConditionArray{
&cms.EventNotifyPolicySubscriptionFilterSettingConditionArgs{
Field: pulumi.String("string"),
Op: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Expression: pulumi.String("string"),
Relation: pulumi.String("string"),
},
SubscribeLegacyEvent: pulumi.Bool(false),
WorkspaceFilterSetting: &cms.EventNotifyPolicySubscriptionWorkspaceFilterSettingArgs{
TagSelector: &cms.EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelectorArgs{
Conditions: cms.EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelectorConditionArray{
&cms.EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelectorConditionArgs{
Field: pulumi.String("string"),
Op: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Expression: pulumi.String("string"),
Relation: pulumi.String("string"),
},
WorkspaceUuids: pulumi.StringArray{
pulumi.String("string"),
},
},
},
})
resource "alicloud_cms_event_notify_policy" "eventNotifyPolicyResource" {
lifecycle {
create_before_destroy = true
}
workspace = "string"
description = "string"
enabled = false
name = "string"
notify_strategy = {
custom_template_entries = [{
template_uuid = "string"
}]
description = "string"
grouping_setting = {
grouping_keys = ["string"]
period_min = 0
silence_sec = 0
times = 0
}
ignore_restored_notification = false
routes = [{
channels = [{
channel_type = "string"
enabled_sub_channels = ["string"]
receivers = ["string"]
}]
digital_employee_name = "string"
effect_time_range = {
day_in_weeks = [0]
end_time_in_minute = 0
start_time_in_minute = 0
time_zone = "string"
}
enable_rca = false
filter_setting = {
conditions = [{
field = "string"
op = "string"
value = "string"
}]
expression = "string"
relation = "string"
}
}]
}
response_plan = {
auto_recover_seconds = 0
escalation_ids = ["string"]
pushing_setting = {
alert_action_ids = ["string"]
restore_action_ids = ["string"]
}
repeat_notify_setting = {
end_incident_state = "string"
repeat_interval = 0
}
}
subscription = {
filter_setting = {
conditions = [{
field = "string"
op = "string"
value = "string"
}]
expression = "string"
relation = "string"
}
subscribe_legacy_event = false
workspace_filter_setting = {
tag_selector = {
conditions = [{
field = "string"
op = "string"
value = "string"
}]
expression = "string"
relation = "string"
}
workspace_uuids = ["string"]
}
}
}
var eventNotifyPolicyResource = new EventNotifyPolicy("eventNotifyPolicyResource", EventNotifyPolicyArgs.builder()
.workspace("string")
.description("string")
.enabled(false)
.name("string")
.notifyStrategy(EventNotifyPolicyNotifyStrategyArgs.builder()
.customTemplateEntries(EventNotifyPolicyNotifyStrategyCustomTemplateEntryArgs.builder()
.templateUuid("string")
.build())
.description("string")
.groupingSetting(EventNotifyPolicyNotifyStrategyGroupingSettingArgs.builder()
.groupingKeys("string")
.periodMin(0)
.silenceSec(0)
.times(0)
.build())
.ignoreRestoredNotification(false)
.routes(EventNotifyPolicyNotifyStrategyRouteArgs.builder()
.channels(EventNotifyPolicyNotifyStrategyRouteChannelArgs.builder()
.channelType("string")
.enabledSubChannels("string")
.receivers("string")
.build())
.digitalEmployeeName("string")
.effectTimeRange(EventNotifyPolicyNotifyStrategyRouteEffectTimeRangeArgs.builder()
.dayInWeeks(0)
.endTimeInMinute(0)
.startTimeInMinute(0)
.timeZone("string")
.build())
.enableRca(false)
.filterSetting(EventNotifyPolicyNotifyStrategyRouteFilterSettingArgs.builder()
.conditions(EventNotifyPolicyNotifyStrategyRouteFilterSettingConditionArgs.builder()
.field("string")
.op("string")
.value("string")
.build())
.expression("string")
.relation("string")
.build())
.build())
.build())
.responsePlan(EventNotifyPolicyResponsePlanArgs.builder()
.autoRecoverSeconds(0)
.escalationIds("string")
.pushingSetting(EventNotifyPolicyResponsePlanPushingSettingArgs.builder()
.alertActionIds("string")
.restoreActionIds("string")
.build())
.repeatNotifySetting(EventNotifyPolicyResponsePlanRepeatNotifySettingArgs.builder()
.endIncidentState("string")
.repeatInterval(0)
.build())
.build())
.subscription(EventNotifyPolicySubscriptionArgs.builder()
.filterSetting(EventNotifyPolicySubscriptionFilterSettingArgs.builder()
.conditions(EventNotifyPolicySubscriptionFilterSettingConditionArgs.builder()
.field("string")
.op("string")
.value("string")
.build())
.expression("string")
.relation("string")
.build())
.subscribeLegacyEvent(false)
.workspaceFilterSetting(EventNotifyPolicySubscriptionWorkspaceFilterSettingArgs.builder()
.tagSelector(EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelectorArgs.builder()
.conditions(EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelectorConditionArgs.builder()
.field("string")
.op("string")
.value("string")
.build())
.expression("string")
.relation("string")
.build())
.workspaceUuids("string")
.build())
.build())
.build());
event_notify_policy_resource = alicloud.cms.EventNotifyPolicy("eventNotifyPolicyResource",
workspace="string",
description="string",
enabled=False,
name="string",
notify_strategy={
"custom_template_entries": [{
"template_uuid": "string",
}],
"description": "string",
"grouping_setting": {
"grouping_keys": ["string"],
"period_min": 0,
"silence_sec": 0,
"times": 0,
},
"ignore_restored_notification": False,
"routes": [{
"channels": [{
"channel_type": "string",
"enabled_sub_channels": ["string"],
"receivers": ["string"],
}],
"digital_employee_name": "string",
"effect_time_range": {
"day_in_weeks": [0],
"end_time_in_minute": 0,
"start_time_in_minute": 0,
"time_zone": "string",
},
"enable_rca": False,
"filter_setting": {
"conditions": [{
"field": "string",
"op": "string",
"value": "string",
}],
"expression": "string",
"relation": "string",
},
}],
},
response_plan={
"auto_recover_seconds": 0,
"escalation_ids": ["string"],
"pushing_setting": {
"alert_action_ids": ["string"],
"restore_action_ids": ["string"],
},
"repeat_notify_setting": {
"end_incident_state": "string",
"repeat_interval": 0,
},
},
subscription={
"filter_setting": {
"conditions": [{
"field": "string",
"op": "string",
"value": "string",
}],
"expression": "string",
"relation": "string",
},
"subscribe_legacy_event": False,
"workspace_filter_setting": {
"tag_selector": {
"conditions": [{
"field": "string",
"op": "string",
"value": "string",
}],
"expression": "string",
"relation": "string",
},
"workspace_uuids": ["string"],
},
})
const eventNotifyPolicyResource = new alicloud.cms.EventNotifyPolicy("eventNotifyPolicyResource", {
workspace: "string",
description: "string",
enabled: false,
name: "string",
notifyStrategy: {
customTemplateEntries: [{
templateUuid: "string",
}],
description: "string",
groupingSetting: {
groupingKeys: ["string"],
periodMin: 0,
silenceSec: 0,
times: 0,
},
ignoreRestoredNotification: false,
routes: [{
channels: [{
channelType: "string",
enabledSubChannels: ["string"],
receivers: ["string"],
}],
digitalEmployeeName: "string",
effectTimeRange: {
dayInWeeks: [0],
endTimeInMinute: 0,
startTimeInMinute: 0,
timeZone: "string",
},
enableRca: false,
filterSetting: {
conditions: [{
field: "string",
op: "string",
value: "string",
}],
expression: "string",
relation: "string",
},
}],
},
responsePlan: {
autoRecoverSeconds: 0,
escalationIds: ["string"],
pushingSetting: {
alertActionIds: ["string"],
restoreActionIds: ["string"],
},
repeatNotifySetting: {
endIncidentState: "string",
repeatInterval: 0,
},
},
subscription: {
filterSetting: {
conditions: [{
field: "string",
op: "string",
value: "string",
}],
expression: "string",
relation: "string",
},
subscribeLegacyEvent: false,
workspaceFilterSetting: {
tagSelector: {
conditions: [{
field: "string",
op: "string",
value: "string",
}],
expression: "string",
relation: "string",
},
workspaceUuids: ["string"],
},
},
});
type: alicloud:cms:EventNotifyPolicy
properties:
description: string
enabled: false
name: string
notifyStrategy:
customTemplateEntries:
- templateUuid: string
description: string
groupingSetting:
groupingKeys:
- string
periodMin: 0
silenceSec: 0
times: 0
ignoreRestoredNotification: false
routes:
- channels:
- channelType: string
enabledSubChannels:
- string
receivers:
- string
digitalEmployeeName: string
effectTimeRange:
dayInWeeks:
- 0
endTimeInMinute: 0
startTimeInMinute: 0
timeZone: string
enableRca: false
filterSetting:
conditions:
- field: string
op: string
value: string
expression: string
relation: string
responsePlan:
autoRecoverSeconds: 0
escalationIds:
- string
pushingSetting:
alertActionIds:
- string
restoreActionIds:
- string
repeatNotifySetting:
endIncidentState: string
repeatInterval: 0
subscription:
filterSetting:
conditions:
- field: string
op: string
value: string
expression: string
relation: string
subscribeLegacyEvent: false
workspaceFilterSetting:
tagSelector:
conditions:
- field: string
op: string
value: string
expression: string
relation: string
workspaceUuids:
- string
workspace: string
EventNotifyPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EventNotifyPolicy resource accepts the following input properties:
- Workspace string
- The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example:
default-cms-xxxx-cn-hangzhou. - Description string
- The description of the policy.
- Enabled bool
- Indicates whether the policy is enabled. The value is applied through the dedicated enable and disable operations rather than the creation payload.
- Name string
- The name of the notification policy. The name must be unique within the workspace. Creating a policy whose name duplicates an existing one returns a
ConflictNameerror. - Notify
Strategy Pulumi.Ali Cloud. Cms. Inputs. Event Notify Policy Notify Strategy - The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See
notifyStrategybelow. - Response
Plan Pulumi.Ali Cloud. Cms. Inputs. Event Notify Policy Response Plan - Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See
responsePlanbelow. - Subscription
Pulumi.
Ali Cloud. Cms. Inputs. Event Notify Policy Subscription - Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See
subscriptionbelow.
- Workspace string
- The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example:
default-cms-xxxx-cn-hangzhou. - Description string
- The description of the policy.
- Enabled bool
- Indicates whether the policy is enabled. The value is applied through the dedicated enable and disable operations rather than the creation payload.
- Name string
- The name of the notification policy. The name must be unique within the workspace. Creating a policy whose name duplicates an existing one returns a
ConflictNameerror. - Notify
Strategy EventNotify Policy Notify Strategy Args - The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See
notifyStrategybelow. - Response
Plan EventNotify Policy Response Plan Args - Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See
responsePlanbelow. - Subscription
Event
Notify Policy Subscription Args - Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See
subscriptionbelow.
- workspace string
- The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example:
default-cms-xxxx-cn-hangzhou. - description string
- The description of the policy.
- enabled bool
- Indicates whether the policy is enabled. The value is applied through the dedicated enable and disable operations rather than the creation payload.
- name string
- The name of the notification policy. The name must be unique within the workspace. Creating a policy whose name duplicates an existing one returns a
ConflictNameerror. - notify_
strategy object - The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See
notifyStrategybelow. - response_
plan object - Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See
responsePlanbelow. - subscription object
- Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See
subscriptionbelow.
- workspace String
- The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example:
default-cms-xxxx-cn-hangzhou. - description String
- The description of the policy.
- enabled Boolean
- Indicates whether the policy is enabled. The value is applied through the dedicated enable and disable operations rather than the creation payload.
- name String
- The name of the notification policy. The name must be unique within the workspace. Creating a policy whose name duplicates an existing one returns a
ConflictNameerror. - notify
Strategy EventNotify Policy Notify Strategy - The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See
notifyStrategybelow. - response
Plan EventNotify Policy Response Plan - Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See
responsePlanbelow. - subscription
Event
Notify Policy Subscription - Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See
subscriptionbelow.
- workspace string
- The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example:
default-cms-xxxx-cn-hangzhou. - description string
- The description of the policy.
- enabled boolean
- Indicates whether the policy is enabled. The value is applied through the dedicated enable and disable operations rather than the creation payload.
- name string
- The name of the notification policy. The name must be unique within the workspace. Creating a policy whose name duplicates an existing one returns a
ConflictNameerror. - notify
Strategy EventNotify Policy Notify Strategy - The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See
notifyStrategybelow. - response
Plan EventNotify Policy Response Plan - Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See
responsePlanbelow. - subscription
Event
Notify Policy Subscription - Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See
subscriptionbelow.
- workspace str
- The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example:
default-cms-xxxx-cn-hangzhou. - description str
- The description of the policy.
- enabled bool
- Indicates whether the policy is enabled. The value is applied through the dedicated enable and disable operations rather than the creation payload.
- name str
- The name of the notification policy. The name must be unique within the workspace. Creating a policy whose name duplicates an existing one returns a
ConflictNameerror. - notify_
strategy EventNotify Policy Notify Strategy Args - The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See
notifyStrategybelow. - response_
plan EventNotify Policy Response Plan Args - Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See
responsePlanbelow. - subscription
Event
Notify Policy Subscription Args - Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See
subscriptionbelow.
- workspace String
- The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example:
default-cms-xxxx-cn-hangzhou. - description String
- The description of the policy.
- enabled Boolean
- Indicates whether the policy is enabled. The value is applied through the dedicated enable and disable operations rather than the creation payload.
- name String
- The name of the notification policy. The name must be unique within the workspace. Creating a policy whose name duplicates an existing one returns a
ConflictNameerror. - notify
Strategy Property Map - The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See
notifyStrategybelow. - response
Plan Property Map - Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See
responsePlanbelow. - subscription Property Map
- Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See
subscriptionbelow.
Outputs
All input properties are implicitly available as output properties. Additionally, the EventNotifyPolicy resource produces the following output properties:
- Create
Time string - The creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - The update time.
- User
Id string - The user ID.
- Uuid string
- The unique identifier of the notification policy, which is generated by the server on creation.
- Version int
- The optimistic lock version of the policy. It is maintained by the server and increases on every successful update.
- Create
Time string - The creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - The update time.
- User
Id string - The user ID.
- Uuid string
- The unique identifier of the notification policy, which is generated by the server on creation.
- Version int
- The optimistic lock version of the policy. It is maintained by the server and increases on every successful update.
- create_
time string - The creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- update_
time string - The update time.
- user_
id string - The user ID.
- uuid string
- The unique identifier of the notification policy, which is generated by the server on creation.
- version number
- The optimistic lock version of the policy. It is maintained by the server and increases on every successful update.
- create
Time String - The creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - The update time.
- user
Id String - The user ID.
- uuid String
- The unique identifier of the notification policy, which is generated by the server on creation.
- version Integer
- The optimistic lock version of the policy. It is maintained by the server and increases on every successful update.
- create
Time string - The creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time string - The update time.
- user
Id string - The user ID.
- uuid string
- The unique identifier of the notification policy, which is generated by the server on creation.
- version number
- The optimistic lock version of the policy. It is maintained by the server and increases on every successful update.
- create_
time str - The creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- update_
time str - The update time.
- user_
id str - The user ID.
- uuid str
- The unique identifier of the notification policy, which is generated by the server on creation.
- version int
- The optimistic lock version of the policy. It is maintained by the server and increases on every successful update.
- create
Time String - The creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - The update time.
- user
Id String - The user ID.
- uuid String
- The unique identifier of the notification policy, which is generated by the server on creation.
- version Number
- The optimistic lock version of the policy. It is maintained by the server and increases on every successful update.
Look up Existing EventNotifyPolicy Resource
Get an existing EventNotifyPolicy 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?: EventNotifyPolicyState, opts?: CustomResourceOptions): EventNotifyPolicy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
notify_strategy: Optional[EventNotifyPolicyNotifyStrategyArgs] = None,
response_plan: Optional[EventNotifyPolicyResponsePlanArgs] = None,
subscription: Optional[EventNotifyPolicySubscriptionArgs] = None,
update_time: Optional[str] = None,
user_id: Optional[str] = None,
uuid: Optional[str] = None,
version: Optional[int] = None,
workspace: Optional[str] = None) -> EventNotifyPolicyfunc GetEventNotifyPolicy(ctx *Context, name string, id IDInput, state *EventNotifyPolicyState, opts ...ResourceOption) (*EventNotifyPolicy, error)public static EventNotifyPolicy Get(string name, Input<string> id, EventNotifyPolicyState? state, CustomResourceOptions? opts = null)public static EventNotifyPolicy get(String name, Output<String> id, EventNotifyPolicyState state, CustomResourceOptions options)resources: _: type: alicloud:cms:EventNotifyPolicy get: id: ${id}import {
to = alicloud_cms_event_notify_policy.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Create
Time string - The creation time.
- Description string
- The description of the policy.
- Enabled bool
- Indicates whether the policy is enabled. The value is applied through the dedicated enable and disable operations rather than the creation payload.
- Name string
- The name of the notification policy. The name must be unique within the workspace. Creating a policy whose name duplicates an existing one returns a
ConflictNameerror. - Notify
Strategy Pulumi.Ali Cloud. Cms. Inputs. Event Notify Policy Notify Strategy - The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See
notifyStrategybelow. - Response
Plan Pulumi.Ali Cloud. Cms. Inputs. Event Notify Policy Response Plan - Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See
responsePlanbelow. - Subscription
Pulumi.
Ali Cloud. Cms. Inputs. Event Notify Policy Subscription - Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See
subscriptionbelow. - Update
Time string - The update time.
- User
Id string - The user ID.
- Uuid string
- The unique identifier of the notification policy, which is generated by the server on creation.
- Version int
- The optimistic lock version of the policy. It is maintained by the server and increases on every successful update.
- Workspace string
- The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example:
default-cms-xxxx-cn-hangzhou.
- Create
Time string - The creation time.
- Description string
- The description of the policy.
- Enabled bool
- Indicates whether the policy is enabled. The value is applied through the dedicated enable and disable operations rather than the creation payload.
- Name string
- The name of the notification policy. The name must be unique within the workspace. Creating a policy whose name duplicates an existing one returns a
ConflictNameerror. - Notify
Strategy EventNotify Policy Notify Strategy Args - The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See
notifyStrategybelow. - Response
Plan EventNotify Policy Response Plan Args - Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See
responsePlanbelow. - Subscription
Event
Notify Policy Subscription Args - Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See
subscriptionbelow. - Update
Time string - The update time.
- User
Id string - The user ID.
- Uuid string
- The unique identifier of the notification policy, which is generated by the server on creation.
- Version int
- The optimistic lock version of the policy. It is maintained by the server and increases on every successful update.
- Workspace string
- The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example:
default-cms-xxxx-cn-hangzhou.
- create_
time string - The creation time.
- description string
- The description of the policy.
- enabled bool
- Indicates whether the policy is enabled. The value is applied through the dedicated enable and disable operations rather than the creation payload.
- name string
- The name of the notification policy. The name must be unique within the workspace. Creating a policy whose name duplicates an existing one returns a
ConflictNameerror. - notify_
strategy object - The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See
notifyStrategybelow. - response_
plan object - Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See
responsePlanbelow. - subscription object
- Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See
subscriptionbelow. - update_
time string - The update time.
- user_
id string - The user ID.
- uuid string
- The unique identifier of the notification policy, which is generated by the server on creation.
- version number
- The optimistic lock version of the policy. It is maintained by the server and increases on every successful update.
- workspace string
- The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example:
default-cms-xxxx-cn-hangzhou.
- create
Time String - The creation time.
- description String
- The description of the policy.
- enabled Boolean
- Indicates whether the policy is enabled. The value is applied through the dedicated enable and disable operations rather than the creation payload.
- name String
- The name of the notification policy. The name must be unique within the workspace. Creating a policy whose name duplicates an existing one returns a
ConflictNameerror. - notify
Strategy EventNotify Policy Notify Strategy - The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See
notifyStrategybelow. - response
Plan EventNotify Policy Response Plan - Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See
responsePlanbelow. - subscription
Event
Notify Policy Subscription - Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See
subscriptionbelow. - update
Time String - The update time.
- user
Id String - The user ID.
- uuid String
- The unique identifier of the notification policy, which is generated by the server on creation.
- version Integer
- The optimistic lock version of the policy. It is maintained by the server and increases on every successful update.
- workspace String
- The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example:
default-cms-xxxx-cn-hangzhou.
- create
Time string - The creation time.
- description string
- The description of the policy.
- enabled boolean
- Indicates whether the policy is enabled. The value is applied through the dedicated enable and disable operations rather than the creation payload.
- name string
- The name of the notification policy. The name must be unique within the workspace. Creating a policy whose name duplicates an existing one returns a
ConflictNameerror. - notify
Strategy EventNotify Policy Notify Strategy - The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See
notifyStrategybelow. - response
Plan EventNotify Policy Response Plan - Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See
responsePlanbelow. - subscription
Event
Notify Policy Subscription - Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See
subscriptionbelow. - update
Time string - The update time.
- user
Id string - The user ID.
- uuid string
- The unique identifier of the notification policy, which is generated by the server on creation.
- version number
- The optimistic lock version of the policy. It is maintained by the server and increases on every successful update.
- workspace string
- The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example:
default-cms-xxxx-cn-hangzhou.
- create_
time str - The creation time.
- description str
- The description of the policy.
- enabled bool
- Indicates whether the policy is enabled. The value is applied through the dedicated enable and disable operations rather than the creation payload.
- name str
- The name of the notification policy. The name must be unique within the workspace. Creating a policy whose name duplicates an existing one returns a
ConflictNameerror. - notify_
strategy EventNotify Policy Notify Strategy Args - The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See
notifyStrategybelow. - response_
plan EventNotify Policy Response Plan Args - Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See
responsePlanbelow. - subscription
Event
Notify Policy Subscription Args - Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See
subscriptionbelow. - update_
time str - The update time.
- user_
id str - The user ID.
- uuid str
- The unique identifier of the notification policy, which is generated by the server on creation.
- version int
- The optimistic lock version of the policy. It is maintained by the server and increases on every successful update.
- workspace str
- The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example:
default-cms-xxxx-cn-hangzhou.
- create
Time String - The creation time.
- description String
- The description of the policy.
- enabled Boolean
- Indicates whether the policy is enabled. The value is applied through the dedicated enable and disable operations rather than the creation payload.
- name String
- The name of the notification policy. The name must be unique within the workspace. Creating a policy whose name duplicates an existing one returns a
ConflictNameerror. - notify
Strategy Property Map - The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See
notifyStrategybelow. - response
Plan Property Map - Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See
responsePlanbelow. - subscription Property Map
- Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See
subscriptionbelow. - update
Time String - The update time.
- user
Id String - The user ID.
- uuid String
- The unique identifier of the notification policy, which is generated by the server on creation.
- version Number
- The optimistic lock version of the policy. It is maintained by the server and increases on every successful update.
- workspace String
- The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example:
default-cms-xxxx-cn-hangzhou.
Supporting Types
EventNotifyPolicyNotifyStrategy, EventNotifyPolicyNotifyStrategyArgs
- Custom
Template List<Pulumi.Entries Ali Cloud. Cms. Inputs. Event Notify Policy Notify Strategy Custom Template Entry> - The list of custom notification templates. See
customTemplateEntriesbelow. - Description string
- The description of the notification strategy.
- Grouping
Setting Pulumi.Ali Cloud. Cms. Inputs. Event Notify Policy Notify Strategy Grouping Setting - The grouping and merging settings. See
groupingSettingbelow. - Ignore
Restored boolNotification - Indicates whether to ignore notifications for recovered events.
truemeans no recovery notification is sent. - Routes
List<Pulumi.
Ali Cloud. Cms. Inputs. Event Notify Policy Notify Strategy Route> - The notification channel routing settings. See
routesbelow.
- Custom
Template []EventEntries Notify Policy Notify Strategy Custom Template Entry - The list of custom notification templates. See
customTemplateEntriesbelow. - Description string
- The description of the notification strategy.
- Grouping
Setting EventNotify Policy Notify Strategy Grouping Setting - The grouping and merging settings. See
groupingSettingbelow. - Ignore
Restored boolNotification - Indicates whether to ignore notifications for recovered events.
truemeans no recovery notification is sent. - Routes
[]Event
Notify Policy Notify Strategy Route - The notification channel routing settings. See
routesbelow.
- custom_
template_ list(object)entries - The list of custom notification templates. See
customTemplateEntriesbelow. - description string
- The description of the notification strategy.
- grouping_
setting object - The grouping and merging settings. See
groupingSettingbelow. - ignore_
restored_ boolnotification - Indicates whether to ignore notifications for recovered events.
truemeans no recovery notification is sent. - routes list(object)
- The notification channel routing settings. See
routesbelow.
- custom
Template List<EventEntries Notify Policy Notify Strategy Custom Template Entry> - The list of custom notification templates. See
customTemplateEntriesbelow. - description String
- The description of the notification strategy.
- grouping
Setting EventNotify Policy Notify Strategy Grouping Setting - The grouping and merging settings. See
groupingSettingbelow. - ignore
Restored BooleanNotification - Indicates whether to ignore notifications for recovered events.
truemeans no recovery notification is sent. - routes
List<Event
Notify Policy Notify Strategy Route> - The notification channel routing settings. See
routesbelow.
- custom
Template EventEntries Notify Policy Notify Strategy Custom Template Entry[] - The list of custom notification templates. See
customTemplateEntriesbelow. - description string
- The description of the notification strategy.
- grouping
Setting EventNotify Policy Notify Strategy Grouping Setting - The grouping and merging settings. See
groupingSettingbelow. - ignore
Restored booleanNotification - Indicates whether to ignore notifications for recovered events.
truemeans no recovery notification is sent. - routes
Event
Notify Policy Notify Strategy Route[] - The notification channel routing settings. See
routesbelow.
- custom_
template_ Sequence[Evententries Notify Policy Notify Strategy Custom Template Entry] - The list of custom notification templates. See
customTemplateEntriesbelow. - description str
- The description of the notification strategy.
- grouping_
setting EventNotify Policy Notify Strategy Grouping Setting - The grouping and merging settings. See
groupingSettingbelow. - ignore_
restored_ boolnotification - Indicates whether to ignore notifications for recovered events.
truemeans no recovery notification is sent. - routes
Sequence[Event
Notify Policy Notify Strategy Route] - The notification channel routing settings. See
routesbelow.
- custom
Template List<Property Map>Entries - The list of custom notification templates. See
customTemplateEntriesbelow. - description String
- The description of the notification strategy.
- grouping
Setting Property Map - The grouping and merging settings. See
groupingSettingbelow. - ignore
Restored BooleanNotification - Indicates whether to ignore notifications for recovered events.
truemeans no recovery notification is sent. - routes List<Property Map>
- The notification channel routing settings. See
routesbelow.
EventNotifyPolicyNotifyStrategyCustomTemplateEntry, EventNotifyPolicyNotifyStrategyCustomTemplateEntryArgs
- Template
Uuid string - The UUID of the template.
- Template
Uuid string - The UUID of the template.
- template_
uuid string - The UUID of the template.
- template
Uuid String - The UUID of the template.
- template
Uuid string - The UUID of the template.
- template_
uuid str - The UUID of the template.
- template
Uuid String - The UUID of the template.
EventNotifyPolicyNotifyStrategyGroupingSetting, EventNotifyPolicyNotifyStrategyGroupingSettingArgs
- Grouping
Keys List<string> - The event fields used to group and merge notifications. Events sharing the same values are merged into a single notification. An empty list means no grouping.
- Period
Min int - The check period in minutes. This parameter does not take effect on this API and does not need to be set.
- Silence
Sec int - The silence duration in seconds. This parameter does not take effect on this API and does not need to be set.
- Times int
- The number of triggers. This parameter does not take effect on this API and does not need to be set.
- Grouping
Keys []string - The event fields used to group and merge notifications. Events sharing the same values are merged into a single notification. An empty list means no grouping.
- Period
Min int - The check period in minutes. This parameter does not take effect on this API and does not need to be set.
- Silence
Sec int - The silence duration in seconds. This parameter does not take effect on this API and does not need to be set.
- Times int
- The number of triggers. This parameter does not take effect on this API and does not need to be set.
- grouping_
keys list(string) - The event fields used to group and merge notifications. Events sharing the same values are merged into a single notification. An empty list means no grouping.
- period_
min number - The check period in minutes. This parameter does not take effect on this API and does not need to be set.
- silence_
sec number - The silence duration in seconds. This parameter does not take effect on this API and does not need to be set.
- times number
- The number of triggers. This parameter does not take effect on this API and does not need to be set.
- grouping
Keys List<String> - The event fields used to group and merge notifications. Events sharing the same values are merged into a single notification. An empty list means no grouping.
- period
Min Integer - The check period in minutes. This parameter does not take effect on this API and does not need to be set.
- silence
Sec Integer - The silence duration in seconds. This parameter does not take effect on this API and does not need to be set.
- times Integer
- The number of triggers. This parameter does not take effect on this API and does not need to be set.
- grouping
Keys string[] - The event fields used to group and merge notifications. Events sharing the same values are merged into a single notification. An empty list means no grouping.
- period
Min number - The check period in minutes. This parameter does not take effect on this API and does not need to be set.
- silence
Sec number - The silence duration in seconds. This parameter does not take effect on this API and does not need to be set.
- times number
- The number of triggers. This parameter does not take effect on this API and does not need to be set.
- grouping_
keys Sequence[str] - The event fields used to group and merge notifications. Events sharing the same values are merged into a single notification. An empty list means no grouping.
- period_
min int - The check period in minutes. This parameter does not take effect on this API and does not need to be set.
- silence_
sec int - The silence duration in seconds. This parameter does not take effect on this API and does not need to be set.
- times int
- The number of triggers. This parameter does not take effect on this API and does not need to be set.
- grouping
Keys List<String> - The event fields used to group and merge notifications. Events sharing the same values are merged into a single notification. An empty list means no grouping.
- period
Min Number - The check period in minutes. This parameter does not take effect on this API and does not need to be set.
- silence
Sec Number - The silence duration in seconds. This parameter does not take effect on this API and does not need to be set.
- times Number
- The number of triggers. This parameter does not take effect on this API and does not need to be set.
EventNotifyPolicyNotifyStrategyRoute, EventNotifyPolicyNotifyStrategyRouteArgs
- Channels
List<Pulumi.
Ali Cloud. Cms. Inputs. Event Notify Policy Notify Strategy Route Channel> - The notification channels. See
channelsbelow. - Digital
Employee stringName - The name of the digital employee. This parameter is required when enableRca is set to true.
- Effect
Time Pulumi.Range Ali Cloud. Cms. Inputs. Event Notify Policy Notify Strategy Route Effect Time Range - The effective time range. See
effectTimeRangebelow. - Enable
Rca bool - Specifies whether to enable Root Cause Analysis (RCA).
- Filter
Setting Pulumi.Ali Cloud. Cms. Inputs. Event Notify Policy Notify Strategy Route Filter Setting
- Channels
[]Event
Notify Policy Notify Strategy Route Channel - The notification channels. See
channelsbelow. - Digital
Employee stringName - The name of the digital employee. This parameter is required when enableRca is set to true.
- Effect
Time EventRange Notify Policy Notify Strategy Route Effect Time Range - The effective time range. See
effectTimeRangebelow. - Enable
Rca bool - Specifies whether to enable Root Cause Analysis (RCA).
- Filter
Setting EventNotify Policy Notify Strategy Route Filter Setting
- channels list(object)
- The notification channels. See
channelsbelow. - digital_
employee_ stringname - The name of the digital employee. This parameter is required when enableRca is set to true.
- effect_
time_ objectrange - The effective time range. See
effectTimeRangebelow. - enable_
rca bool - Specifies whether to enable Root Cause Analysis (RCA).
- filter_
setting object
- channels
List<Event
Notify Policy Notify Strategy Route Channel> - The notification channels. See
channelsbelow. - digital
Employee StringName - The name of the digital employee. This parameter is required when enableRca is set to true.
- effect
Time EventRange Notify Policy Notify Strategy Route Effect Time Range - The effective time range. See
effectTimeRangebelow. - enable
Rca Boolean - Specifies whether to enable Root Cause Analysis (RCA).
- filter
Setting EventNotify Policy Notify Strategy Route Filter Setting
- channels
Event
Notify Policy Notify Strategy Route Channel[] - The notification channels. See
channelsbelow. - digital
Employee stringName - The name of the digital employee. This parameter is required when enableRca is set to true.
- effect
Time EventRange Notify Policy Notify Strategy Route Effect Time Range - The effective time range. See
effectTimeRangebelow. - enable
Rca boolean - Specifies whether to enable Root Cause Analysis (RCA).
- filter
Setting EventNotify Policy Notify Strategy Route Filter Setting
- channels
Sequence[Event
Notify Policy Notify Strategy Route Channel] - The notification channels. See
channelsbelow. - digital_
employee_ strname - The name of the digital employee. This parameter is required when enableRca is set to true.
- effect_
time_ Eventrange Notify Policy Notify Strategy Route Effect Time Range - The effective time range. See
effectTimeRangebelow. - enable_
rca bool - Specifies whether to enable Root Cause Analysis (RCA).
- filter_
setting EventNotify Policy Notify Strategy Route Filter Setting
- channels List<Property Map>
- The notification channels. See
channelsbelow. - digital
Employee StringName - The name of the digital employee. This parameter is required when enableRca is set to true.
- effect
Time Property MapRange - The effective time range. See
effectTimeRangebelow. - enable
Rca Boolean - Specifies whether to enable Root Cause Analysis (RCA).
- filter
Setting Property Map
EventNotifyPolicyNotifyStrategyRouteChannel, EventNotifyPolicyNotifyStrategyRouteChannelArgs
- Channel
Type string - The channel type. Valid values:
DING,WEIXIN,FEISHU,SLACK,TEAMS,CONTACT,GROUP,DUTY,DING_COOL_APP. - Enabled
Sub List<string>Channels - The enabled notification methods. It is required only when
channelTypeisCONTACT,GROUPorDUTY. Valid values:EMAIL,SMS,VOICE,DING,WEIXIN,FEISHU,WEBHOOK. - Receivers List<string>
- The list of recipient identifiers for the channel. At least one item is required. For a webhook channel it is the webhook UUID, for a robot channel it is the robot UUID, and for
CONTACTit is the contact ID.
- Channel
Type string - The channel type. Valid values:
DING,WEIXIN,FEISHU,SLACK,TEAMS,CONTACT,GROUP,DUTY,DING_COOL_APP. - Enabled
Sub []stringChannels - The enabled notification methods. It is required only when
channelTypeisCONTACT,GROUPorDUTY. Valid values:EMAIL,SMS,VOICE,DING,WEIXIN,FEISHU,WEBHOOK. - Receivers []string
- The list of recipient identifiers for the channel. At least one item is required. For a webhook channel it is the webhook UUID, for a robot channel it is the robot UUID, and for
CONTACTit is the contact ID.
- channel_
type string - The channel type. Valid values:
DING,WEIXIN,FEISHU,SLACK,TEAMS,CONTACT,GROUP,DUTY,DING_COOL_APP. - enabled_
sub_ list(string)channels - The enabled notification methods. It is required only when
channelTypeisCONTACT,GROUPorDUTY. Valid values:EMAIL,SMS,VOICE,DING,WEIXIN,FEISHU,WEBHOOK. - receivers list(string)
- The list of recipient identifiers for the channel. At least one item is required. For a webhook channel it is the webhook UUID, for a robot channel it is the robot UUID, and for
CONTACTit is the contact ID.
- channel
Type String - The channel type. Valid values:
DING,WEIXIN,FEISHU,SLACK,TEAMS,CONTACT,GROUP,DUTY,DING_COOL_APP. - enabled
Sub List<String>Channels - The enabled notification methods. It is required only when
channelTypeisCONTACT,GROUPorDUTY. Valid values:EMAIL,SMS,VOICE,DING,WEIXIN,FEISHU,WEBHOOK. - receivers List<String>
- The list of recipient identifiers for the channel. At least one item is required. For a webhook channel it is the webhook UUID, for a robot channel it is the robot UUID, and for
CONTACTit is the contact ID.
- channel
Type string - The channel type. Valid values:
DING,WEIXIN,FEISHU,SLACK,TEAMS,CONTACT,GROUP,DUTY,DING_COOL_APP. - enabled
Sub string[]Channels - The enabled notification methods. It is required only when
channelTypeisCONTACT,GROUPorDUTY. Valid values:EMAIL,SMS,VOICE,DING,WEIXIN,FEISHU,WEBHOOK. - receivers string[]
- The list of recipient identifiers for the channel. At least one item is required. For a webhook channel it is the webhook UUID, for a robot channel it is the robot UUID, and for
CONTACTit is the contact ID.
- channel_
type str - The channel type. Valid values:
DING,WEIXIN,FEISHU,SLACK,TEAMS,CONTACT,GROUP,DUTY,DING_COOL_APP. - enabled_
sub_ Sequence[str]channels - The enabled notification methods. It is required only when
channelTypeisCONTACT,GROUPorDUTY. Valid values:EMAIL,SMS,VOICE,DING,WEIXIN,FEISHU,WEBHOOK. - receivers Sequence[str]
- The list of recipient identifiers for the channel. At least one item is required. For a webhook channel it is the webhook UUID, for a robot channel it is the robot UUID, and for
CONTACTit is the contact ID.
- channel
Type String - The channel type. Valid values:
DING,WEIXIN,FEISHU,SLACK,TEAMS,CONTACT,GROUP,DUTY,DING_COOL_APP. - enabled
Sub List<String>Channels - The enabled notification methods. It is required only when
channelTypeisCONTACT,GROUPorDUTY. Valid values:EMAIL,SMS,VOICE,DING,WEIXIN,FEISHU,WEBHOOK. - receivers List<String>
- The list of recipient identifiers for the channel. At least one item is required. For a webhook channel it is the webhook UUID, for a robot channel it is the robot UUID, and for
CONTACTit is the contact ID.
EventNotifyPolicyNotifyStrategyRouteEffectTimeRange, EventNotifyPolicyNotifyStrategyRouteEffectTimeRangeArgs
- Day
In List<int>Weeks - The effective days of the week. Valid values: 0 to 6 (0 indicates Sunday and 6 indicates Saturday).
- End
Time intIn Minute - The end time in minutes. Valid values: 0 to 1439.
- Start
Time intIn Minute - The start time in minutes. Valid values: 0 to 1438.
- Time
Zone string - The time zone, such as Asia/Shanghai.
- Day
In []intWeeks - The effective days of the week. Valid values: 0 to 6 (0 indicates Sunday and 6 indicates Saturday).
- End
Time intIn Minute - The end time in minutes. Valid values: 0 to 1439.
- Start
Time intIn Minute - The start time in minutes. Valid values: 0 to 1438.
- Time
Zone string - The time zone, such as Asia/Shanghai.
- day_
in_ list(number)weeks - The effective days of the week. Valid values: 0 to 6 (0 indicates Sunday and 6 indicates Saturday).
- end_
time_ numberin_ minute - The end time in minutes. Valid values: 0 to 1439.
- start_
time_ numberin_ minute - The start time in minutes. Valid values: 0 to 1438.
- time_
zone string - The time zone, such as Asia/Shanghai.
- day
In List<Integer>Weeks - The effective days of the week. Valid values: 0 to 6 (0 indicates Sunday and 6 indicates Saturday).
- end
Time IntegerIn Minute - The end time in minutes. Valid values: 0 to 1439.
- start
Time IntegerIn Minute - The start time in minutes. Valid values: 0 to 1438.
- time
Zone String - The time zone, such as Asia/Shanghai.
- day
In number[]Weeks - The effective days of the week. Valid values: 0 to 6 (0 indicates Sunday and 6 indicates Saturday).
- end
Time numberIn Minute - The end time in minutes. Valid values: 0 to 1439.
- start
Time numberIn Minute - The start time in minutes. Valid values: 0 to 1438.
- time
Zone string - The time zone, such as Asia/Shanghai.
- day_
in_ Sequence[int]weeks - The effective days of the week. Valid values: 0 to 6 (0 indicates Sunday and 6 indicates Saturday).
- end_
time_ intin_ minute - The end time in minutes. Valid values: 0 to 1439.
- start_
time_ intin_ minute - The start time in minutes. Valid values: 0 to 1438.
- time_
zone str - The time zone, such as Asia/Shanghai.
- day
In List<Number>Weeks - The effective days of the week. Valid values: 0 to 6 (0 indicates Sunday and 6 indicates Saturday).
- end
Time NumberIn Minute - The end time in minutes. Valid values: 0 to 1439.
- start
Time NumberIn Minute - The start time in minutes. Valid values: 0 to 1438.
- time
Zone String - The time zone, such as Asia/Shanghai.
EventNotifyPolicyNotifyStrategyRouteFilterSetting, EventNotifyPolicyNotifyStrategyRouteFilterSettingArgs
- conditions list(object)
- expression string
- relation string
- conditions List<Property Map>
- expression String
- relation String
EventNotifyPolicyNotifyStrategyRouteFilterSettingCondition, EventNotifyPolicyNotifyStrategyRouteFilterSettingConditionArgs
EventNotifyPolicyResponsePlan, EventNotifyPolicyResponsePlanArgs
- Auto
Recover intSeconds - The auto-recovery duration in seconds. An event is recovered automatically when it is not triggered again within this duration.
- Escalation
Ids List<string> - The list of escalation plan IDs.
- Pushing
Setting Pulumi.Ali Cloud. Cms. Inputs. Event Notify Policy Response Plan Pushing Setting - Action integration push settings. See
pushingSettingbelow. - Repeat
Notify Pulumi.Setting Ali Cloud. Cms. Inputs. Event Notify Policy Response Plan Repeat Notify Setting - Repeated notification configuration. See
repeatNotifySettingbelow.
- Auto
Recover intSeconds - The auto-recovery duration in seconds. An event is recovered automatically when it is not triggered again within this duration.
- Escalation
Ids []string - The list of escalation plan IDs.
- Pushing
Setting EventNotify Policy Response Plan Pushing Setting - Action integration push settings. See
pushingSettingbelow. - Repeat
Notify EventSetting Notify Policy Response Plan Repeat Notify Setting - Repeated notification configuration. See
repeatNotifySettingbelow.
- auto_
recover_ numberseconds - The auto-recovery duration in seconds. An event is recovered automatically when it is not triggered again within this duration.
- escalation_
ids list(string) - The list of escalation plan IDs.
- pushing_
setting object - Action integration push settings. See
pushingSettingbelow. - repeat_
notify_ objectsetting - Repeated notification configuration. See
repeatNotifySettingbelow.
- auto
Recover IntegerSeconds - The auto-recovery duration in seconds. An event is recovered automatically when it is not triggered again within this duration.
- escalation
Ids List<String> - The list of escalation plan IDs.
- pushing
Setting EventNotify Policy Response Plan Pushing Setting - Action integration push settings. See
pushingSettingbelow. - repeat
Notify EventSetting Notify Policy Response Plan Repeat Notify Setting - Repeated notification configuration. See
repeatNotifySettingbelow.
- auto
Recover numberSeconds - The auto-recovery duration in seconds. An event is recovered automatically when it is not triggered again within this duration.
- escalation
Ids string[] - The list of escalation plan IDs.
- pushing
Setting EventNotify Policy Response Plan Pushing Setting - Action integration push settings. See
pushingSettingbelow. - repeat
Notify EventSetting Notify Policy Response Plan Repeat Notify Setting - Repeated notification configuration. See
repeatNotifySettingbelow.
- auto_
recover_ intseconds - The auto-recovery duration in seconds. An event is recovered automatically when it is not triggered again within this duration.
- escalation_
ids Sequence[str] - The list of escalation plan IDs.
- pushing_
setting EventNotify Policy Response Plan Pushing Setting - Action integration push settings. See
pushingSettingbelow. - repeat_
notify_ Eventsetting Notify Policy Response Plan Repeat Notify Setting - Repeated notification configuration. See
repeatNotifySettingbelow.
- auto
Recover NumberSeconds - The auto-recovery duration in seconds. An event is recovered automatically when it is not triggered again within this duration.
- escalation
Ids List<String> - The list of escalation plan IDs.
- pushing
Setting Property Map - Action integration push settings. See
pushingSettingbelow. - repeat
Notify Property MapSetting - Repeated notification configuration. See
repeatNotifySettingbelow.
EventNotifyPolicyResponsePlanPushingSetting, EventNotifyPolicyResponsePlanPushingSettingArgs
- Alert
Action List<string>Ids - The list of alert action integration IDs triggered by alerts.
- Restore
Action List<string>Ids - The list of action integration IDs triggered upon recovery.
- Alert
Action []stringIds - The list of alert action integration IDs triggered by alerts.
- Restore
Action []stringIds - The list of action integration IDs triggered upon recovery.
- alert_
action_ list(string)ids - The list of alert action integration IDs triggered by alerts.
- restore_
action_ list(string)ids - The list of action integration IDs triggered upon recovery.
- alert
Action List<String>Ids - The list of alert action integration IDs triggered by alerts.
- restore
Action List<String>Ids - The list of action integration IDs triggered upon recovery.
- alert
Action string[]Ids - The list of alert action integration IDs triggered by alerts.
- restore
Action string[]Ids - The list of action integration IDs triggered upon recovery.
- alert_
action_ Sequence[str]ids - The list of alert action integration IDs triggered by alerts.
- restore_
action_ Sequence[str]ids - The list of action integration IDs triggered upon recovery.
- alert
Action List<String>Ids - The list of alert action integration IDs triggered by alerts.
- restore
Action List<String>Ids - The list of action integration IDs triggered upon recovery.
EventNotifyPolicyResponsePlanRepeatNotifySetting, EventNotifyPolicyResponsePlanRepeatNotifySettingArgs
- End
Incident stringState - The incident state at which repeated notifications stop. For example:
RECOVERED. - Repeat
Interval int - The interval between repeated notifications, in seconds.
- End
Incident stringState - The incident state at which repeated notifications stop. For example:
RECOVERED. - Repeat
Interval int - The interval between repeated notifications, in seconds.
- end_
incident_ stringstate - The incident state at which repeated notifications stop. For example:
RECOVERED. - repeat_
interval number - The interval between repeated notifications, in seconds.
- end
Incident StringState - The incident state at which repeated notifications stop. For example:
RECOVERED. - repeat
Interval Integer - The interval between repeated notifications, in seconds.
- end
Incident stringState - The incident state at which repeated notifications stop. For example:
RECOVERED. - repeat
Interval number - The interval between repeated notifications, in seconds.
- end_
incident_ strstate - The incident state at which repeated notifications stop. For example:
RECOVERED. - repeat_
interval int - The interval between repeated notifications, in seconds.
- end
Incident StringState - The incident state at which repeated notifications stop. For example:
RECOVERED. - repeat
Interval Number - The interval between repeated notifications, in seconds.
EventNotifyPolicySubscription, EventNotifyPolicySubscriptionArgs
- Filter
Setting Pulumi.Ali Cloud. Cms. Inputs. Event Notify Policy Subscription Filter Setting - Event content filtering. The server fills in defaults when it is not specified. See
filterSettingbelow. - Subscribe
Legacy boolEvent - Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.0, ARMS, or SLS events).
- Workspace
Filter Pulumi.Setting Ali Cloud. Cms. Inputs. Event Notify Policy Subscription Workspace Filter Setting - Cross-workspace event routing (global subscription). See
workspaceFilterSettingbelow.
- Filter
Setting EventNotify Policy Subscription Filter Setting - Event content filtering. The server fills in defaults when it is not specified. See
filterSettingbelow. - Subscribe
Legacy boolEvent - Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.0, ARMS, or SLS events).
- Workspace
Filter EventSetting Notify Policy Subscription Workspace Filter Setting - Cross-workspace event routing (global subscription). See
workspaceFilterSettingbelow.
- filter_
setting object - Event content filtering. The server fills in defaults when it is not specified. See
filterSettingbelow. - subscribe_
legacy_ boolevent - Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.0, ARMS, or SLS events).
- workspace_
filter_ objectsetting - Cross-workspace event routing (global subscription). See
workspaceFilterSettingbelow.
- filter
Setting EventNotify Policy Subscription Filter Setting - Event content filtering. The server fills in defaults when it is not specified. See
filterSettingbelow. - subscribe
Legacy BooleanEvent - Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.0, ARMS, or SLS events).
- workspace
Filter EventSetting Notify Policy Subscription Workspace Filter Setting - Cross-workspace event routing (global subscription). See
workspaceFilterSettingbelow.
- filter
Setting EventNotify Policy Subscription Filter Setting - Event content filtering. The server fills in defaults when it is not specified. See
filterSettingbelow. - subscribe
Legacy booleanEvent - Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.0, ARMS, or SLS events).
- workspace
Filter EventSetting Notify Policy Subscription Workspace Filter Setting - Cross-workspace event routing (global subscription). See
workspaceFilterSettingbelow.
- filter_
setting EventNotify Policy Subscription Filter Setting - Event content filtering. The server fills in defaults when it is not specified. See
filterSettingbelow. - subscribe_
legacy_ boolevent - Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.0, ARMS, or SLS events).
- workspace_
filter_ Eventsetting Notify Policy Subscription Workspace Filter Setting - Cross-workspace event routing (global subscription). See
workspaceFilterSettingbelow.
- filter
Setting Property Map - Event content filtering. The server fills in defaults when it is not specified. See
filterSettingbelow. - subscribe
Legacy BooleanEvent - Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.0, ARMS, or SLS events).
- workspace
Filter Property MapSetting - Cross-workspace event routing (global subscription). See
workspaceFilterSettingbelow.
EventNotifyPolicySubscriptionFilterSetting, EventNotifyPolicySubscriptionFilterSettingArgs
- conditions list(object)
- expression string
- relation string
- conditions List<Property Map>
- expression String
- relation String
EventNotifyPolicySubscriptionFilterSettingCondition, EventNotifyPolicySubscriptionFilterSettingConditionArgs
EventNotifyPolicySubscriptionWorkspaceFilterSetting, EventNotifyPolicySubscriptionWorkspaceFilterSettingArgs
-
Pulumi.
Ali Cloud. Cms. Inputs. Event Notify Policy Subscription Workspace Filter Setting Tag Selector - The tag selector. See
tagSelectorbelow. - Workspace
Uuids List<string> - The list of workspace UUIDs.
-
Event
Notify Policy Subscription Workspace Filter Setting Tag Selector - The tag selector. See
tagSelectorbelow. - Workspace
Uuids []string - The list of workspace UUIDs.
- tag_
selector object - The tag selector. See
tagSelectorbelow. - workspace_
uuids list(string) - The list of workspace UUIDs.
-
Event
Notify Policy Subscription Workspace Filter Setting Tag Selector - The tag selector. See
tagSelectorbelow. - workspace
Uuids List<String> - The list of workspace UUIDs.
-
Event
Notify Policy Subscription Workspace Filter Setting Tag Selector - The tag selector. See
tagSelectorbelow. - workspace
Uuids string[] - The list of workspace UUIDs.
- tag_
selector EventNotify Policy Subscription Workspace Filter Setting Tag Selector - The tag selector. See
tagSelectorbelow. - workspace_
uuids Sequence[str] - The list of workspace UUIDs.
- Property Map
- The tag selector. See
tagSelectorbelow. - workspace
Uuids List<String> - The list of workspace UUIDs.
EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelector, EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelectorArgs
- conditions list(object)
- expression string
- relation string
- conditions List<Property Map>
- expression String
- relation String
EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelectorCondition, EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelectorConditionArgs
Import
Cms Event Notify Policy can be imported using the id, e.g.
$ pulumi import alicloud:cms/eventNotifyPolicy:EventNotifyPolicy example <uuid>:<workspace>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
published on Monday, Aug 24, 2026 by Pulumi