1. Registry
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. cms
  6. EventNotifyPolicy
Viewing docs for Alibaba Cloud v3.106.0
published on Monday, Aug 24, 2026 by Pulumi
alicloud logo alicloud logo
Viewing docs for Alibaba Cloud v3.106.0
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 ConflictName error.
    NotifyStrategy Pulumi.AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategy
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See notifyStrategy below.
    ResponsePlan Pulumi.AliCloud.Cms.Inputs.EventNotifyPolicyResponsePlan
    Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See responsePlan below.
    Subscription Pulumi.AliCloud.Cms.Inputs.EventNotifyPolicySubscription
    Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See subscription below.
    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 ConflictName error.
    NotifyStrategy EventNotifyPolicyNotifyStrategyArgs
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See notifyStrategy below.
    ResponsePlan EventNotifyPolicyResponsePlanArgs
    Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See responsePlan below.
    Subscription EventNotifyPolicySubscriptionArgs
    Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See subscription below.
    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 ConflictName error.
    notify_strategy object
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See notifyStrategy below.
    response_plan object
    Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See responsePlan below.
    subscription object
    Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See subscription below.
    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 ConflictName error.
    notifyStrategy EventNotifyPolicyNotifyStrategy
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See notifyStrategy below.
    responsePlan EventNotifyPolicyResponsePlan
    Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See responsePlan below.
    subscription EventNotifyPolicySubscription
    Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See subscription below.
    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 ConflictName error.
    notifyStrategy EventNotifyPolicyNotifyStrategy
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See notifyStrategy below.
    responsePlan EventNotifyPolicyResponsePlan
    Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See responsePlan below.
    subscription EventNotifyPolicySubscription
    Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See subscription below.
    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 ConflictName error.
    notify_strategy EventNotifyPolicyNotifyStrategyArgs
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See notifyStrategy below.
    response_plan EventNotifyPolicyResponsePlanArgs
    Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See responsePlan below.
    subscription EventNotifyPolicySubscriptionArgs
    Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See subscription below.
    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 ConflictName error.
    notifyStrategy Property Map
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See notifyStrategy below.
    responsePlan Property Map
    Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See responsePlan below.
    subscription Property Map
    Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See subscription below.

    Outputs

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

    CreateTime string
    The creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    The update time.
    UserId 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.
    CreateTime string
    The creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    The update time.
    UserId 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.
    createTime String
    The creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    The update time.
    userId 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.
    createTime string
    The creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    updateTime string
    The update time.
    userId 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.
    createTime String
    The creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    The update time.
    userId 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) -> EventNotifyPolicy
    func 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.
    The following state arguments are supported:
    CreateTime 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 ConflictName error.
    NotifyStrategy Pulumi.AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategy
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See notifyStrategy below.
    ResponsePlan Pulumi.AliCloud.Cms.Inputs.EventNotifyPolicyResponsePlan
    Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See responsePlan below.
    Subscription Pulumi.AliCloud.Cms.Inputs.EventNotifyPolicySubscription
    Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See subscription below.
    UpdateTime string
    The update time.
    UserId 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.
    CreateTime 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 ConflictName error.
    NotifyStrategy EventNotifyPolicyNotifyStrategyArgs
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See notifyStrategy below.
    ResponsePlan EventNotifyPolicyResponsePlanArgs
    Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See responsePlan below.
    Subscription EventNotifyPolicySubscriptionArgs
    Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See subscription below.
    UpdateTime string
    The update time.
    UserId 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 ConflictName error.
    notify_strategy object
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See notifyStrategy below.
    response_plan object
    Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See responsePlan below.
    subscription object
    Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See subscription below.
    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.
    createTime 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 ConflictName error.
    notifyStrategy EventNotifyPolicyNotifyStrategy
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See notifyStrategy below.
    responsePlan EventNotifyPolicyResponsePlan
    Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See responsePlan below.
    subscription EventNotifyPolicySubscription
    Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See subscription below.
    updateTime String
    The update time.
    userId 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.
    createTime 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 ConflictName error.
    notifyStrategy EventNotifyPolicyNotifyStrategy
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See notifyStrategy below.
    responsePlan EventNotifyPolicyResponsePlan
    Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See responsePlan below.
    subscription EventNotifyPolicySubscription
    Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See subscription below.
    updateTime string
    The update time.
    userId 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 ConflictName error.
    notify_strategy EventNotifyPolicyNotifyStrategyArgs
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See notifyStrategy below.
    response_plan EventNotifyPolicyResponsePlanArgs
    Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See responsePlan below.
    subscription EventNotifyPolicySubscriptionArgs
    Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See subscription below.
    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.
    createTime 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 ConflictName error.
    notifyStrategy Property Map
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates. See notifyStrategy below.
    responsePlan Property Map
    Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration. See responsePlan below.
    subscription Property Map
    Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription. See subscription below.
    updateTime String
    The update time.
    userId 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

    CustomTemplateEntries List<Pulumi.AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyCustomTemplateEntry>
    The list of custom notification templates. See customTemplateEntries below.
    Description string
    The description of the notification strategy.
    GroupingSetting Pulumi.AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyGroupingSetting
    The grouping and merging settings. See groupingSetting below.
    IgnoreRestoredNotification bool
    Indicates whether to ignore notifications for recovered events. true means no recovery notification is sent.
    Routes List<Pulumi.AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyRoute>
    The notification channel routing settings. See routes below.
    CustomTemplateEntries []EventNotifyPolicyNotifyStrategyCustomTemplateEntry
    The list of custom notification templates. See customTemplateEntries below.
    Description string
    The description of the notification strategy.
    GroupingSetting EventNotifyPolicyNotifyStrategyGroupingSetting
    The grouping and merging settings. See groupingSetting below.
    IgnoreRestoredNotification bool
    Indicates whether to ignore notifications for recovered events. true means no recovery notification is sent.
    Routes []EventNotifyPolicyNotifyStrategyRoute
    The notification channel routing settings. See routes below.
    custom_template_entries list(object)
    The list of custom notification templates. See customTemplateEntries below.
    description string
    The description of the notification strategy.
    grouping_setting object
    The grouping and merging settings. See groupingSetting below.
    ignore_restored_notification bool
    Indicates whether to ignore notifications for recovered events. true means no recovery notification is sent.
    routes list(object)
    The notification channel routing settings. See routes below.
    customTemplateEntries List<EventNotifyPolicyNotifyStrategyCustomTemplateEntry>
    The list of custom notification templates. See customTemplateEntries below.
    description String
    The description of the notification strategy.
    groupingSetting EventNotifyPolicyNotifyStrategyGroupingSetting
    The grouping and merging settings. See groupingSetting below.
    ignoreRestoredNotification Boolean
    Indicates whether to ignore notifications for recovered events. true means no recovery notification is sent.
    routes List<EventNotifyPolicyNotifyStrategyRoute>
    The notification channel routing settings. See routes below.
    customTemplateEntries EventNotifyPolicyNotifyStrategyCustomTemplateEntry[]
    The list of custom notification templates. See customTemplateEntries below.
    description string
    The description of the notification strategy.
    groupingSetting EventNotifyPolicyNotifyStrategyGroupingSetting
    The grouping and merging settings. See groupingSetting below.
    ignoreRestoredNotification boolean
    Indicates whether to ignore notifications for recovered events. true means no recovery notification is sent.
    routes EventNotifyPolicyNotifyStrategyRoute[]
    The notification channel routing settings. See routes below.
    custom_template_entries Sequence[EventNotifyPolicyNotifyStrategyCustomTemplateEntry]
    The list of custom notification templates. See customTemplateEntries below.
    description str
    The description of the notification strategy.
    grouping_setting EventNotifyPolicyNotifyStrategyGroupingSetting
    The grouping and merging settings. See groupingSetting below.
    ignore_restored_notification bool
    Indicates whether to ignore notifications for recovered events. true means no recovery notification is sent.
    routes Sequence[EventNotifyPolicyNotifyStrategyRoute]
    The notification channel routing settings. See routes below.
    customTemplateEntries List<Property Map>
    The list of custom notification templates. See customTemplateEntries below.
    description String
    The description of the notification strategy.
    groupingSetting Property Map
    The grouping and merging settings. See groupingSetting below.
    ignoreRestoredNotification Boolean
    Indicates whether to ignore notifications for recovered events. true means no recovery notification is sent.
    routes List<Property Map>
    The notification channel routing settings. See routes below.

    EventNotifyPolicyNotifyStrategyCustomTemplateEntry, EventNotifyPolicyNotifyStrategyCustomTemplateEntryArgs

    TemplateUuid string
    The UUID of the template.
    TemplateUuid string
    The UUID of the template.
    template_uuid string
    The UUID of the template.
    templateUuid String
    The UUID of the template.
    templateUuid string
    The UUID of the template.
    template_uuid str
    The UUID of the template.
    templateUuid String
    The UUID of the template.

    EventNotifyPolicyNotifyStrategyGroupingSetting, EventNotifyPolicyNotifyStrategyGroupingSettingArgs

    GroupingKeys 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.
    PeriodMin int
    The check period in minutes. This parameter does not take effect on this API and does not need to be set.
    SilenceSec 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.
    GroupingKeys []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.
    PeriodMin int
    The check period in minutes. This parameter does not take effect on this API and does not need to be set.
    SilenceSec 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.
    groupingKeys 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.
    periodMin Integer
    The check period in minutes. This parameter does not take effect on this API and does not need to be set.
    silenceSec 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.
    groupingKeys 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.
    periodMin number
    The check period in minutes. This parameter does not take effect on this API and does not need to be set.
    silenceSec 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.
    groupingKeys 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.
    periodMin Number
    The check period in minutes. This parameter does not take effect on this API and does not need to be set.
    silenceSec 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.AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyRouteChannel>
    The notification channels. See channels below.
    DigitalEmployeeName string
    The name of the digital employee. This parameter is required when enableRca is set to true.
    EffectTimeRange Pulumi.AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyRouteEffectTimeRange
    The effective time range. See effectTimeRange below.
    EnableRca bool
    Specifies whether to enable Root Cause Analysis (RCA).
    FilterSetting Pulumi.AliCloud.Cms.Inputs.EventNotifyPolicyNotifyStrategyRouteFilterSetting
    Channels []EventNotifyPolicyNotifyStrategyRouteChannel
    The notification channels. See channels below.
    DigitalEmployeeName string
    The name of the digital employee. This parameter is required when enableRca is set to true.
    EffectTimeRange EventNotifyPolicyNotifyStrategyRouteEffectTimeRange
    The effective time range. See effectTimeRange below.
    EnableRca bool
    Specifies whether to enable Root Cause Analysis (RCA).
    FilterSetting EventNotifyPolicyNotifyStrategyRouteFilterSetting
    channels list(object)
    The notification channels. See channels below.
    digital_employee_name string
    The name of the digital employee. This parameter is required when enableRca is set to true.
    effect_time_range object
    The effective time range. See effectTimeRange below.
    enable_rca bool
    Specifies whether to enable Root Cause Analysis (RCA).
    filter_setting object
    channels List<EventNotifyPolicyNotifyStrategyRouteChannel>
    The notification channels. See channels below.
    digitalEmployeeName String
    The name of the digital employee. This parameter is required when enableRca is set to true.
    effectTimeRange EventNotifyPolicyNotifyStrategyRouteEffectTimeRange
    The effective time range. See effectTimeRange below.
    enableRca Boolean
    Specifies whether to enable Root Cause Analysis (RCA).
    filterSetting EventNotifyPolicyNotifyStrategyRouteFilterSetting
    channels EventNotifyPolicyNotifyStrategyRouteChannel[]
    The notification channels. See channels below.
    digitalEmployeeName string
    The name of the digital employee. This parameter is required when enableRca is set to true.
    effectTimeRange EventNotifyPolicyNotifyStrategyRouteEffectTimeRange
    The effective time range. See effectTimeRange below.
    enableRca boolean
    Specifies whether to enable Root Cause Analysis (RCA).
    filterSetting EventNotifyPolicyNotifyStrategyRouteFilterSetting
    channels Sequence[EventNotifyPolicyNotifyStrategyRouteChannel]
    The notification channels. See channels below.
    digital_employee_name str
    The name of the digital employee. This parameter is required when enableRca is set to true.
    effect_time_range EventNotifyPolicyNotifyStrategyRouteEffectTimeRange
    The effective time range. See effectTimeRange below.
    enable_rca bool
    Specifies whether to enable Root Cause Analysis (RCA).
    filter_setting EventNotifyPolicyNotifyStrategyRouteFilterSetting
    channels List<Property Map>
    The notification channels. See channels below.
    digitalEmployeeName String
    The name of the digital employee. This parameter is required when enableRca is set to true.
    effectTimeRange Property Map
    The effective time range. See effectTimeRange below.
    enableRca Boolean
    Specifies whether to enable Root Cause Analysis (RCA).
    filterSetting Property Map

    EventNotifyPolicyNotifyStrategyRouteChannel, EventNotifyPolicyNotifyStrategyRouteChannelArgs

    ChannelType string
    The channel type. Valid values: DING, WEIXIN, FEISHU, SLACK, TEAMS, CONTACT, GROUP, DUTY, DING_COOL_APP.
    EnabledSubChannels List<string>
    The enabled notification methods. It is required only when channelType is CONTACT, GROUP or DUTY. 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 CONTACT it is the contact ID.
    ChannelType string
    The channel type. Valid values: DING, WEIXIN, FEISHU, SLACK, TEAMS, CONTACT, GROUP, DUTY, DING_COOL_APP.
    EnabledSubChannels []string
    The enabled notification methods. It is required only when channelType is CONTACT, GROUP or DUTY. 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 CONTACT it 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_channels list(string)
    The enabled notification methods. It is required only when channelType is CONTACT, GROUP or DUTY. 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 CONTACT it is the contact ID.
    channelType String
    The channel type. Valid values: DING, WEIXIN, FEISHU, SLACK, TEAMS, CONTACT, GROUP, DUTY, DING_COOL_APP.
    enabledSubChannels List<String>
    The enabled notification methods. It is required only when channelType is CONTACT, GROUP or DUTY. 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 CONTACT it is the contact ID.
    channelType string
    The channel type. Valid values: DING, WEIXIN, FEISHU, SLACK, TEAMS, CONTACT, GROUP, DUTY, DING_COOL_APP.
    enabledSubChannels string[]
    The enabled notification methods. It is required only when channelType is CONTACT, GROUP or DUTY. 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 CONTACT it 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_channels Sequence[str]
    The enabled notification methods. It is required only when channelType is CONTACT, GROUP or DUTY. 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 CONTACT it is the contact ID.
    channelType String
    The channel type. Valid values: DING, WEIXIN, FEISHU, SLACK, TEAMS, CONTACT, GROUP, DUTY, DING_COOL_APP.
    enabledSubChannels List<String>
    The enabled notification methods. It is required only when channelType is CONTACT, GROUP or DUTY. 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 CONTACT it is the contact ID.

    EventNotifyPolicyNotifyStrategyRouteEffectTimeRange, EventNotifyPolicyNotifyStrategyRouteEffectTimeRangeArgs

    DayInWeeks List<int>
    The effective days of the week. Valid values: 0 to 6 (0 indicates Sunday and 6 indicates Saturday).
    EndTimeInMinute int
    The end time in minutes. Valid values: 0 to 1439.
    StartTimeInMinute int
    The start time in minutes. Valid values: 0 to 1438.
    TimeZone string
    The time zone, such as Asia/Shanghai.
    DayInWeeks []int
    The effective days of the week. Valid values: 0 to 6 (0 indicates Sunday and 6 indicates Saturday).
    EndTimeInMinute int
    The end time in minutes. Valid values: 0 to 1439.
    StartTimeInMinute int
    The start time in minutes. Valid values: 0 to 1438.
    TimeZone string
    The time zone, such as Asia/Shanghai.
    day_in_weeks list(number)
    The effective days of the week. Valid values: 0 to 6 (0 indicates Sunday and 6 indicates Saturday).
    end_time_in_minute number
    The end time in minutes. Valid values: 0 to 1439.
    start_time_in_minute number
    The start time in minutes. Valid values: 0 to 1438.
    time_zone string
    The time zone, such as Asia/Shanghai.
    dayInWeeks List<Integer>
    The effective days of the week. Valid values: 0 to 6 (0 indicates Sunday and 6 indicates Saturday).
    endTimeInMinute Integer
    The end time in minutes. Valid values: 0 to 1439.
    startTimeInMinute Integer
    The start time in minutes. Valid values: 0 to 1438.
    timeZone String
    The time zone, such as Asia/Shanghai.
    dayInWeeks number[]
    The effective days of the week. Valid values: 0 to 6 (0 indicates Sunday and 6 indicates Saturday).
    endTimeInMinute number
    The end time in minutes. Valid values: 0 to 1439.
    startTimeInMinute number
    The start time in minutes. Valid values: 0 to 1438.
    timeZone string
    The time zone, such as Asia/Shanghai.
    day_in_weeks Sequence[int]
    The effective days of the week. Valid values: 0 to 6 (0 indicates Sunday and 6 indicates Saturday).
    end_time_in_minute int
    The end time in minutes. Valid values: 0 to 1439.
    start_time_in_minute int
    The start time in minutes. Valid values: 0 to 1438.
    time_zone str
    The time zone, such as Asia/Shanghai.
    dayInWeeks List<Number>
    The effective days of the week. Valid values: 0 to 6 (0 indicates Sunday and 6 indicates Saturday).
    endTimeInMinute Number
    The end time in minutes. Valid values: 0 to 1439.
    startTimeInMinute Number
    The start time in minutes. Valid values: 0 to 1438.
    timeZone String
    The time zone, such as Asia/Shanghai.

    EventNotifyPolicyNotifyStrategyRouteFilterSetting, EventNotifyPolicyNotifyStrategyRouteFilterSettingArgs

    EventNotifyPolicyNotifyStrategyRouteFilterSettingCondition, EventNotifyPolicyNotifyStrategyRouteFilterSettingConditionArgs

    Field string
    Op string
    Value string
    Field string
    Op string
    Value string
    field string
    op string
    value string
    field String
    op String
    value String
    field string
    op string
    value string
    field str
    op str
    value str
    field String
    op String
    value String

    EventNotifyPolicyResponsePlan, EventNotifyPolicyResponsePlanArgs

    AutoRecoverSeconds int
    The auto-recovery duration in seconds. An event is recovered automatically when it is not triggered again within this duration.
    EscalationIds List<string>
    The list of escalation plan IDs.
    PushingSetting Pulumi.AliCloud.Cms.Inputs.EventNotifyPolicyResponsePlanPushingSetting
    Action integration push settings. See pushingSetting below.
    RepeatNotifySetting Pulumi.AliCloud.Cms.Inputs.EventNotifyPolicyResponsePlanRepeatNotifySetting
    Repeated notification configuration. See repeatNotifySetting below.
    AutoRecoverSeconds int
    The auto-recovery duration in seconds. An event is recovered automatically when it is not triggered again within this duration.
    EscalationIds []string
    The list of escalation plan IDs.
    PushingSetting EventNotifyPolicyResponsePlanPushingSetting
    Action integration push settings. See pushingSetting below.
    RepeatNotifySetting EventNotifyPolicyResponsePlanRepeatNotifySetting
    Repeated notification configuration. See repeatNotifySetting below.
    auto_recover_seconds number
    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 pushingSetting below.
    repeat_notify_setting object
    Repeated notification configuration. See repeatNotifySetting below.
    autoRecoverSeconds Integer
    The auto-recovery duration in seconds. An event is recovered automatically when it is not triggered again within this duration.
    escalationIds List<String>
    The list of escalation plan IDs.
    pushingSetting EventNotifyPolicyResponsePlanPushingSetting
    Action integration push settings. See pushingSetting below.
    repeatNotifySetting EventNotifyPolicyResponsePlanRepeatNotifySetting
    Repeated notification configuration. See repeatNotifySetting below.
    autoRecoverSeconds number
    The auto-recovery duration in seconds. An event is recovered automatically when it is not triggered again within this duration.
    escalationIds string[]
    The list of escalation plan IDs.
    pushingSetting EventNotifyPolicyResponsePlanPushingSetting
    Action integration push settings. See pushingSetting below.
    repeatNotifySetting EventNotifyPolicyResponsePlanRepeatNotifySetting
    Repeated notification configuration. See repeatNotifySetting below.
    auto_recover_seconds int
    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 EventNotifyPolicyResponsePlanPushingSetting
    Action integration push settings. See pushingSetting below.
    repeat_notify_setting EventNotifyPolicyResponsePlanRepeatNotifySetting
    Repeated notification configuration. See repeatNotifySetting below.
    autoRecoverSeconds Number
    The auto-recovery duration in seconds. An event is recovered automatically when it is not triggered again within this duration.
    escalationIds List<String>
    The list of escalation plan IDs.
    pushingSetting Property Map
    Action integration push settings. See pushingSetting below.
    repeatNotifySetting Property Map
    Repeated notification configuration. See repeatNotifySetting below.

    EventNotifyPolicyResponsePlanPushingSetting, EventNotifyPolicyResponsePlanPushingSettingArgs

    AlertActionIds List<string>
    The list of alert action integration IDs triggered by alerts.
    RestoreActionIds List<string>
    The list of action integration IDs triggered upon recovery.
    AlertActionIds []string
    The list of alert action integration IDs triggered by alerts.
    RestoreActionIds []string
    The list of action integration IDs triggered upon recovery.
    alert_action_ids list(string)
    The list of alert action integration IDs triggered by alerts.
    restore_action_ids list(string)
    The list of action integration IDs triggered upon recovery.
    alertActionIds List<String>
    The list of alert action integration IDs triggered by alerts.
    restoreActionIds List<String>
    The list of action integration IDs triggered upon recovery.
    alertActionIds string[]
    The list of alert action integration IDs triggered by alerts.
    restoreActionIds string[]
    The list of action integration IDs triggered upon recovery.
    alert_action_ids Sequence[str]
    The list of alert action integration IDs triggered by alerts.
    restore_action_ids Sequence[str]
    The list of action integration IDs triggered upon recovery.
    alertActionIds List<String>
    The list of alert action integration IDs triggered by alerts.
    restoreActionIds List<String>
    The list of action integration IDs triggered upon recovery.

    EventNotifyPolicyResponsePlanRepeatNotifySetting, EventNotifyPolicyResponsePlanRepeatNotifySettingArgs

    EndIncidentState string
    The incident state at which repeated notifications stop. For example: RECOVERED.
    RepeatInterval int
    The interval between repeated notifications, in seconds.
    EndIncidentState string
    The incident state at which repeated notifications stop. For example: RECOVERED.
    RepeatInterval int
    The interval between repeated notifications, in seconds.
    end_incident_state string
    The incident state at which repeated notifications stop. For example: RECOVERED.
    repeat_interval number
    The interval between repeated notifications, in seconds.
    endIncidentState String
    The incident state at which repeated notifications stop. For example: RECOVERED.
    repeatInterval Integer
    The interval between repeated notifications, in seconds.
    endIncidentState string
    The incident state at which repeated notifications stop. For example: RECOVERED.
    repeatInterval number
    The interval between repeated notifications, in seconds.
    end_incident_state str
    The incident state at which repeated notifications stop. For example: RECOVERED.
    repeat_interval int
    The interval between repeated notifications, in seconds.
    endIncidentState String
    The incident state at which repeated notifications stop. For example: RECOVERED.
    repeatInterval Number
    The interval between repeated notifications, in seconds.

    EventNotifyPolicySubscription, EventNotifyPolicySubscriptionArgs

    FilterSetting Pulumi.AliCloud.Cms.Inputs.EventNotifyPolicySubscriptionFilterSetting
    Event content filtering. The server fills in defaults when it is not specified. See filterSetting below.
    SubscribeLegacyEvent bool
    Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.0, ARMS, or SLS events).
    WorkspaceFilterSetting Pulumi.AliCloud.Cms.Inputs.EventNotifyPolicySubscriptionWorkspaceFilterSetting
    Cross-workspace event routing (global subscription). See workspaceFilterSetting below.
    FilterSetting EventNotifyPolicySubscriptionFilterSetting
    Event content filtering. The server fills in defaults when it is not specified. See filterSetting below.
    SubscribeLegacyEvent bool
    Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.0, ARMS, or SLS events).
    WorkspaceFilterSetting EventNotifyPolicySubscriptionWorkspaceFilterSetting
    Cross-workspace event routing (global subscription). See workspaceFilterSetting below.
    filter_setting object
    Event content filtering. The server fills in defaults when it is not specified. See filterSetting below.
    subscribe_legacy_event bool
    Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.0, ARMS, or SLS events).
    workspace_filter_setting object
    Cross-workspace event routing (global subscription). See workspaceFilterSetting below.
    filterSetting EventNotifyPolicySubscriptionFilterSetting
    Event content filtering. The server fills in defaults when it is not specified. See filterSetting below.
    subscribeLegacyEvent Boolean
    Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.0, ARMS, or SLS events).
    workspaceFilterSetting EventNotifyPolicySubscriptionWorkspaceFilterSetting
    Cross-workspace event routing (global subscription). See workspaceFilterSetting below.
    filterSetting EventNotifyPolicySubscriptionFilterSetting
    Event content filtering. The server fills in defaults when it is not specified. See filterSetting below.
    subscribeLegacyEvent boolean
    Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.0, ARMS, or SLS events).
    workspaceFilterSetting EventNotifyPolicySubscriptionWorkspaceFilterSetting
    Cross-workspace event routing (global subscription). See workspaceFilterSetting below.
    filter_setting EventNotifyPolicySubscriptionFilterSetting
    Event content filtering. The server fills in defaults when it is not specified. See filterSetting below.
    subscribe_legacy_event bool
    Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.0, ARMS, or SLS events).
    workspace_filter_setting EventNotifyPolicySubscriptionWorkspaceFilterSetting
    Cross-workspace event routing (global subscription). See workspaceFilterSetting below.
    filterSetting Property Map
    Event content filtering. The server fills in defaults when it is not specified. See filterSetting below.
    subscribeLegacyEvent Boolean
    Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.0, ARMS, or SLS events).
    workspaceFilterSetting Property Map
    Cross-workspace event routing (global subscription). See workspaceFilterSetting below.

    EventNotifyPolicySubscriptionFilterSetting, EventNotifyPolicySubscriptionFilterSettingArgs

    EventNotifyPolicySubscriptionFilterSettingCondition, EventNotifyPolicySubscriptionFilterSettingConditionArgs

    Field string
    Op string
    Value string
    Field string
    Op string
    Value string
    field string
    op string
    value string
    field String
    op String
    value String
    field string
    op string
    value string
    field str
    op str
    value str
    field String
    op String
    value String

    EventNotifyPolicySubscriptionWorkspaceFilterSetting, EventNotifyPolicySubscriptionWorkspaceFilterSettingArgs

    TagSelector Pulumi.AliCloud.Cms.Inputs.EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelector
    The tag selector. See tagSelector below.
    WorkspaceUuids List<string>
    The list of workspace UUIDs.
    TagSelector EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelector
    The tag selector. See tagSelector below.
    WorkspaceUuids []string
    The list of workspace UUIDs.
    tag_selector object
    The tag selector. See tagSelector below.
    workspace_uuids list(string)
    The list of workspace UUIDs.
    tagSelector EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelector
    The tag selector. See tagSelector below.
    workspaceUuids List<String>
    The list of workspace UUIDs.
    tagSelector EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelector
    The tag selector. See tagSelector below.
    workspaceUuids string[]
    The list of workspace UUIDs.
    tag_selector EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelector
    The tag selector. See tagSelector below.
    workspace_uuids Sequence[str]
    The list of workspace UUIDs.
    tagSelector Property Map
    The tag selector. See tagSelector below.
    workspaceUuids List<String>
    The list of workspace UUIDs.

    EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelector, EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelectorArgs

    EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelectorCondition, EventNotifyPolicySubscriptionWorkspaceFilterSettingTagSelectorConditionArgs

    Field string
    Op string
    Value string
    Field string
    Op string
    Value string
    field string
    op string
    value string
    field String
    op String
    value String
    field string
    op string
    value string
    field str
    op str
    value str
    field String
    op String
    value String

    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 alicloud Terraform Provider.
    alicloud logo alicloud logo
    Viewing docs for Alibaba Cloud v3.106.0
    published on Monday, Aug 24, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial