published on Thursday, Jul 9, 2026 by Volcengine
published on Thursday, Jul 9, 2026 by Volcengine
Event rule details
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const cloudMonitorEventRuleDemo = new volcenginecc.cloudmonitor.EventRule("CloudMonitorEventRuleDemo", {
ruleName: "ccapi-test-1001",
description: "autoscaling scale in error",
eventBusName: "default",
eventSource: "autoscaling",
eventTypes: ["autoscaling:ScalingGroup:ScaleInError"],
enableState: "enable",
level: "critical",
notificationId: "2049745192xxxxxx",
filterPatternInput: JSON.stringify({
Data: {
autoscaling: [
"1",
"3",
],
ecs: ["2"],
},
}),
});
import pulumi
import json
import pulumi_volcenginecc as volcenginecc
cloud_monitor_event_rule_demo = volcenginecc.cloudmonitor.EventRule("CloudMonitorEventRuleDemo",
rule_name="ccapi-test-1001",
description="autoscaling scale in error",
event_bus_name="default",
event_source="autoscaling",
event_types=["autoscaling:ScalingGroup:ScaleInError"],
enable_state="enable",
level="critical",
notification_id="2049745192xxxxxx",
filter_pattern_input=json.dumps({
"Data": {
"autoscaling": [
"1",
"3",
],
"ecs": ["2"],
},
}))
package main
import (
"encoding/json"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/cloudmonitor"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
tmpJSON0, err := json.Marshal(map[string]interface{}{
"Data": map[string]interface{}{
"autoscaling": []string{
"1",
"3",
},
"ecs": []string{
"2",
},
},
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
_, err = cloudmonitor.NewEventRule(ctx, "CloudMonitorEventRuleDemo", &cloudmonitor.EventRuleArgs{
RuleName: pulumi.String("ccapi-test-1001"),
Description: pulumi.String("autoscaling scale in error"),
EventBusName: pulumi.String("default"),
EventSource: pulumi.String("autoscaling"),
EventTypes: pulumi.StringArray{
pulumi.String("autoscaling:ScalingGroup:ScaleInError"),
},
EnableState: pulumi.String("enable"),
Level: pulumi.String("critical"),
NotificationId: pulumi.String("2049745192xxxxxx"),
FilterPatternInput: pulumi.String(json0),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var cloudMonitorEventRuleDemo = new Volcenginecc.Cloudmonitor.EventRule("CloudMonitorEventRuleDemo", new()
{
RuleName = "ccapi-test-1001",
Description = "autoscaling scale in error",
EventBusName = "default",
EventSource = "autoscaling",
EventTypes = new[]
{
"autoscaling:ScalingGroup:ScaleInError",
},
EnableState = "enable",
Level = "critical",
NotificationId = "2049745192xxxxxx",
FilterPatternInput = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["Data"] = new Dictionary<string, object?>
{
["autoscaling"] = new[]
{
"1",
"3",
},
["ecs"] = new[]
{
"2",
},
},
}),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.cloudmonitor.EventRule;
import com.volcengine.volcenginecc.cloudmonitor.EventRuleArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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) {
var cloudMonitorEventRuleDemo = new EventRule("cloudMonitorEventRuleDemo", EventRuleArgs.builder()
.ruleName("ccapi-test-1001")
.description("autoscaling scale in error")
.eventBusName("default")
.eventSource("autoscaling")
.eventTypes("autoscaling:ScalingGroup:ScaleInError")
.enableState("enable")
.level("critical")
.notificationId("2049745192xxxxxx")
.filterPatternInput(serializeJson(
jsonObject(
jsonProperty("Data", jsonObject(
jsonProperty("autoscaling", jsonArray(
"1",
"3"
)),
jsonProperty("ecs", jsonArray("2"))
))
)))
.build());
}
}
resources:
cloudMonitorEventRuleDemo:
type: volcenginecc:cloudmonitor:EventRule
name: CloudMonitorEventRuleDemo
properties:
ruleName: ccapi-test-1001
description: autoscaling scale in error
eventBusName: default
eventSource: autoscaling
eventTypes:
- autoscaling:ScalingGroup:ScaleInError
enableState: enable
level: critical
notificationId: 2049745192xxxxxx
filterPatternInput:
fn::toJSON:
Data:
autoscaling:
- '1'
- '3'
ecs:
- '2'
pulumi {
required_providers {
volcenginecc = {
source = "pulumi/volcenginecc"
}
}
}
resource "volcenginecc_cloudmonitor_eventrule" "CloudMonitorEventRuleDemo" {
rule_name = "ccapi-test-1001"
description = "autoscaling scale in error"
event_bus_name = "default"
event_source = "autoscaling"
event_types = ["autoscaling:ScalingGroup:ScaleInError"]
enable_state = "enable"
level = "critical"
notification_id = "2049745192xxxxxx"
filter_pattern_input = jsonencode({
"Data" = {
"autoscaling" = ["1", "3"]
"ecs" = ["2"]
}
})
}
Create EventRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventRule(name: string, args: EventRuleArgs, opts?: CustomResourceOptions);@overload
def EventRule(resource_name: str,
args: EventRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EventRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
event_bus_name: Optional[str] = None,
event_source: Optional[str] = None,
event_types: Optional[Sequence[str]] = None,
level: Optional[str] = None,
rule_name: Optional[str] = None,
description: Optional[str] = None,
enable_state: Optional[str] = None,
filter_pattern_input: Optional[str] = None,
notification_id: Optional[str] = None)func NewEventRule(ctx *Context, name string, args EventRuleArgs, opts ...ResourceOption) (*EventRule, error)public EventRule(string name, EventRuleArgs args, CustomResourceOptions? opts = null)
public EventRule(String name, EventRuleArgs args)
public EventRule(String name, EventRuleArgs args, CustomResourceOptions options)
type: volcenginecc:cloudmonitor:EventRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_cloudmonitor_eventrule" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args EventRuleArgs
- 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 EventRuleArgs
- 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 EventRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventRuleArgs
- 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 eventRuleResource = new Volcenginecc.Cloudmonitor.EventRule("eventRuleResource", new()
{
EventBusName = "string",
EventSource = "string",
EventTypes = new[]
{
"string",
},
Level = "string",
RuleName = "string",
Description = "string",
EnableState = "string",
FilterPatternInput = "string",
NotificationId = "string",
});
example, err := cloudmonitor.NewEventRule(ctx, "eventRuleResource", &cloudmonitor.EventRuleArgs{
EventBusName: pulumi.String("string"),
EventSource: pulumi.String("string"),
EventTypes: pulumi.StringArray{
pulumi.String("string"),
},
Level: pulumi.String("string"),
RuleName: pulumi.String("string"),
Description: pulumi.String("string"),
EnableState: pulumi.String("string"),
FilterPatternInput: pulumi.String("string"),
NotificationId: pulumi.String("string"),
})
resource "volcenginecc_cloudmonitor_eventrule" "eventRuleResource" {
event_bus_name = "string"
event_source = "string"
event_types = ["string"]
level = "string"
rule_name = "string"
description = "string"
enable_state = "string"
filter_pattern_input = "string"
notification_id = "string"
}
var eventRuleResource = new EventRule("eventRuleResource", EventRuleArgs.builder()
.eventBusName("string")
.eventSource("string")
.eventTypes("string")
.level("string")
.ruleName("string")
.description("string")
.enableState("string")
.filterPatternInput("string")
.notificationId("string")
.build());
event_rule_resource = volcenginecc.cloudmonitor.EventRule("eventRuleResource",
event_bus_name="string",
event_source="string",
event_types=["string"],
level="string",
rule_name="string",
description="string",
enable_state="string",
filter_pattern_input="string",
notification_id="string")
const eventRuleResource = new volcenginecc.cloudmonitor.EventRule("eventRuleResource", {
eventBusName: "string",
eventSource: "string",
eventTypes: ["string"],
level: "string",
ruleName: "string",
description: "string",
enableState: "string",
filterPatternInput: "string",
notificationId: "string",
});
type: volcenginecc:cloudmonitor:EventRule
properties:
description: string
enableState: string
eventBusName: string
eventSource: string
eventTypes:
- string
filterPatternInput: string
level: string
notificationId: string
ruleName: string
EventRule 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 EventRule resource accepts the following input properties:
- Event
Bus stringName - Event bus name. Currently, only 'default' can be entered
- Event
Source string - Event source
- Event
Types List<string> - Event type
- Level string
- Alert rule severity
- Rule
Name string - Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
- Description string
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- Enable
State string Rule status
enable: Rule enabled disable: Rule disabled
- Filter
Pattern stringInput - Filter mode, also known as event matching rule. Used for creation and modification. Format: {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
- Notification
Id string - Policy ID
- Event
Bus stringName - Event bus name. Currently, only 'default' can be entered
- Event
Source string - Event source
- Event
Types []string - Event type
- Level string
- Alert rule severity
- Rule
Name string - Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
- Description string
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- Enable
State string Rule status
enable: Rule enabled disable: Rule disabled
- Filter
Pattern stringInput - Filter mode, also known as event matching rule. Used for creation and modification. Format: {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
- Notification
Id string - Policy ID
- event_
bus_ stringname - Event bus name. Currently, only 'default' can be entered
- event_
source string - Event source
- event_
types list(string) - Event type
- level string
- Alert rule severity
- rule_
name string - Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
- description string
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- enable_
state string Rule status
enable: Rule enabled disable: Rule disabled
- filter_
pattern_ stringinput - Filter mode, also known as event matching rule. Used for creation and modification. Format: {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
- notification_
id string - Policy ID
- event
Bus StringName - Event bus name. Currently, only 'default' can be entered
- event
Source String - Event source
- event
Types List<String> - Event type
- level String
- Alert rule severity
- rule
Name String - Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
- description String
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- enable
State String Rule status
enable: Rule enabled disable: Rule disabled
- filter
Pattern StringInput - Filter mode, also known as event matching rule. Used for creation and modification. Format: {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
- notification
Id String - Policy ID
- event
Bus stringName - Event bus name. Currently, only 'default' can be entered
- event
Source string - Event source
- event
Types string[] - Event type
- level string
- Alert rule severity
- rule
Name string - Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
- description string
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- enable
State string Rule status
enable: Rule enabled disable: Rule disabled
- filter
Pattern stringInput - Filter mode, also known as event matching rule. Used for creation and modification. Format: {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
- notification
Id string - Policy ID
- event_
bus_ strname - Event bus name. Currently, only 'default' can be entered
- event_
source str - Event source
- event_
types Sequence[str] - Event type
- level str
- Alert rule severity
- rule_
name str - Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
- description str
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- enable_
state str Rule status
enable: Rule enabled disable: Rule disabled
- filter_
pattern_ strinput - Filter mode, also known as event matching rule. Used for creation and modification. Format: {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
- notification_
id str - Policy ID
- event
Bus StringName - Event bus name. Currently, only 'default' can be entered
- event
Source String - Event source
- event
Types List<String> - Event type
- level String
- Alert rule severity
- rule
Name String - Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
- description String
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- enable
State String Rule status
enable: Rule enabled disable: Rule disabled
- filter
Pattern StringInput - Filter mode, also known as event matching rule. Used for creation and modification. Format: {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
- notification
Id String - Policy ID
Outputs
All input properties are implicitly available as output properties. Additionally, the EventRule resource produces the following output properties:
- account_
id string - Main account ID
- created_
at number - Event rule creation time
- filter_
pattern string - Filter mode, also known as event matching rule. Read-only
- id string
- The provider-assigned unique ID for this managed resource.
- rule_
id string - Event rule ID
- updated_
at number - Event rule update time
- account_
id str - Main account ID
- created_
at int - Event rule creation time
- filter_
pattern str - Filter mode, also known as event matching rule. Read-only
- id str
- The provider-assigned unique ID for this managed resource.
- rule_
id str - Event rule ID
- updated_
at int - Event rule update time
Look up Existing EventRule Resource
Get an existing EventRule 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?: EventRuleState, opts?: CustomResourceOptions): EventRule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
created_at: Optional[int] = None,
description: Optional[str] = None,
enable_state: Optional[str] = None,
event_bus_name: Optional[str] = None,
event_source: Optional[str] = None,
event_types: Optional[Sequence[str]] = None,
filter_pattern: Optional[str] = None,
filter_pattern_input: Optional[str] = None,
level: Optional[str] = None,
notification_id: Optional[str] = None,
rule_id: Optional[str] = None,
rule_name: Optional[str] = None,
updated_at: Optional[int] = None) -> EventRulefunc GetEventRule(ctx *Context, name string, id IDInput, state *EventRuleState, opts ...ResourceOption) (*EventRule, error)public static EventRule Get(string name, Input<string> id, EventRuleState? state, CustomResourceOptions? opts = null)public static EventRule get(String name, Output<String> id, EventRuleState state, CustomResourceOptions options)resources: _: type: volcenginecc:cloudmonitor:EventRule get: id: ${id}import {
to = volcenginecc_cloudmonitor_eventrule.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.
- Account
Id string - Main account ID
- Created
At int - Event rule creation time
- Description string
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- Enable
State string Rule status
enable: Rule enabled disable: Rule disabled
- Event
Bus stringName - Event bus name. Currently, only 'default' can be entered
- Event
Source string - Event source
- Event
Types List<string> - Event type
- Filter
Pattern string - Filter mode, also known as event matching rule. Read-only
- Filter
Pattern stringInput - Filter mode, also known as event matching rule. Used for creation and modification. Format: {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
- Level string
- Alert rule severity
- Notification
Id string - Policy ID
- Rule
Id string - Event rule ID
- Rule
Name string - Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
- Updated
At int - Event rule update time
- Account
Id string - Main account ID
- Created
At int - Event rule creation time
- Description string
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- Enable
State string Rule status
enable: Rule enabled disable: Rule disabled
- Event
Bus stringName - Event bus name. Currently, only 'default' can be entered
- Event
Source string - Event source
- Event
Types []string - Event type
- Filter
Pattern string - Filter mode, also known as event matching rule. Read-only
- Filter
Pattern stringInput - Filter mode, also known as event matching rule. Used for creation and modification. Format: {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
- Level string
- Alert rule severity
- Notification
Id string - Policy ID
- Rule
Id string - Event rule ID
- Rule
Name string - Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
- Updated
At int - Event rule update time
- account_
id string - Main account ID
- created_
at number - Event rule creation time
- description string
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- enable_
state string Rule status
enable: Rule enabled disable: Rule disabled
- event_
bus_ stringname - Event bus name. Currently, only 'default' can be entered
- event_
source string - Event source
- event_
types list(string) - Event type
- filter_
pattern string - Filter mode, also known as event matching rule. Read-only
- filter_
pattern_ stringinput - Filter mode, also known as event matching rule. Used for creation and modification. Format: {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
- level string
- Alert rule severity
- notification_
id string - Policy ID
- rule_
id string - Event rule ID
- rule_
name string - Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
- updated_
at number - Event rule update time
- account
Id String - Main account ID
- created
At Integer - Event rule creation time
- description String
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- enable
State String Rule status
enable: Rule enabled disable: Rule disabled
- event
Bus StringName - Event bus name. Currently, only 'default' can be entered
- event
Source String - Event source
- event
Types List<String> - Event type
- filter
Pattern String - Filter mode, also known as event matching rule. Read-only
- filter
Pattern StringInput - Filter mode, also known as event matching rule. Used for creation and modification. Format: {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
- level String
- Alert rule severity
- notification
Id String - Policy ID
- rule
Id String - Event rule ID
- rule
Name String - Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
- updated
At Integer - Event rule update time
- account
Id string - Main account ID
- created
At number - Event rule creation time
- description string
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- enable
State string Rule status
enable: Rule enabled disable: Rule disabled
- event
Bus stringName - Event bus name. Currently, only 'default' can be entered
- event
Source string - Event source
- event
Types string[] - Event type
- filter
Pattern string - Filter mode, also known as event matching rule. Read-only
- filter
Pattern stringInput - Filter mode, also known as event matching rule. Used for creation and modification. Format: {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
- level string
- Alert rule severity
- notification
Id string - Policy ID
- rule
Id string - Event rule ID
- rule
Name string - Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
- updated
At number - Event rule update time
- account_
id str - Main account ID
- created_
at int - Event rule creation time
- description str
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- enable_
state str Rule status
enable: Rule enabled disable: Rule disabled
- event_
bus_ strname - Event bus name. Currently, only 'default' can be entered
- event_
source str - Event source
- event_
types Sequence[str] - Event type
- filter_
pattern str - Filter mode, also known as event matching rule. Read-only
- filter_
pattern_ strinput - Filter mode, also known as event matching rule. Used for creation and modification. Format: {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
- level str
- Alert rule severity
- notification_
id str - Policy ID
- rule_
id str - Event rule ID
- rule_
name str - Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
- updated_
at int - Event rule update time
- account
Id String - Main account ID
- created
At Number - Event rule creation time
- description String
- Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
- enable
State String Rule status
enable: Rule enabled disable: Rule disabled
- event
Bus StringName - Event bus name. Currently, only 'default' can be entered
- event
Source String - Event source
- event
Types List<String> - Event type
- filter
Pattern String - Filter mode, also known as event matching rule. Read-only
- filter
Pattern StringInput - Filter mode, also known as event matching rule. Used for creation and modification. Format: {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
- level String
- Alert rule severity
- notification
Id String - Policy ID
- rule
Id String - Event rule ID
- rule
Name String - Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
- updated
At Number - Event rule update time
Import
$ pulumi import volcenginecc:cloudmonitor/eventRule:EventRule example "rule_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Jul 9, 2026 by Volcengine