1. Registry
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. cms
  6. getEventNotifyPolicies
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

    This data source provides Cms Event Notify Policy available to the user.What is Event Notify Policy

    NOTE: Available since v1.289.0.

    Example 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 defaultEventNotifyPolicy = 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 test",
            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-test-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",
    });
    const _default = alicloud.cms.getEventNotifyPoliciesOutput({
        ids: [defaultEventNotifyPolicy.id],
        name: "tf-list-enp-0716a",
        workspace: "default-workspace-cn-hangzhou",
    });
    export const alicloudCmsEventNotifyPolicyExampleId = _default.apply(_default => _default.policies?.[0]?.id);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default_event_notify_policy = 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 test",
            "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-test-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")
    default = alicloud.cms.get_event_notify_policies_output(ids=[default_event_notify_policy.id],
        name="tf-list-enp-0716a",
        workspace="default-workspace-cn-hangzhou")
    pulumi.export("alicloudCmsEventNotifyPolicyExampleId", default.policies[0].id)
    
    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
    		}
    		defaultEventNotifyPolicy, 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 test"),
    				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-test-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
    		}
    		_default := cms.GetEventNotifyPoliciesOutput(ctx, cms.GetEventNotifyPoliciesOutputArgs{
    			Ids: pulumi.StringArray{
    				defaultEventNotifyPolicy.ID().ToIDOutput().ToStringOutput(),
    			},
    			Name:      pulumi.String("tf-list-enp-0716a"),
    			Workspace: pulumi.String("default-workspace-cn-hangzhou"),
    		}, nil)
    		ctx.Export("alicloudCmsEventNotifyPolicyExampleId", _default.ApplyT(func(_default cms.GetEventNotifyPoliciesResult) (*string, error) {
    			return _default.Policies[0].Id, nil
    		}).(pulumi.StringPtrOutput))
    		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 defaultEventNotifyPolicy = 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 test",
                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-test-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",
        });
    
        var @default = AliCloud.Cms.GetEventNotifyPolicies.Invoke(new()
        {
            Ids = new[]
            {
                defaultEventNotifyPolicy.Id,
            },
            Name = "tf-list-enp-0716a",
            Workspace = "default-workspace-cn-hangzhou",
        });
    
        return new Dictionary<string, object?>
        {
            ["alicloudCmsEventNotifyPolicyExampleId"] = @default.Apply(@default => @default.Apply(getEventNotifyPoliciesResult => getEventNotifyPoliciesResult.Policies[0]?.Id)),
        };
    });
    
    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 com.pulumi.alicloud.cms.CmsFunctions;
    import com.pulumi.alicloud.cms.inputs.GetEventNotifyPoliciesArgs;
    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 defaultEventNotifyPolicy = new EventNotifyPolicy("defaultEventNotifyPolicy", 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 test")
                    .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-test-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());
    
            final var default = CmsFunctions.getEventNotifyPolicies(GetEventNotifyPoliciesArgs.builder()
                .ids(defaultEventNotifyPolicy.id())
                .name("tf-list-enp-0716a")
                .workspace("default-workspace-cn-hangzhou")
                .build());
    
            ctx.export("alicloudCmsEventNotifyPolicyExampleId", default_.applyValue(_default_ -> _default_.policies()[0].id()));
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      defaultEventNotifyPolicy:
        type: alicloud:cms:EventNotifyPolicy
        name: default
        properties:
          description: Event notification policy managed by Terraform
          responsePlan:
            repeatNotifySetting:
              endIncidentState: resolved
              repeatInterval: '30'
            autoRecoverSeconds: '600'
          notifyStrategy:
            description: Notify strategy for list test
            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-test-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
    variables:
      default:
        fn::invoke:
          function: alicloud:cms:getEventNotifyPolicies
          arguments:
            ids:
              - ${defaultEventNotifyPolicy.id}
            name: tf-list-enp-0716a
            workspace: default-workspace-cn-hangzhou
    outputs:
      alicloudCmsEventNotifyPolicyExampleId: ${default.policies[0].id}
    
    pulumi {
      required_providers {
        alicloud = {
          source = "pulumi/alicloud"
        }
      }
    }
    
    data "alicloud_cms_geteventnotifypolicies" "default" {
      ids       = [alicloud_cms_eventnotifypolicy.default.id]
      name      = "tf-list-enp-0716a"
      workspace = "default-workspace-cn-hangzhou"
    }
    
    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 test"
        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-test-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"
    }
    output "alicloudCmsEventNotifyPolicyExampleId" {
      value = data.alicloud_cms_geteventnotifypolicies.default.policies[0].id
    }
    

    Using getEventNotifyPolicies

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getEventNotifyPolicies(args: GetEventNotifyPoliciesArgs, opts?: InvokeOptions): Promise<GetEventNotifyPoliciesResult>
    function getEventNotifyPoliciesOutput(args: GetEventNotifyPoliciesOutputArgs, opts?: InvokeOutputOptions): Output<GetEventNotifyPoliciesResult>
    def get_event_notify_policies(enable_details: Optional[bool] = None,
                                  ids: Optional[Sequence[str]] = None,
                                  name: Optional[str] = None,
                                  order_by: Optional[str] = None,
                                  order_desc: Optional[str] = None,
                                  output_file: Optional[str] = None,
                                  workspace: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetEventNotifyPoliciesResult
    def get_event_notify_policies_output(enable_details: pulumi.Input[Optional[bool]] = None,
                                  ids: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                                  name: pulumi.Input[Optional[str]] = None,
                                  order_by: pulumi.Input[Optional[str]] = None,
                                  order_desc: pulumi.Input[Optional[str]] = None,
                                  output_file: pulumi.Input[Optional[str]] = None,
                                  workspace: pulumi.Input[Optional[str]] = None,
                                  opts: Optional[InvokeOutputOptions] = None) -> Output[GetEventNotifyPoliciesResult]
    func GetEventNotifyPolicies(ctx *Context, args *GetEventNotifyPoliciesArgs, opts ...InvokeOption) (*GetEventNotifyPoliciesResult, error)
    func GetEventNotifyPoliciesOutput(ctx *Context, args *GetEventNotifyPoliciesOutputArgs, opts ...InvokeOption) GetEventNotifyPoliciesResultOutput

    > Note: This function is named GetEventNotifyPolicies in the Go SDK.

    public static class GetEventNotifyPolicies 
    {
        public static Task<GetEventNotifyPoliciesResult> InvokeAsync(GetEventNotifyPoliciesArgs args, InvokeOptions? opts = null)
        public static Output<GetEventNotifyPoliciesResult> Invoke(GetEventNotifyPoliciesInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetEventNotifyPoliciesResult> Invoke(GetEventNotifyPoliciesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetEventNotifyPoliciesResult> getEventNotifyPolicies(GetEventNotifyPoliciesArgs args, InvokeOptions options)
    public static Output<GetEventNotifyPoliciesResult> getEventNotifyPolicies(GetEventNotifyPoliciesArgs args, InvokeOptions options)
    public static Output<GetEventNotifyPoliciesResult> getEventNotifyPolicies(GetEventNotifyPoliciesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: alicloud:cms/getEventNotifyPolicies:getEventNotifyPolicies
      arguments:
        # arguments dictionary
    data "alicloud_cms_get_event_notify_policies" "name" {
        # arguments
    }

    The following arguments are supported:

    Workspace string
    The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example: default-cms-xxxx-cn-hangzhou.
    EnableDetails bool
    Default to false. Set it to true can output more details about resource attributes.
    Ids List<string>
    A list of Event Notify Policy IDs. The value is formulated as <uuid>:<workspace>.
    Name string
    Filters results by fuzzy matching on the policy name.
    OrderBy string
    The sorting field. Supported values include createTime, updateTime, and name.
    OrderDesc string
    Specifies whether to sort in descending order. A value of true indicates descending order, and a value of false indicates ascending order.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Workspace string
    The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example: default-cms-xxxx-cn-hangzhou.
    EnableDetails bool
    Default to false. Set it to true can output more details about resource attributes.
    Ids []string
    A list of Event Notify Policy IDs. The value is formulated as <uuid>:<workspace>.
    Name string
    Filters results by fuzzy matching on the policy name.
    OrderBy string
    The sorting field. Supported values include createTime, updateTime, and name.
    OrderDesc string
    Specifies whether to sort in descending order. A value of true indicates descending order, and a value of false indicates ascending order.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    workspace string
    The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example: default-cms-xxxx-cn-hangzhou.
    enable_details bool
    Default to false. Set it to true can output more details about resource attributes.
    ids list(string)
    A list of Event Notify Policy IDs. The value is formulated as <uuid>:<workspace>.
    name string
    Filters results by fuzzy matching on the policy name.
    order_by string
    The sorting field. Supported values include createTime, updateTime, and name.
    order_desc string
    Specifies whether to sort in descending order. A value of true indicates descending order, and a value of false indicates ascending order.
    output_file string
    File name where to save data source results (after running pulumi preview).
    workspace String
    The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example: default-cms-xxxx-cn-hangzhou.
    enableDetails Boolean
    Default to false. Set it to true can output more details about resource attributes.
    ids List<String>
    A list of Event Notify Policy IDs. The value is formulated as <uuid>:<workspace>.
    name String
    Filters results by fuzzy matching on the policy name.
    orderBy String
    The sorting field. Supported values include createTime, updateTime, and name.
    orderDesc String
    Specifies whether to sort in descending order. A value of true indicates descending order, and a value of false indicates ascending order.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    workspace string
    The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example: default-cms-xxxx-cn-hangzhou.
    enableDetails boolean
    Default to false. Set it to true can output more details about resource attributes.
    ids string[]
    A list of Event Notify Policy IDs. The value is formulated as <uuid>:<workspace>.
    name string
    Filters results by fuzzy matching on the policy name.
    orderBy string
    The sorting field. Supported values include createTime, updateTime, and name.
    orderDesc string
    Specifies whether to sort in descending order. A value of true indicates descending order, and a value of false indicates ascending order.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    workspace str
    The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example: default-cms-xxxx-cn-hangzhou.
    enable_details bool
    Default to false. Set it to true can output more details about resource attributes.
    ids Sequence[str]
    A list of Event Notify Policy IDs. The value is formulated as <uuid>:<workspace>.
    name str
    Filters results by fuzzy matching on the policy name.
    order_by str
    The sorting field. Supported values include createTime, updateTime, and name.
    order_desc str
    Specifies whether to sort in descending order. A value of true indicates descending order, and a value of false indicates ascending order.
    output_file str
    File name where to save data source results (after running pulumi preview).
    workspace String
    The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example: default-cms-xxxx-cn-hangzhou.
    enableDetails Boolean
    Default to false. Set it to true can output more details about resource attributes.
    ids List<String>
    A list of Event Notify Policy IDs. The value is formulated as <uuid>:<workspace>.
    name String
    Filters results by fuzzy matching on the policy name.
    orderBy String
    The sorting field. Supported values include createTime, updateTime, and name.
    orderDesc String
    Specifies whether to sort in descending order. A value of true indicates descending order, and a value of false indicates ascending order.
    outputFile String
    File name where to save data source results (after running pulumi preview).

    getEventNotifyPolicies Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    A list of Event Notify Policy IDs.
    Policies List<Pulumi.AliCloud.Cms.Outputs.GetEventNotifyPoliciesPolicy>
    A list of Event Notify Policy Entries. Each element contains the following attributes:
    Workspace string
    The workspace ID, which is used to isolate notification policy resources for different business workspaces.
    EnableDetails bool
    Name string
    The name of the notification policy.
    OrderBy string
    OrderDesc string
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    A list of Event Notify Policy IDs.
    Policies []GetEventNotifyPoliciesPolicy
    A list of Event Notify Policy Entries. Each element contains the following attributes:
    Workspace string
    The workspace ID, which is used to isolate notification policy resources for different business workspaces.
    EnableDetails bool
    Name string
    The name of the notification policy.
    OrderBy string
    OrderDesc string
    OutputFile string
    id string
    The provider-assigned unique ID for this managed resource.
    ids list(string)
    A list of Event Notify Policy IDs.
    policies list(object)
    A list of Event Notify Policy Entries. Each element contains the following attributes:
    workspace string
    The workspace ID, which is used to isolate notification policy resources for different business workspaces.
    enable_details bool
    name string
    The name of the notification policy.
    order_by string
    order_desc string
    output_file string
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of Event Notify Policy IDs.
    policies List<GetEventNotifyPoliciesPolicy>
    A list of Event Notify Policy Entries. Each element contains the following attributes:
    workspace String
    The workspace ID, which is used to isolate notification policy resources for different business workspaces.
    enableDetails Boolean
    name String
    The name of the notification policy.
    orderBy String
    orderDesc String
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    A list of Event Notify Policy IDs.
    policies GetEventNotifyPoliciesPolicy[]
    A list of Event Notify Policy Entries. Each element contains the following attributes:
    workspace string
    The workspace ID, which is used to isolate notification policy resources for different business workspaces.
    enableDetails boolean
    name string
    The name of the notification policy.
    orderBy string
    orderDesc string
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    A list of Event Notify Policy IDs.
    policies Sequence[GetEventNotifyPoliciesPolicy]
    A list of Event Notify Policy Entries. Each element contains the following attributes:
    workspace str
    The workspace ID, which is used to isolate notification policy resources for different business workspaces.
    enable_details bool
    name str
    The name of the notification policy.
    order_by str
    order_desc str
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of Event Notify Policy IDs.
    policies List<Property Map>
    A list of Event Notify Policy Entries. Each element contains the following attributes:
    workspace String
    The workspace ID, which is used to isolate notification policy resources for different business workspaces.
    enableDetails Boolean
    name String
    The name of the notification policy.
    orderBy String
    orderDesc String
    outputFile String

    Supporting Types

    GetEventNotifyPoliciesPolicy

    CreateTime string
    The creation time.
    Description string
    The description.
    Enabled bool
    Indicates whether the policy is enabled.
    Id string
    The ID of the resource supplied above.
    Name string
    Filters results by fuzzy matching on the policy name.
    NotifyStrategies List<Pulumi.AliCloud.Cms.Inputs.GetEventNotifyPoliciesPolicyNotifyStrategy>
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates.
    ResponsePlans List<Pulumi.AliCloud.Cms.Inputs.GetEventNotifyPoliciesPolicyResponsePlan>
    NOTE: This field is only available when enableDetails is true. Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration.
    Subscriptions List<Pulumi.AliCloud.Cms.Inputs.GetEventNotifyPoliciesPolicySubscription>
    NOTE: This field is only available when enableDetails is true. Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription.
    UpdateTime string
    The update time.
    UserId string
    The user ID.
    Uuid string
    The unique identifier of the notification policy, which is returned by the creation API.
    Version int
    Private parameter for update operation.
    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.
    Enabled bool
    Indicates whether the policy is enabled.
    Id string
    The ID of the resource supplied above.
    Name string
    Filters results by fuzzy matching on the policy name.
    NotifyStrategies []GetEventNotifyPoliciesPolicyNotifyStrategy
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates.
    ResponsePlans []GetEventNotifyPoliciesPolicyResponsePlan
    NOTE: This field is only available when enableDetails is true. Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration.
    Subscriptions []GetEventNotifyPoliciesPolicySubscription
    NOTE: This field is only available when enableDetails is true. Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription.
    UpdateTime string
    The update time.
    UserId string
    The user ID.
    Uuid string
    The unique identifier of the notification policy, which is returned by the creation API.
    Version int
    Private parameter for update operation.
    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.
    enabled bool
    Indicates whether the policy is enabled.
    id string
    The ID of the resource supplied above.
    name string
    Filters results by fuzzy matching on the policy name.
    notify_strategies list(object)
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates.
    response_plans list(object)
    NOTE: This field is only available when enableDetails is true. Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration.
    subscriptions list(object)
    NOTE: This field is only available when enableDetails is true. Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription.
    update_time string
    The update time.
    user_id string
    The user ID.
    uuid string
    The unique identifier of the notification policy, which is returned by the creation API.
    version number
    Private parameter for update operation.
    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.
    enabled Boolean
    Indicates whether the policy is enabled.
    id String
    The ID of the resource supplied above.
    name String
    Filters results by fuzzy matching on the policy name.
    notifyStrategies List<GetEventNotifyPoliciesPolicyNotifyStrategy>
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates.
    responsePlans List<GetEventNotifyPoliciesPolicyResponsePlan>
    NOTE: This field is only available when enableDetails is true. Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration.
    subscriptions List<GetEventNotifyPoliciesPolicySubscription>
    NOTE: This field is only available when enableDetails is true. Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription.
    updateTime String
    The update time.
    userId String
    The user ID.
    uuid String
    The unique identifier of the notification policy, which is returned by the creation API.
    version Integer
    Private parameter for update operation.
    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.
    enabled boolean
    Indicates whether the policy is enabled.
    id string
    The ID of the resource supplied above.
    name string
    Filters results by fuzzy matching on the policy name.
    notifyStrategies GetEventNotifyPoliciesPolicyNotifyStrategy[]
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates.
    responsePlans GetEventNotifyPoliciesPolicyResponsePlan[]
    NOTE: This field is only available when enableDetails is true. Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration.
    subscriptions GetEventNotifyPoliciesPolicySubscription[]
    NOTE: This field is only available when enableDetails is true. Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription.
    updateTime string
    The update time.
    userId string
    The user ID.
    uuid string
    The unique identifier of the notification policy, which is returned by the creation API.
    version number
    Private parameter for update operation.
    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.
    enabled bool
    Indicates whether the policy is enabled.
    id str
    The ID of the resource supplied above.
    name str
    Filters results by fuzzy matching on the policy name.
    notify_strategies Sequence[GetEventNotifyPoliciesPolicyNotifyStrategy]
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates.
    response_plans Sequence[GetEventNotifyPoliciesPolicyResponsePlan]
    NOTE: This field is only available when enableDetails is true. Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration.
    subscriptions Sequence[GetEventNotifyPoliciesPolicySubscription]
    NOTE: This field is only available when enableDetails is true. Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription.
    update_time str
    The update time.
    user_id str
    The user ID.
    uuid str
    The unique identifier of the notification policy, which is returned by the creation API.
    version int
    Private parameter for update operation.
    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.
    enabled Boolean
    Indicates whether the policy is enabled.
    id String
    The ID of the resource supplied above.
    name String
    Filters results by fuzzy matching on the policy name.
    notifyStrategies List<Property Map>
    The notification strategy sub-entity, which includes grouping and merging settings, notification routing, channels, and custom templates.
    responsePlans List<Property Map>
    NOTE: This field is only available when enableDetails is true. Response plan sub-entities: escalation, repeated notification, automatic recovery, and action integration.
    subscriptions List<Property Map>
    NOTE: This field is only available when enableDetails is true. Subscription sub-entities: event filtering, cross-workspace routing, and the switch for legacy product event subscription.
    updateTime String
    The update time.
    userId String
    The user ID.
    uuid String
    The unique identifier of the notification policy, which is returned by the creation API.
    version Number
    Private parameter for update operation.
    workspace String
    The workspace ID, which is used to isolate notification policy resources for different business workspaces. Example: default-cms-xxxx-cn-hangzhou.

    GetEventNotifyPoliciesPolicyNotifyStrategy

    CustomTemplateEntries List<Pulumi.AliCloud.Cms.Inputs.GetEventNotifyPoliciesPolicyNotifyStrategyCustomTemplateEntry>
    The list of custom notification templates.
    Description string
    The description.
    GroupingSettings List<Pulumi.AliCloud.Cms.Inputs.GetEventNotifyPoliciesPolicyNotifyStrategyGroupingSetting>
    The grouping and merging settings.
    IgnoreRestoredNotification bool
    Indicates whether to ignore notifications for recovered events. true means no recovery notification is sent.
    Routes List<Pulumi.AliCloud.Cms.Inputs.GetEventNotifyPoliciesPolicyNotifyStrategyRoute>
    The notification channel routing settings.
    CustomTemplateEntries []GetEventNotifyPoliciesPolicyNotifyStrategyCustomTemplateEntry
    The list of custom notification templates.
    Description string
    The description.
    GroupingSettings []GetEventNotifyPoliciesPolicyNotifyStrategyGroupingSetting
    The grouping and merging settings.
    IgnoreRestoredNotification bool
    Indicates whether to ignore notifications for recovered events. true means no recovery notification is sent.
    Routes []GetEventNotifyPoliciesPolicyNotifyStrategyRoute
    The notification channel routing settings.
    custom_template_entries list(object)
    The list of custom notification templates.
    description string
    The description.
    grouping_settings list(object)
    The grouping and merging settings.
    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.
    customTemplateEntries List<GetEventNotifyPoliciesPolicyNotifyStrategyCustomTemplateEntry>
    The list of custom notification templates.
    description String
    The description.
    groupingSettings List<GetEventNotifyPoliciesPolicyNotifyStrategyGroupingSetting>
    The grouping and merging settings.
    ignoreRestoredNotification Boolean
    Indicates whether to ignore notifications for recovered events. true means no recovery notification is sent.
    routes List<GetEventNotifyPoliciesPolicyNotifyStrategyRoute>
    The notification channel routing settings.
    customTemplateEntries GetEventNotifyPoliciesPolicyNotifyStrategyCustomTemplateEntry[]
    The list of custom notification templates.
    description string
    The description.
    groupingSettings GetEventNotifyPoliciesPolicyNotifyStrategyGroupingSetting[]
    The grouping and merging settings.
    ignoreRestoredNotification boolean
    Indicates whether to ignore notifications for recovered events. true means no recovery notification is sent.
    routes GetEventNotifyPoliciesPolicyNotifyStrategyRoute[]
    The notification channel routing settings.
    custom_template_entries Sequence[GetEventNotifyPoliciesPolicyNotifyStrategyCustomTemplateEntry]
    The list of custom notification templates.
    description str
    The description.
    grouping_settings Sequence[GetEventNotifyPoliciesPolicyNotifyStrategyGroupingSetting]
    The grouping and merging settings.
    ignore_restored_notification bool
    Indicates whether to ignore notifications for recovered events. true means no recovery notification is sent.
    routes Sequence[GetEventNotifyPoliciesPolicyNotifyStrategyRoute]
    The notification channel routing settings.
    customTemplateEntries List<Property Map>
    The list of custom notification templates.
    description String
    The description.
    groupingSettings List<Property Map>
    The grouping and merging settings.
    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.

    GetEventNotifyPoliciesPolicyNotifyStrategyCustomTemplateEntry

    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.

    GetEventNotifyPoliciesPolicyNotifyStrategyGroupingSetting

    GroupingKeys List<string>
    The event fields used to group and merge notifications. Events sharing the same values are merged into a single notification.
    PeriodMin int
    The check period in minutes. This parameter does not take effect on this API.
    SilenceSec int
    The silence duration in seconds. This parameter does not take effect on this API.
    Times int
    The number of triggers. This parameter does not take effect on this API.
    GroupingKeys []string
    The event fields used to group and merge notifications. Events sharing the same values are merged into a single notification.
    PeriodMin int
    The check period in minutes. This parameter does not take effect on this API.
    SilenceSec int
    The silence duration in seconds. This parameter does not take effect on this API.
    Times int
    The number of triggers. This parameter does not take effect on this API.
    grouping_keys list(string)
    The event fields used to group and merge notifications. Events sharing the same values are merged into a single notification.
    period_min number
    The check period in minutes. This parameter does not take effect on this API.
    silence_sec number
    The silence duration in seconds. This parameter does not take effect on this API.
    times number
    The number of triggers. This parameter does not take effect on this API.
    groupingKeys List<String>
    The event fields used to group and merge notifications. Events sharing the same values are merged into a single notification.
    periodMin Integer
    The check period in minutes. This parameter does not take effect on this API.
    silenceSec Integer
    The silence duration in seconds. This parameter does not take effect on this API.
    times Integer
    The number of triggers. This parameter does not take effect on this API.
    groupingKeys string[]
    The event fields used to group and merge notifications. Events sharing the same values are merged into a single notification.
    periodMin number
    The check period in minutes. This parameter does not take effect on this API.
    silenceSec number
    The silence duration in seconds. This parameter does not take effect on this API.
    times number
    The number of triggers. This parameter does not take effect on this API.
    grouping_keys Sequence[str]
    The event fields used to group and merge notifications. Events sharing the same values are merged into a single notification.
    period_min int
    The check period in minutes. This parameter does not take effect on this API.
    silence_sec int
    The silence duration in seconds. This parameter does not take effect on this API.
    times int
    The number of triggers. This parameter does not take effect on this API.
    groupingKeys List<String>
    The event fields used to group and merge notifications. Events sharing the same values are merged into a single notification.
    periodMin Number
    The check period in minutes. This parameter does not take effect on this API.
    silenceSec Number
    The silence duration in seconds. This parameter does not take effect on this API.
    times Number
    The number of triggers. This parameter does not take effect on this API.

    GetEventNotifyPoliciesPolicyNotifyStrategyRoute

    Channels []GetEventNotifyPoliciesPolicyNotifyStrategyRouteChannel
    The notification channels.
    DigitalEmployeeName string
    The name of the digital employee.
    EffectTimeRanges []GetEventNotifyPoliciesPolicyNotifyStrategyRouteEffectTimeRange
    The effective time range.
    EnableRca bool
    Specifies whether to enable Root Cause Analysis (RCA).
    FilterSettings []GetEventNotifyPoliciesPolicyNotifyStrategyRouteFilterSetting
    Event content filtering.
    channels list(object)
    The notification channels.
    digital_employee_name string
    The name of the digital employee.
    effect_time_ranges list(object)
    The effective time range.
    enable_rca bool
    Specifies whether to enable Root Cause Analysis (RCA).
    filter_settings list(object)
    Event content filtering.
    channels List<GetEventNotifyPoliciesPolicyNotifyStrategyRouteChannel>
    The notification channels.
    digitalEmployeeName String
    The name of the digital employee.
    effectTimeRanges List<GetEventNotifyPoliciesPolicyNotifyStrategyRouteEffectTimeRange>
    The effective time range.
    enableRca Boolean
    Specifies whether to enable Root Cause Analysis (RCA).
    filterSettings List<GetEventNotifyPoliciesPolicyNotifyStrategyRouteFilterSetting>
    Event content filtering.
    channels GetEventNotifyPoliciesPolicyNotifyStrategyRouteChannel[]
    The notification channels.
    digitalEmployeeName string
    The name of the digital employee.
    effectTimeRanges GetEventNotifyPoliciesPolicyNotifyStrategyRouteEffectTimeRange[]
    The effective time range.
    enableRca boolean
    Specifies whether to enable Root Cause Analysis (RCA).
    filterSettings GetEventNotifyPoliciesPolicyNotifyStrategyRouteFilterSetting[]
    Event content filtering.
    channels List<Property Map>
    The notification channels.
    digitalEmployeeName String
    The name of the digital employee.
    effectTimeRanges List<Property Map>
    The effective time range.
    enableRca Boolean
    Specifies whether to enable Root Cause Analysis (RCA).
    filterSettings List<Property Map>
    Event content filtering.

    GetEventNotifyPoliciesPolicyNotifyStrategyRouteChannel

    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. Applies only when channelType is CONTACT, GROUP or DUTY. Valid values: EMAIL, SMS, VOICE, DING, WEIXIN, FEISHU, WEBHOOK.
    Receivers List<string>
    The list of recipients for the channel.
    ChannelType string
    The channel type. Valid values: DING, WEIXIN, FEISHU, SLACK, TEAMS, CONTACT, GROUP, DUTY, DING_COOL_APP.
    EnabledSubChannels []string
    The enabled notification methods. Applies only when channelType is CONTACT, GROUP or DUTY. Valid values: EMAIL, SMS, VOICE, DING, WEIXIN, FEISHU, WEBHOOK.
    Receivers []string
    The list of recipients for the channel.
    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. Applies only when channelType is CONTACT, GROUP or DUTY. Valid values: EMAIL, SMS, VOICE, DING, WEIXIN, FEISHU, WEBHOOK.
    receivers list(string)
    The list of recipients for the channel.
    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. Applies only when channelType is CONTACT, GROUP or DUTY. Valid values: EMAIL, SMS, VOICE, DING, WEIXIN, FEISHU, WEBHOOK.
    receivers List<String>
    The list of recipients for the channel.
    channelType string
    The channel type. Valid values: DING, WEIXIN, FEISHU, SLACK, TEAMS, CONTACT, GROUP, DUTY, DING_COOL_APP.
    enabledSubChannels string[]
    The enabled notification methods. Applies only when channelType is CONTACT, GROUP or DUTY. Valid values: EMAIL, SMS, VOICE, DING, WEIXIN, FEISHU, WEBHOOK.
    receivers string[]
    The list of recipients for the channel.
    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. Applies only when channelType is CONTACT, GROUP or DUTY. Valid values: EMAIL, SMS, VOICE, DING, WEIXIN, FEISHU, WEBHOOK.
    receivers Sequence[str]
    The list of recipients for the channel.
    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. Applies only when channelType is CONTACT, GROUP or DUTY. Valid values: EMAIL, SMS, VOICE, DING, WEIXIN, FEISHU, WEBHOOK.
    receivers List<String>
    The list of recipients for the channel.

    GetEventNotifyPoliciesPolicyNotifyStrategyRouteEffectTimeRange

    DayInWeeks List<int>
    The effective days of the week.
    EndTimeInMinute int
    The end time in minutes.
    StartTimeInMinute int
    The start time in minutes.
    TimeZone string
    The time zone, such as Asia/Shanghai.
    DayInWeeks []int
    The effective days of the week.
    EndTimeInMinute int
    The end time in minutes.
    StartTimeInMinute int
    The start time in minutes.
    TimeZone string
    The time zone, such as Asia/Shanghai.
    day_in_weeks list(number)
    The effective days of the week.
    end_time_in_minute number
    The end time in minutes.
    start_time_in_minute number
    The start time in minutes.
    time_zone string
    The time zone, such as Asia/Shanghai.
    dayInWeeks List<Integer>
    The effective days of the week.
    endTimeInMinute Integer
    The end time in minutes.
    startTimeInMinute Integer
    The start time in minutes.
    timeZone String
    The time zone, such as Asia/Shanghai.
    dayInWeeks number[]
    The effective days of the week.
    endTimeInMinute number
    The end time in minutes.
    startTimeInMinute number
    The start time in minutes.
    timeZone string
    The time zone, such as Asia/Shanghai.
    day_in_weeks Sequence[int]
    The effective days of the week.
    end_time_in_minute int
    The end time in minutes.
    start_time_in_minute int
    The start time in minutes.
    time_zone str
    The time zone, such as Asia/Shanghai.
    dayInWeeks List<Number>
    The effective days of the week.
    endTimeInMinute Number
    The end time in minutes.
    startTimeInMinute Number
    The start time in minutes.
    timeZone String
    The time zone, such as Asia/Shanghai.

    GetEventNotifyPoliciesPolicyNotifyStrategyRouteFilterSetting

    Conditions []GetEventNotifyPoliciesPolicyNotifyStrategyRouteFilterSettingCondition
    The filter conditions.
    Expression string
    The relational expression.
    Relation string
    The condition relation.
    conditions list(object)
    The filter conditions.
    expression string
    The relational expression.
    relation string
    The condition relation.
    conditions List<GetEventNotifyPoliciesPolicyNotifyStrategyRouteFilterSettingCondition>
    The filter conditions.
    expression String
    The relational expression.
    relation String
    The condition relation.
    conditions GetEventNotifyPoliciesPolicyNotifyStrategyRouteFilterSettingCondition[]
    The filter conditions.
    expression string
    The relational expression.
    relation string
    The condition relation.
    conditions Sequence[GetEventNotifyPoliciesPolicyNotifyStrategyRouteFilterSettingCondition]
    The filter conditions.
    expression str
    The relational expression.
    relation str
    The condition relation.
    conditions List<Property Map>
    The filter conditions.
    expression String
    The relational expression.
    relation String
    The condition relation.

    GetEventNotifyPoliciesPolicyNotifyStrategyRouteFilterSettingCondition

    Field string
    The filter field.
    Op string
    The filter operator.
    Value string
    The filter value.
    Field string
    The filter field.
    Op string
    The filter operator.
    Value string
    The filter value.
    field string
    The filter field.
    op string
    The filter operator.
    value string
    The filter value.
    field String
    The filter field.
    op String
    The filter operator.
    value String
    The filter value.
    field string
    The filter field.
    op string
    The filter operator.
    value string
    The filter value.
    field str
    The filter field.
    op str
    The filter operator.
    value str
    The filter value.
    field String
    The filter field.
    op String
    The filter operator.
    value String
    The filter value.

    GetEventNotifyPoliciesPolicyResponsePlan

    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.
    PushingSettings List<Pulumi.AliCloud.Cms.Inputs.GetEventNotifyPoliciesPolicyResponsePlanPushingSetting>
    Action integration push settings.
    RepeatNotifySettings List<Pulumi.AliCloud.Cms.Inputs.GetEventNotifyPoliciesPolicyResponsePlanRepeatNotifySetting>
    Repeated notification configuration.
    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.
    PushingSettings []GetEventNotifyPoliciesPolicyResponsePlanPushingSetting
    Action integration push settings.
    RepeatNotifySettings []GetEventNotifyPoliciesPolicyResponsePlanRepeatNotifySetting
    Repeated notification configuration.
    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_settings list(object)
    Action integration push settings.
    repeat_notify_settings list(object)
    Repeated notification configuration.
    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.
    pushingSettings List<GetEventNotifyPoliciesPolicyResponsePlanPushingSetting>
    Action integration push settings.
    repeatNotifySettings List<GetEventNotifyPoliciesPolicyResponsePlanRepeatNotifySetting>
    Repeated notification configuration.
    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.
    pushingSettings GetEventNotifyPoliciesPolicyResponsePlanPushingSetting[]
    Action integration push settings.
    repeatNotifySettings GetEventNotifyPoliciesPolicyResponsePlanRepeatNotifySetting[]
    Repeated notification configuration.
    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_settings Sequence[GetEventNotifyPoliciesPolicyResponsePlanPushingSetting]
    Action integration push settings.
    repeat_notify_settings Sequence[GetEventNotifyPoliciesPolicyResponsePlanRepeatNotifySetting]
    Repeated notification configuration.
    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.
    pushingSettings List<Property Map>
    Action integration push settings.
    repeatNotifySettings List<Property Map>
    Repeated notification configuration.

    GetEventNotifyPoliciesPolicyResponsePlanPushingSetting

    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.

    GetEventNotifyPoliciesPolicyResponsePlanRepeatNotifySetting

    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.

    GetEventNotifyPoliciesPolicySubscription

    FilterSettings List<Pulumi.AliCloud.Cms.Inputs.GetEventNotifyPoliciesPolicySubscriptionFilterSetting>
    Event content filtering.
    SubscribeLegacyEvent bool
    Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.
    WorkspaceFilterSettings List<Pulumi.AliCloud.Cms.Inputs.GetEventNotifyPoliciesPolicySubscriptionWorkspaceFilterSetting>
    Cross-workspace event routing (global subscription).
    FilterSettings []GetEventNotifyPoliciesPolicySubscriptionFilterSetting
    Event content filtering.
    SubscribeLegacyEvent bool
    Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.
    WorkspaceFilterSettings []GetEventNotifyPoliciesPolicySubscriptionWorkspaceFilterSetting
    Cross-workspace event routing (global subscription).
    filter_settings list(object)
    Event content filtering.
    subscribe_legacy_event bool
    Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.
    workspace_filter_settings list(object)
    Cross-workspace event routing (global subscription).
    filterSettings List<GetEventNotifyPoliciesPolicySubscriptionFilterSetting>
    Event content filtering.
    subscribeLegacyEvent Boolean
    Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.
    workspaceFilterSettings List<GetEventNotifyPoliciesPolicySubscriptionWorkspaceFilterSetting>
    Cross-workspace event routing (global subscription).
    filterSettings GetEventNotifyPoliciesPolicySubscriptionFilterSetting[]
    Event content filtering.
    subscribeLegacyEvent boolean
    Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.
    workspaceFilterSettings GetEventNotifyPoliciesPolicySubscriptionWorkspaceFilterSetting[]
    Cross-workspace event routing (global subscription).
    filter_settings Sequence[GetEventNotifyPoliciesPolicySubscriptionFilterSetting]
    Event content filtering.
    subscribe_legacy_event bool
    Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.
    workspace_filter_settings Sequence[GetEventNotifyPoliciesPolicySubscriptionWorkspaceFilterSetting]
    Cross-workspace event routing (global subscription).
    filterSettings List<Property Map>
    Event content filtering.
    subscribeLegacyEvent Boolean
    Specifies whether to subscribe to legacy product events (events with an empty workspace, such as CMS 1.
    workspaceFilterSettings List<Property Map>
    Cross-workspace event routing (global subscription).

    GetEventNotifyPoliciesPolicySubscriptionFilterSetting

    Conditions List<Pulumi.AliCloud.Cms.Inputs.GetEventNotifyPoliciesPolicySubscriptionFilterSettingCondition>
    The filter conditions.
    Expression string
    The relational expression.
    Relation string
    The condition relation.
    Conditions []GetEventNotifyPoliciesPolicySubscriptionFilterSettingCondition
    The filter conditions.
    Expression string
    The relational expression.
    Relation string
    The condition relation.
    conditions list(object)
    The filter conditions.
    expression string
    The relational expression.
    relation string
    The condition relation.
    conditions List<GetEventNotifyPoliciesPolicySubscriptionFilterSettingCondition>
    The filter conditions.
    expression String
    The relational expression.
    relation String
    The condition relation.
    conditions GetEventNotifyPoliciesPolicySubscriptionFilterSettingCondition[]
    The filter conditions.
    expression string
    The relational expression.
    relation string
    The condition relation.
    conditions Sequence[GetEventNotifyPoliciesPolicySubscriptionFilterSettingCondition]
    The filter conditions.
    expression str
    The relational expression.
    relation str
    The condition relation.
    conditions List<Property Map>
    The filter conditions.
    expression String
    The relational expression.
    relation String
    The condition relation.

    GetEventNotifyPoliciesPolicySubscriptionFilterSettingCondition

    Field string
    The filter field.
    Op string
    The filter operator.
    Value string
    The filter value.
    Field string
    The filter field.
    Op string
    The filter operator.
    Value string
    The filter value.
    field string
    The filter field.
    op string
    The filter operator.
    value string
    The filter value.
    field String
    The filter field.
    op String
    The filter operator.
    value String
    The filter value.
    field string
    The filter field.
    op string
    The filter operator.
    value string
    The filter value.
    field str
    The filter field.
    op str
    The filter operator.
    value str
    The filter value.
    field String
    The filter field.
    op String
    The filter operator.
    value String
    The filter value.

    GetEventNotifyPoliciesPolicySubscriptionWorkspaceFilterSetting

    tag_selectors list(object)
    The tag selector.
    workspace_uuids list(string)
    The list of workspace UUIDs.
    tagSelectors List<Property Map>
    The tag selector.
    workspaceUuids List<String>
    The list of workspace UUIDs.

    GetEventNotifyPoliciesPolicySubscriptionWorkspaceFilterSettingTagSelector

    Conditions []GetEventNotifyPoliciesPolicySubscriptionWorkspaceFilterSettingTagSelectorCondition
    The filter conditions.
    Expression string
    The relational expression.
    Relation string
    The condition relation.
    conditions list(object)
    The filter conditions.
    expression string
    The relational expression.
    relation string
    The condition relation.
    conditions List<GetEventNotifyPoliciesPolicySubscriptionWorkspaceFilterSettingTagSelectorCondition>
    The filter conditions.
    expression String
    The relational expression.
    relation String
    The condition relation.
    conditions GetEventNotifyPoliciesPolicySubscriptionWorkspaceFilterSettingTagSelectorCondition[]
    The filter conditions.
    expression string
    The relational expression.
    relation string
    The condition relation.
    conditions Sequence[GetEventNotifyPoliciesPolicySubscriptionWorkspaceFilterSettingTagSelectorCondition]
    The filter conditions.
    expression str
    The relational expression.
    relation str
    The condition relation.
    conditions List<Property Map>
    The filter conditions.
    expression String
    The relational expression.
    relation String
    The condition relation.

    GetEventNotifyPoliciesPolicySubscriptionWorkspaceFilterSettingTagSelectorCondition

    Field string
    The filter field.
    Op string
    The filter operator.
    Value string
    The filter value.
    Field string
    The filter field.
    Op string
    The filter operator.
    Value string
    The filter value.
    field string
    The filter field.
    op string
    The filter operator.
    value string
    The filter value.
    field String
    The filter field.
    op String
    The filter operator.
    value String
    The filter value.
    field string
    The filter field.
    op string
    The filter operator.
    value string
    The filter value.
    field str
    The filter field.
    op str
    The filter operator.
    value str
    The filter value.
    field String
    The filter field.
    op String
    The filter operator.
    value String
    The filter value.

    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