published on Thursday, May 7, 2026 by rootlyhq
published on Thursday, May 7, 2026 by rootlyhq
Note: If you are an advanced alert routing user, you should use the Alert Routes resource/data source instead of this one. If you don’t know whether you are an advanced alert routing user, please contact Rootly customer support.
Example Usage
resource "rootly_alert_routing_rule" "production_alerts" {
name = "Route production alerts"
}
Create AlertRoutingRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AlertRoutingRule(name: string, args: AlertRoutingRuleArgs, opts?: CustomResourceOptions);@overload
def AlertRoutingRule(resource_name: str,
args: AlertRoutingRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AlertRoutingRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
alerts_source_id: Optional[str] = None,
destination: Optional[AlertRoutingRuleDestinationArgs] = None,
condition_groups: Optional[Sequence[AlertRoutingRuleConditionGroupArgs]] = None,
condition_type: Optional[str] = None,
conditions: Optional[Sequence[AlertRoutingRuleConditionArgs]] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
position: Optional[int] = None)func NewAlertRoutingRule(ctx *Context, name string, args AlertRoutingRuleArgs, opts ...ResourceOption) (*AlertRoutingRule, error)public AlertRoutingRule(string name, AlertRoutingRuleArgs args, CustomResourceOptions? opts = null)
public AlertRoutingRule(String name, AlertRoutingRuleArgs args)
public AlertRoutingRule(String name, AlertRoutingRuleArgs args, CustomResourceOptions options)
type: rootly:AlertRoutingRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AlertRoutingRuleArgs
- 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 AlertRoutingRuleArgs
- 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 AlertRoutingRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlertRoutingRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlertRoutingRuleArgs
- 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 alertRoutingRuleResource = new Rootly.AlertRoutingRule("alertRoutingRuleResource", new()
{
AlertsSourceId = "string",
Destination = new Rootly.Inputs.AlertRoutingRuleDestinationArgs
{
TargetId = "string",
TargetType = "string",
},
ConditionGroups = new[]
{
new Rootly.Inputs.AlertRoutingRuleConditionGroupArgs
{
Conditions = new[]
{
new Rootly.Inputs.AlertRoutingRuleConditionGroupConditionArgs
{
ConditionableId = "string",
ConditionableType = "string",
CreatedAt = "string",
Id = "string",
PropertyFieldConditionType = "string",
PropertyFieldName = "string",
PropertyFieldType = "string",
PropertyFieldValue = "string",
PropertyFieldValues = new[]
{
"string",
},
UpdatedAt = "string",
},
},
CreatedAt = "string",
Id = "string",
Position = 0,
UpdatedAt = "string",
},
},
ConditionType = "string",
Conditions = new[]
{
new Rootly.Inputs.AlertRoutingRuleConditionArgs
{
PropertyFieldConditionType = "string",
PropertyFieldName = "string",
PropertyFieldType = "string",
PropertyFieldValue = "string",
PropertyFieldValues = new[]
{
"string",
},
},
},
Enabled = false,
Name = "string",
Position = 0,
});
example, err := rootly.NewAlertRoutingRule(ctx, "alertRoutingRuleResource", &rootly.AlertRoutingRuleArgs{
AlertsSourceId: pulumi.String("string"),
Destination: &rootly.AlertRoutingRuleDestinationArgs{
TargetId: pulumi.String("string"),
TargetType: pulumi.String("string"),
},
ConditionGroups: rootly.AlertRoutingRuleConditionGroupArray{
&rootly.AlertRoutingRuleConditionGroupArgs{
Conditions: rootly.AlertRoutingRuleConditionGroupConditionArray{
&rootly.AlertRoutingRuleConditionGroupConditionArgs{
ConditionableId: pulumi.String("string"),
ConditionableType: pulumi.String("string"),
CreatedAt: pulumi.String("string"),
Id: pulumi.String("string"),
PropertyFieldConditionType: pulumi.String("string"),
PropertyFieldName: pulumi.String("string"),
PropertyFieldType: pulumi.String("string"),
PropertyFieldValue: pulumi.String("string"),
PropertyFieldValues: pulumi.StringArray{
pulumi.String("string"),
},
UpdatedAt: pulumi.String("string"),
},
},
CreatedAt: pulumi.String("string"),
Id: pulumi.String("string"),
Position: pulumi.Int(0),
UpdatedAt: pulumi.String("string"),
},
},
ConditionType: pulumi.String("string"),
Conditions: rootly.AlertRoutingRuleConditionArray{
&rootly.AlertRoutingRuleConditionArgs{
PropertyFieldConditionType: pulumi.String("string"),
PropertyFieldName: pulumi.String("string"),
PropertyFieldType: pulumi.String("string"),
PropertyFieldValue: pulumi.String("string"),
PropertyFieldValues: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Enabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Position: pulumi.Int(0),
})
var alertRoutingRuleResource = new AlertRoutingRule("alertRoutingRuleResource", AlertRoutingRuleArgs.builder()
.alertsSourceId("string")
.destination(AlertRoutingRuleDestinationArgs.builder()
.targetId("string")
.targetType("string")
.build())
.conditionGroups(AlertRoutingRuleConditionGroupArgs.builder()
.conditions(AlertRoutingRuleConditionGroupConditionArgs.builder()
.conditionableId("string")
.conditionableType("string")
.createdAt("string")
.id("string")
.propertyFieldConditionType("string")
.propertyFieldName("string")
.propertyFieldType("string")
.propertyFieldValue("string")
.propertyFieldValues("string")
.updatedAt("string")
.build())
.createdAt("string")
.id("string")
.position(0)
.updatedAt("string")
.build())
.conditionType("string")
.conditions(AlertRoutingRuleConditionArgs.builder()
.propertyFieldConditionType("string")
.propertyFieldName("string")
.propertyFieldType("string")
.propertyFieldValue("string")
.propertyFieldValues("string")
.build())
.enabled(false)
.name("string")
.position(0)
.build());
alert_routing_rule_resource = rootly.AlertRoutingRule("alertRoutingRuleResource",
alerts_source_id="string",
destination={
"target_id": "string",
"target_type": "string",
},
condition_groups=[{
"conditions": [{
"conditionable_id": "string",
"conditionable_type": "string",
"created_at": "string",
"id": "string",
"property_field_condition_type": "string",
"property_field_name": "string",
"property_field_type": "string",
"property_field_value": "string",
"property_field_values": ["string"],
"updated_at": "string",
}],
"created_at": "string",
"id": "string",
"position": 0,
"updated_at": "string",
}],
condition_type="string",
conditions=[{
"property_field_condition_type": "string",
"property_field_name": "string",
"property_field_type": "string",
"property_field_value": "string",
"property_field_values": ["string"],
}],
enabled=False,
name="string",
position=0)
const alertRoutingRuleResource = new rootly.AlertRoutingRule("alertRoutingRuleResource", {
alertsSourceId: "string",
destination: {
targetId: "string",
targetType: "string",
},
conditionGroups: [{
conditions: [{
conditionableId: "string",
conditionableType: "string",
createdAt: "string",
id: "string",
propertyFieldConditionType: "string",
propertyFieldName: "string",
propertyFieldType: "string",
propertyFieldValue: "string",
propertyFieldValues: ["string"],
updatedAt: "string",
}],
createdAt: "string",
id: "string",
position: 0,
updatedAt: "string",
}],
conditionType: "string",
conditions: [{
propertyFieldConditionType: "string",
propertyFieldName: "string",
propertyFieldType: "string",
propertyFieldValue: "string",
propertyFieldValues: ["string"],
}],
enabled: false,
name: "string",
position: 0,
});
type: rootly:AlertRoutingRule
properties:
alertsSourceId: string
conditionGroups:
- conditions:
- conditionableId: string
conditionableType: string
createdAt: string
id: string
propertyFieldConditionType: string
propertyFieldName: string
propertyFieldType: string
propertyFieldValue: string
propertyFieldValues:
- string
updatedAt: string
createdAt: string
id: string
position: 0
updatedAt: string
conditionType: string
conditions:
- propertyFieldConditionType: string
propertyFieldName: string
propertyFieldType: string
propertyFieldValue: string
propertyFieldValues:
- string
destination:
targetId: string
targetType: string
enabled: false
name: string
position: 0
AlertRoutingRule 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 AlertRoutingRule resource accepts the following input properties:
- Alerts
Source stringId - The ID of the alerts source
- Destination
Alert
Routing Rule Destination - The destinations for the alert routing rule
- Condition
Groups List<AlertRouting Rule Condition Group> - The condition groups for the alert routing rule
- Condition
Type string - The type of condition for the alert routing rule. Value must be one of
all,any. - Conditions
List<Alert
Routing Rule Condition> - The conditions for the alert routing rule
- Enabled bool
- Name string
- The name of the alert routing rule
- Position int
- The position of the alert routing rule for ordering evaluation
- Alerts
Source stringId - The ID of the alerts source
- Destination
Alert
Routing Rule Destination Args - The destinations for the alert routing rule
- Condition
Groups []AlertRouting Rule Condition Group Args - The condition groups for the alert routing rule
- Condition
Type string - The type of condition for the alert routing rule. Value must be one of
all,any. - Conditions
[]Alert
Routing Rule Condition Args - The conditions for the alert routing rule
- Enabled bool
- Name string
- The name of the alert routing rule
- Position int
- The position of the alert routing rule for ordering evaluation
- alerts
Source StringId - The ID of the alerts source
- destination
Alert
Routing Rule Destination - The destinations for the alert routing rule
- condition
Groups List<AlertRouting Rule Condition Group> - The condition groups for the alert routing rule
- condition
Type String - The type of condition for the alert routing rule. Value must be one of
all,any. - conditions
List<Alert
Routing Rule Condition> - The conditions for the alert routing rule
- enabled Boolean
- name String
- The name of the alert routing rule
- position Integer
- The position of the alert routing rule for ordering evaluation
- alerts
Source stringId - The ID of the alerts source
- destination
Alert
Routing Rule Destination - The destinations for the alert routing rule
- condition
Groups AlertRouting Rule Condition Group[] - The condition groups for the alert routing rule
- condition
Type string - The type of condition for the alert routing rule. Value must be one of
all,any. - conditions
Alert
Routing Rule Condition[] - The conditions for the alert routing rule
- enabled boolean
- name string
- The name of the alert routing rule
- position number
- The position of the alert routing rule for ordering evaluation
- alerts_
source_ strid - The ID of the alerts source
- destination
Alert
Routing Rule Destination Args - The destinations for the alert routing rule
- condition_
groups Sequence[AlertRouting Rule Condition Group Args] - The condition groups for the alert routing rule
- condition_
type str - The type of condition for the alert routing rule. Value must be one of
all,any. - conditions
Sequence[Alert
Routing Rule Condition Args] - The conditions for the alert routing rule
- enabled bool
- name str
- The name of the alert routing rule
- position int
- The position of the alert routing rule for ordering evaluation
- alerts
Source StringId - The ID of the alerts source
- destination Property Map
- The destinations for the alert routing rule
- condition
Groups List<Property Map> - The condition groups for the alert routing rule
- condition
Type String - The type of condition for the alert routing rule. Value must be one of
all,any. - conditions List<Property Map>
- The conditions for the alert routing rule
- enabled Boolean
- name String
- The name of the alert routing rule
- position Number
- The position of the alert routing rule for ordering evaluation
Outputs
All input properties are implicitly available as output properties. Additionally, the AlertRoutingRule resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AlertRoutingRule Resource
Get an existing AlertRoutingRule 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?: AlertRoutingRuleState, opts?: CustomResourceOptions): AlertRoutingRule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alerts_source_id: Optional[str] = None,
condition_groups: Optional[Sequence[AlertRoutingRuleConditionGroupArgs]] = None,
condition_type: Optional[str] = None,
conditions: Optional[Sequence[AlertRoutingRuleConditionArgs]] = None,
destination: Optional[AlertRoutingRuleDestinationArgs] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
position: Optional[int] = None) -> AlertRoutingRulefunc GetAlertRoutingRule(ctx *Context, name string, id IDInput, state *AlertRoutingRuleState, opts ...ResourceOption) (*AlertRoutingRule, error)public static AlertRoutingRule Get(string name, Input<string> id, AlertRoutingRuleState? state, CustomResourceOptions? opts = null)public static AlertRoutingRule get(String name, Output<String> id, AlertRoutingRuleState state, CustomResourceOptions options)resources: _: type: rootly:AlertRoutingRule get: 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.
- Alerts
Source stringId - The ID of the alerts source
- Condition
Groups List<AlertRouting Rule Condition Group> - The condition groups for the alert routing rule
- Condition
Type string - The type of condition for the alert routing rule. Value must be one of
all,any. - Conditions
List<Alert
Routing Rule Condition> - The conditions for the alert routing rule
- Destination
Alert
Routing Rule Destination - The destinations for the alert routing rule
- Enabled bool
- Name string
- The name of the alert routing rule
- Position int
- The position of the alert routing rule for ordering evaluation
- Alerts
Source stringId - The ID of the alerts source
- Condition
Groups []AlertRouting Rule Condition Group Args - The condition groups for the alert routing rule
- Condition
Type string - The type of condition for the alert routing rule. Value must be one of
all,any. - Conditions
[]Alert
Routing Rule Condition Args - The conditions for the alert routing rule
- Destination
Alert
Routing Rule Destination Args - The destinations for the alert routing rule
- Enabled bool
- Name string
- The name of the alert routing rule
- Position int
- The position of the alert routing rule for ordering evaluation
- alerts
Source StringId - The ID of the alerts source
- condition
Groups List<AlertRouting Rule Condition Group> - The condition groups for the alert routing rule
- condition
Type String - The type of condition for the alert routing rule. Value must be one of
all,any. - conditions
List<Alert
Routing Rule Condition> - The conditions for the alert routing rule
- destination
Alert
Routing Rule Destination - The destinations for the alert routing rule
- enabled Boolean
- name String
- The name of the alert routing rule
- position Integer
- The position of the alert routing rule for ordering evaluation
- alerts
Source stringId - The ID of the alerts source
- condition
Groups AlertRouting Rule Condition Group[] - The condition groups for the alert routing rule
- condition
Type string - The type of condition for the alert routing rule. Value must be one of
all,any. - conditions
Alert
Routing Rule Condition[] - The conditions for the alert routing rule
- destination
Alert
Routing Rule Destination - The destinations for the alert routing rule
- enabled boolean
- name string
- The name of the alert routing rule
- position number
- The position of the alert routing rule for ordering evaluation
- alerts_
source_ strid - The ID of the alerts source
- condition_
groups Sequence[AlertRouting Rule Condition Group Args] - The condition groups for the alert routing rule
- condition_
type str - The type of condition for the alert routing rule. Value must be one of
all,any. - conditions
Sequence[Alert
Routing Rule Condition Args] - The conditions for the alert routing rule
- destination
Alert
Routing Rule Destination Args - The destinations for the alert routing rule
- enabled bool
- name str
- The name of the alert routing rule
- position int
- The position of the alert routing rule for ordering evaluation
- alerts
Source StringId - The ID of the alerts source
- condition
Groups List<Property Map> - The condition groups for the alert routing rule
- condition
Type String - The type of condition for the alert routing rule. Value must be one of
all,any. - conditions List<Property Map>
- The conditions for the alert routing rule
- destination Property Map
- The destinations for the alert routing rule
- enabled Boolean
- name String
- The name of the alert routing rule
- position Number
- The position of the alert routing rule for ordering evaluation
Supporting Types
AlertRoutingRuleCondition, AlertRoutingRuleConditionArgs
- Property
Field stringCondition Type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty. - Property
Field stringName - The name of the property field. If the property field type is selected as 'attribute', then the allowed property field names are 'summary' (for Title), 'description', 'alerturgency' and 'externalurl' (for Alert Source URL). If the property field type is selected as 'payload', then the property field name should be supplied in JSON Path syntax.
- Property
Field stringType - The type of the property field. Value must be one of
attribute,payload. - Property
Field stringValue - The value of the property field. Can be null if the property field condition type is 'isoneof' or 'isnotone_of'
- Property
Field List<string>Values - The values of the property field. Used if the property field condition type is 'isoneof' or 'isnotoneof' except for when property field name is 'alerturgency'
- Property
Field stringCondition Type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty. - Property
Field stringName - The name of the property field. If the property field type is selected as 'attribute', then the allowed property field names are 'summary' (for Title), 'description', 'alerturgency' and 'externalurl' (for Alert Source URL). If the property field type is selected as 'payload', then the property field name should be supplied in JSON Path syntax.
- Property
Field stringType - The type of the property field. Value must be one of
attribute,payload. - Property
Field stringValue - The value of the property field. Can be null if the property field condition type is 'isoneof' or 'isnotone_of'
- Property
Field []stringValues - The values of the property field. Used if the property field condition type is 'isoneof' or 'isnotoneof' except for when property field name is 'alerturgency'
- property
Field StringCondition Type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty. - property
Field StringName - The name of the property field. If the property field type is selected as 'attribute', then the allowed property field names are 'summary' (for Title), 'description', 'alerturgency' and 'externalurl' (for Alert Source URL). If the property field type is selected as 'payload', then the property field name should be supplied in JSON Path syntax.
- property
Field StringType - The type of the property field. Value must be one of
attribute,payload. - property
Field StringValue - The value of the property field. Can be null if the property field condition type is 'isoneof' or 'isnotone_of'
- property
Field List<String>Values - The values of the property field. Used if the property field condition type is 'isoneof' or 'isnotoneof' except for when property field name is 'alerturgency'
- property
Field stringCondition Type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty. - property
Field stringName - The name of the property field. If the property field type is selected as 'attribute', then the allowed property field names are 'summary' (for Title), 'description', 'alerturgency' and 'externalurl' (for Alert Source URL). If the property field type is selected as 'payload', then the property field name should be supplied in JSON Path syntax.
- property
Field stringType - The type of the property field. Value must be one of
attribute,payload. - property
Field stringValue - The value of the property field. Can be null if the property field condition type is 'isoneof' or 'isnotone_of'
- property
Field string[]Values - The values of the property field. Used if the property field condition type is 'isoneof' or 'isnotoneof' except for when property field name is 'alerturgency'
- property_
field_ strcondition_ type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty. - property_
field_ strname - The name of the property field. If the property field type is selected as 'attribute', then the allowed property field names are 'summary' (for Title), 'description', 'alerturgency' and 'externalurl' (for Alert Source URL). If the property field type is selected as 'payload', then the property field name should be supplied in JSON Path syntax.
- property_
field_ strtype - The type of the property field. Value must be one of
attribute,payload. - property_
field_ strvalue - The value of the property field. Can be null if the property field condition type is 'isoneof' or 'isnotone_of'
- property_
field_ Sequence[str]values - The values of the property field. Used if the property field condition type is 'isoneof' or 'isnotoneof' except for when property field name is 'alerturgency'
- property
Field StringCondition Type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty. - property
Field StringName - The name of the property field. If the property field type is selected as 'attribute', then the allowed property field names are 'summary' (for Title), 'description', 'alerturgency' and 'externalurl' (for Alert Source URL). If the property field type is selected as 'payload', then the property field name should be supplied in JSON Path syntax.
- property
Field StringType - The type of the property field. Value must be one of
attribute,payload. - property
Field StringValue - The value of the property field. Can be null if the property field condition type is 'isoneof' or 'isnotone_of'
- property
Field List<String>Values - The values of the property field. Used if the property field condition type is 'isoneof' or 'isnotoneof' except for when property field name is 'alerturgency'
AlertRoutingRuleConditionGroup, AlertRoutingRuleConditionGroupArgs
- Conditions
List<Alert
Routing Rule Condition Group Condition> - The conditions within this group
- Created
At string - Date of creation
- Id string
- Unique ID of the condition group
- Position int
- The position of the condition group for ordering
- Updated
At string - Date of last update
- Conditions
[]Alert
Routing Rule Condition Group Condition - The conditions within this group
- Created
At string - Date of creation
- Id string
- Unique ID of the condition group
- Position int
- The position of the condition group for ordering
- Updated
At string - Date of last update
- conditions
List<Alert
Routing Rule Condition Group Condition> - The conditions within this group
- created
At String - Date of creation
- id String
- Unique ID of the condition group
- position Integer
- The position of the condition group for ordering
- updated
At String - Date of last update
- conditions
Alert
Routing Rule Condition Group Condition[] - The conditions within this group
- created
At string - Date of creation
- id string
- Unique ID of the condition group
- position number
- The position of the condition group for ordering
- updated
At string - Date of last update
- conditions
Sequence[Alert
Routing Rule Condition Group Condition] - The conditions within this group
- created_
at str - Date of creation
- id str
- Unique ID of the condition group
- position int
- The position of the condition group for ordering
- updated_
at str - Date of last update
- conditions List<Property Map>
- The conditions within this group
- created
At String - Date of creation
- id String
- Unique ID of the condition group
- position Number
- The position of the condition group for ordering
- updated
At String - Date of last update
AlertRoutingRuleConditionGroupCondition, AlertRoutingRuleConditionGroupConditionArgs
- Conditionable
Id string - The ID of the conditionable object
- Conditionable
Type string - The type of the conditionable object
- Created
At string - Date of creation
- Id string
- Unique ID of the condition
- Property
Field stringCondition Type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty. - Property
Field stringName - The name of the property field
- Property
Field stringType - The type of the property field. Value must be one of
attribute,payload. - Property
Field stringValue - The value of the property field
- Property
Field List<string>Values - The values of the property field
- Updated
At string - Date of last update
- Conditionable
Id string - The ID of the conditionable object
- Conditionable
Type string - The type of the conditionable object
- Created
At string - Date of creation
- Id string
- Unique ID of the condition
- Property
Field stringCondition Type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty. - Property
Field stringName - The name of the property field
- Property
Field stringType - The type of the property field. Value must be one of
attribute,payload. - Property
Field stringValue - The value of the property field
- Property
Field []stringValues - The values of the property field
- Updated
At string - Date of last update
- conditionable
Id String - The ID of the conditionable object
- conditionable
Type String - The type of the conditionable object
- created
At String - Date of creation
- id String
- Unique ID of the condition
- property
Field StringCondition Type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty. - property
Field StringName - The name of the property field
- property
Field StringType - The type of the property field. Value must be one of
attribute,payload. - property
Field StringValue - The value of the property field
- property
Field List<String>Values - The values of the property field
- updated
At String - Date of last update
- conditionable
Id string - The ID of the conditionable object
- conditionable
Type string - The type of the conditionable object
- created
At string - Date of creation
- id string
- Unique ID of the condition
- property
Field stringCondition Type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty. - property
Field stringName - The name of the property field
- property
Field stringType - The type of the property field. Value must be one of
attribute,payload. - property
Field stringValue - The value of the property field
- property
Field string[]Values - The values of the property field
- updated
At string - Date of last update
- conditionable_
id str - The ID of the conditionable object
- conditionable_
type str - The type of the conditionable object
- created_
at str - Date of creation
- id str
- Unique ID of the condition
- property_
field_ strcondition_ type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty. - property_
field_ strname - The name of the property field
- property_
field_ strtype - The type of the property field. Value must be one of
attribute,payload. - property_
field_ strvalue - The value of the property field
- property_
field_ Sequence[str]values - The values of the property field
- updated_
at str - Date of last update
- conditionable
Id String - The ID of the conditionable object
- conditionable
Type String - The type of the conditionable object
- created
At String - Date of creation
- id String
- Unique ID of the condition
- property
Field StringCondition Type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty. - property
Field StringName - The name of the property field
- property
Field StringType - The type of the property field. Value must be one of
attribute,payload. - property
Field StringValue - The value of the property field
- property
Field List<String>Values - The values of the property field
- updated
At String - Date of last update
AlertRoutingRuleDestination, AlertRoutingRuleDestinationArgs
- Target
Id string - The ID of the target
- Target
Type string - The type of the target. Please contact support if you encounter issues using
Functionalityas a target type.. Value must be one ofService,Group,Functionality,EscalationPolicy.
- Target
Id string - The ID of the target
- Target
Type string - The type of the target. Please contact support if you encounter issues using
Functionalityas a target type.. Value must be one ofService,Group,Functionality,EscalationPolicy.
- target
Id String - The ID of the target
- target
Type String - The type of the target. Please contact support if you encounter issues using
Functionalityas a target type.. Value must be one ofService,Group,Functionality,EscalationPolicy.
- target
Id string - The ID of the target
- target
Type string - The type of the target. Please contact support if you encounter issues using
Functionalityas a target type.. Value must be one ofService,Group,Functionality,EscalationPolicy.
- target_
id str - The ID of the target
- target_
type str - The type of the target. Please contact support if you encounter issues using
Functionalityas a target type.. Value must be one ofService,Group,Functionality,EscalationPolicy.
- target
Id String - The ID of the target
- target
Type String - The type of the target. Please contact support if you encounter issues using
Functionalityas a target type.. Value must be one ofService,Group,Functionality,EscalationPolicy.
Import
rootly.AlertRoutingRule can be imported using the import command.
$ pulumi import rootly:index/alertRoutingRule:AlertRoutingRule primary a816421c-6ceb-481a-87c4-585e47451f24
Or using an import block.
Locate the resource id in the web app, or retrieve it by listing resources through the API if it’s not visible in the web app.
HCL can be generated from the import block using the -generate-config-out flag.
pulumi preview -generate-config-out=generated.tf
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootlyTerraform Provider.
published on Thursday, May 7, 2026 by rootlyhq
