published on Thursday, May 7, 2026 by rootlyhq
published on Thursday, May 7, 2026 by rootlyhq
Example Usage
resource "rootly_alert_group" "example" {
name = "Alert group"
condition_type = "all"
time_window = 10
group_by_alert_title = true
attributes {
json_path = "$.title"
}
targets {
target_type = "Service"
target_id = "<Service UUID>"
}
}
Create AlertGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AlertGroup(name: string, args?: AlertGroupArgs, opts?: CustomResourceOptions);@overload
def AlertGroup(resource_name: str,
args: Optional[AlertGroupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def AlertGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
attributes: Optional[Sequence[AlertGroupAttributeArgs]] = None,
condition_type: Optional[str] = None,
conditions: Optional[Sequence[AlertGroupConditionArgs]] = None,
deleted_at: Optional[str] = None,
description: Optional[str] = None,
group_by_alert_title: Optional[bool] = None,
group_by_alert_urgency: Optional[bool] = None,
name: Optional[str] = None,
slug: Optional[str] = None,
targets: Optional[Sequence[AlertGroupTargetArgs]] = None,
time_window: Optional[int] = None)func NewAlertGroup(ctx *Context, name string, args *AlertGroupArgs, opts ...ResourceOption) (*AlertGroup, error)public AlertGroup(string name, AlertGroupArgs? args = null, CustomResourceOptions? opts = null)
public AlertGroup(String name, AlertGroupArgs args)
public AlertGroup(String name, AlertGroupArgs args, CustomResourceOptions options)
type: rootly:AlertGroup
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 AlertGroupArgs
- 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 AlertGroupArgs
- 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 AlertGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlertGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlertGroupArgs
- 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 alertGroupResource = new Rootly.AlertGroup("alertGroupResource", new()
{
Attributes = new[]
{
new Rootly.Inputs.AlertGroupAttributeArgs
{
JsonPath = "string",
},
},
ConditionType = "string",
Conditions = new[]
{
new Rootly.Inputs.AlertGroupConditionArgs
{
AlertUrgencyIds = new[]
{
"string",
},
ConditionableId = "string",
ConditionableType = "string",
PropertyFieldConditionType = "string",
PropertyFieldName = "string",
PropertyFieldType = "string",
PropertyFieldValue = "string",
PropertyFieldValues = new[]
{
"string",
},
Values = new[]
{
new Rootly.Inputs.AlertGroupConditionValueArgs
{
RecordId = "string",
RecordType = "string",
},
},
},
},
DeletedAt = "string",
Description = "string",
Name = "string",
Slug = "string",
Targets = new[]
{
new Rootly.Inputs.AlertGroupTargetArgs
{
TargetId = "string",
TargetType = "string",
},
},
TimeWindow = 0,
});
example, err := rootly.NewAlertGroup(ctx, "alertGroupResource", &rootly.AlertGroupArgs{
Attributes: rootly.AlertGroupAttributeArray{
&rootly.AlertGroupAttributeArgs{
JsonPath: pulumi.String("string"),
},
},
ConditionType: pulumi.String("string"),
Conditions: rootly.AlertGroupConditionArray{
&rootly.AlertGroupConditionArgs{
AlertUrgencyIds: pulumi.StringArray{
pulumi.String("string"),
},
ConditionableId: pulumi.String("string"),
ConditionableType: 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"),
},
Values: rootly.AlertGroupConditionValueArray{
&rootly.AlertGroupConditionValueArgs{
RecordId: pulumi.String("string"),
RecordType: pulumi.String("string"),
},
},
},
},
DeletedAt: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Slug: pulumi.String("string"),
Targets: rootly.AlertGroupTargetArray{
&rootly.AlertGroupTargetArgs{
TargetId: pulumi.String("string"),
TargetType: pulumi.String("string"),
},
},
TimeWindow: pulumi.Int(0),
})
var alertGroupResource = new AlertGroup("alertGroupResource", AlertGroupArgs.builder()
.attributes(AlertGroupAttributeArgs.builder()
.jsonPath("string")
.build())
.conditionType("string")
.conditions(AlertGroupConditionArgs.builder()
.alertUrgencyIds("string")
.conditionableId("string")
.conditionableType("string")
.propertyFieldConditionType("string")
.propertyFieldName("string")
.propertyFieldType("string")
.propertyFieldValue("string")
.propertyFieldValues("string")
.values(AlertGroupConditionValueArgs.builder()
.recordId("string")
.recordType("string")
.build())
.build())
.deletedAt("string")
.description("string")
.name("string")
.slug("string")
.targets(AlertGroupTargetArgs.builder()
.targetId("string")
.targetType("string")
.build())
.timeWindow(0)
.build());
alert_group_resource = rootly.AlertGroup("alertGroupResource",
attributes=[{
"json_path": "string",
}],
condition_type="string",
conditions=[{
"alert_urgency_ids": ["string"],
"conditionable_id": "string",
"conditionable_type": "string",
"property_field_condition_type": "string",
"property_field_name": "string",
"property_field_type": "string",
"property_field_value": "string",
"property_field_values": ["string"],
"values": [{
"record_id": "string",
"record_type": "string",
}],
}],
deleted_at="string",
description="string",
name="string",
slug="string",
targets=[{
"target_id": "string",
"target_type": "string",
}],
time_window=0)
const alertGroupResource = new rootly.AlertGroup("alertGroupResource", {
attributes: [{
jsonPath: "string",
}],
conditionType: "string",
conditions: [{
alertUrgencyIds: ["string"],
conditionableId: "string",
conditionableType: "string",
propertyFieldConditionType: "string",
propertyFieldName: "string",
propertyFieldType: "string",
propertyFieldValue: "string",
propertyFieldValues: ["string"],
values: [{
recordId: "string",
recordType: "string",
}],
}],
deletedAt: "string",
description: "string",
name: "string",
slug: "string",
targets: [{
targetId: "string",
targetType: "string",
}],
timeWindow: 0,
});
type: rootly:AlertGroup
properties:
attributes:
- jsonPath: string
conditionType: string
conditions:
- alertUrgencyIds:
- string
conditionableId: string
conditionableType: string
propertyFieldConditionType: string
propertyFieldName: string
propertyFieldType: string
propertyFieldValue: string
propertyFieldValues:
- string
values:
- recordId: string
recordType: string
deletedAt: string
description: string
name: string
slug: string
targets:
- targetId: string
targetType: string
timeWindow: 0
AlertGroup 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 AlertGroup resource accepts the following input properties:
- Attributes
List<Alert
Group Attribute> - This field is deprecated. Please use the
conditionsfield instead,attributeswill be removed in the future. - Condition
Type string - Grouping condition for the alert group
- Conditions
List<Alert
Group Condition> - The conditions for the alert group
- Deleted
At string - Date or deletion
- Description string
- The description of the alert group
- Group
By boolAlert Title - [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - Group
By boolAlert Urgency - [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - Name string
- The name of the alert group
- Slug string
- The slug of the alert group
- Targets
List<Alert
Group Target> - Time
Window int - Time window for the alert grouping
- Attributes
[]Alert
Group Attribute Args - This field is deprecated. Please use the
conditionsfield instead,attributeswill be removed in the future. - Condition
Type string - Grouping condition for the alert group
- Conditions
[]Alert
Group Condition Args - The conditions for the alert group
- Deleted
At string - Date or deletion
- Description string
- The description of the alert group
- Group
By boolAlert Title - [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - Group
By boolAlert Urgency - [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - Name string
- The name of the alert group
- Slug string
- The slug of the alert group
- Targets
[]Alert
Group Target Args - Time
Window int - Time window for the alert grouping
- attributes
List<Alert
Group Attribute> - This field is deprecated. Please use the
conditionsfield instead,attributeswill be removed in the future. - condition
Type String - Grouping condition for the alert group
- conditions
List<Alert
Group Condition> - The conditions for the alert group
- deleted
At String - Date or deletion
- description String
- The description of the alert group
- group
By BooleanAlert Title - [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - group
By BooleanAlert Urgency - [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - name String
- The name of the alert group
- slug String
- The slug of the alert group
- targets
List<Alert
Group Target> - time
Window Integer - Time window for the alert grouping
- attributes
Alert
Group Attribute[] - This field is deprecated. Please use the
conditionsfield instead,attributeswill be removed in the future. - condition
Type string - Grouping condition for the alert group
- conditions
Alert
Group Condition[] - The conditions for the alert group
- deleted
At string - Date or deletion
- description string
- The description of the alert group
- group
By booleanAlert Title - [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - group
By booleanAlert Urgency - [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - name string
- The name of the alert group
- slug string
- The slug of the alert group
- targets
Alert
Group Target[] - time
Window number - Time window for the alert grouping
- attributes
Sequence[Alert
Group Attribute Args] - This field is deprecated. Please use the
conditionsfield instead,attributeswill be removed in the future. - condition_
type str - Grouping condition for the alert group
- conditions
Sequence[Alert
Group Condition Args] - The conditions for the alert group
- deleted_
at str - Date or deletion
- description str
- The description of the alert group
- group_
by_ boolalert_ title - [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - group_
by_ boolalert_ urgency - [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - name str
- The name of the alert group
- slug str
- The slug of the alert group
- targets
Sequence[Alert
Group Target Args] - time_
window int - Time window for the alert grouping
- attributes List<Property Map>
- This field is deprecated. Please use the
conditionsfield instead,attributeswill be removed in the future. - condition
Type String - Grouping condition for the alert group
- conditions List<Property Map>
- The conditions for the alert group
- deleted
At String - Date or deletion
- description String
- The description of the alert group
- group
By BooleanAlert Title - [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - group
By BooleanAlert Urgency - [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - name String
- The name of the alert group
- slug String
- The slug of the alert group
- targets List<Property Map>
- time
Window Number - Time window for the alert grouping
Outputs
All input properties are implicitly available as output properties. Additionally, the AlertGroup 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 AlertGroup Resource
Get an existing AlertGroup 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?: AlertGroupState, opts?: CustomResourceOptions): AlertGroup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
attributes: Optional[Sequence[AlertGroupAttributeArgs]] = None,
condition_type: Optional[str] = None,
conditions: Optional[Sequence[AlertGroupConditionArgs]] = None,
deleted_at: Optional[str] = None,
description: Optional[str] = None,
group_by_alert_title: Optional[bool] = None,
group_by_alert_urgency: Optional[bool] = None,
name: Optional[str] = None,
slug: Optional[str] = None,
targets: Optional[Sequence[AlertGroupTargetArgs]] = None,
time_window: Optional[int] = None) -> AlertGroupfunc GetAlertGroup(ctx *Context, name string, id IDInput, state *AlertGroupState, opts ...ResourceOption) (*AlertGroup, error)public static AlertGroup Get(string name, Input<string> id, AlertGroupState? state, CustomResourceOptions? opts = null)public static AlertGroup get(String name, Output<String> id, AlertGroupState state, CustomResourceOptions options)resources: _: type: rootly:AlertGroup 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.
- Attributes
List<Alert
Group Attribute> - This field is deprecated. Please use the
conditionsfield instead,attributeswill be removed in the future. - Condition
Type string - Grouping condition for the alert group
- Conditions
List<Alert
Group Condition> - The conditions for the alert group
- Deleted
At string - Date or deletion
- Description string
- The description of the alert group
- Group
By boolAlert Title - [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - Group
By boolAlert Urgency - [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - Name string
- The name of the alert group
- Slug string
- The slug of the alert group
- Targets
List<Alert
Group Target> - Time
Window int - Time window for the alert grouping
- Attributes
[]Alert
Group Attribute Args - This field is deprecated. Please use the
conditionsfield instead,attributeswill be removed in the future. - Condition
Type string - Grouping condition for the alert group
- Conditions
[]Alert
Group Condition Args - The conditions for the alert group
- Deleted
At string - Date or deletion
- Description string
- The description of the alert group
- Group
By boolAlert Title - [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - Group
By boolAlert Urgency - [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - Name string
- The name of the alert group
- Slug string
- The slug of the alert group
- Targets
[]Alert
Group Target Args - Time
Window int - Time window for the alert grouping
- attributes
List<Alert
Group Attribute> - This field is deprecated. Please use the
conditionsfield instead,attributeswill be removed in the future. - condition
Type String - Grouping condition for the alert group
- conditions
List<Alert
Group Condition> - The conditions for the alert group
- deleted
At String - Date or deletion
- description String
- The description of the alert group
- group
By BooleanAlert Title - [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - group
By BooleanAlert Urgency - [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - name String
- The name of the alert group
- slug String
- The slug of the alert group
- targets
List<Alert
Group Target> - time
Window Integer - Time window for the alert grouping
- attributes
Alert
Group Attribute[] - This field is deprecated. Please use the
conditionsfield instead,attributeswill be removed in the future. - condition
Type string - Grouping condition for the alert group
- conditions
Alert
Group Condition[] - The conditions for the alert group
- deleted
At string - Date or deletion
- description string
- The description of the alert group
- group
By booleanAlert Title - [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - group
By booleanAlert Urgency - [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - name string
- The name of the alert group
- slug string
- The slug of the alert group
- targets
Alert
Group Target[] - time
Window number - Time window for the alert grouping
- attributes
Sequence[Alert
Group Attribute Args] - This field is deprecated. Please use the
conditionsfield instead,attributeswill be removed in the future. - condition_
type str - Grouping condition for the alert group
- conditions
Sequence[Alert
Group Condition Args] - The conditions for the alert group
- deleted_
at str - Date or deletion
- description str
- The description of the alert group
- group_
by_ boolalert_ title - [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - group_
by_ boolalert_ urgency - [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - name str
- The name of the alert group
- slug str
- The slug of the alert group
- targets
Sequence[Alert
Group Target Args] - time_
window int - Time window for the alert grouping
- attributes List<Property Map>
- This field is deprecated. Please use the
conditionsfield instead,attributeswill be removed in the future. - condition
Type String - Grouping condition for the alert group
- conditions List<Property Map>
- The conditions for the alert group
- deleted
At String - Date or deletion
- description String
- The description of the alert group
- group
By BooleanAlert Title - [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - group
By BooleanAlert Urgency - [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the
conditionsfield with advanced alert grouping instead.. Value must be one of true or false - name String
- The name of the alert group
- slug String
- The slug of the alert group
- targets List<Property Map>
- time
Window Number - Time window for the alert grouping
Supporting Types
AlertGroupAttribute, AlertGroupAttributeArgs
- Json
Path string - The JSON path to the value to group by.
- Json
Path string - The JSON path to the value to group by.
- json
Path String - The JSON path to the value to group by.
- json
Path string - The JSON path to the value to group by.
- json_
path str - The JSON path to the value to group by.
- json
Path String - The JSON path to the value to group by.
AlertGroupCondition, AlertGroupConditionArgs
- Alert
Urgency List<string>Ids - The Alert Urgency IDs to check in the condition. Only need to be set when the property field type is 'attribute', the property field name is 'alerturgency' and the property field condition type is 'isoneof' or 'isnotoneof'
- Conditionable
Id string - The ID of the conditionable. If conditionableType is AlertField, this is the ID of the alert field.
- Conditionable
Type string - The type of the conditionable. Value must be one of
AlertField. - Property
Field stringCondition Type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty,matchesExistingAlert. - 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,alertField. - 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'
- Values
List<Alert
Group Condition Value>
- Alert
Urgency []stringIds - The Alert Urgency IDs to check in the condition. Only need to be set when the property field type is 'attribute', the property field name is 'alerturgency' and the property field condition type is 'isoneof' or 'isnotoneof'
- Conditionable
Id string - The ID of the conditionable. If conditionableType is AlertField, this is the ID of the alert field.
- Conditionable
Type string - The type of the conditionable. Value must be one of
AlertField. - Property
Field stringCondition Type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty,matchesExistingAlert. - 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,alertField. - 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'
- Values
[]Alert
Group Condition Value
- alert
Urgency List<String>Ids - The Alert Urgency IDs to check in the condition. Only need to be set when the property field type is 'attribute', the property field name is 'alerturgency' and the property field condition type is 'isoneof' or 'isnotoneof'
- conditionable
Id String - The ID of the conditionable. If conditionableType is AlertField, this is the ID of the alert field.
- conditionable
Type String - The type of the conditionable. Value must be one of
AlertField. - property
Field StringCondition Type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty,matchesExistingAlert. - 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,alertField. - 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'
- values
List<Alert
Group Condition Value>
- alert
Urgency string[]Ids - The Alert Urgency IDs to check in the condition. Only need to be set when the property field type is 'attribute', the property field name is 'alerturgency' and the property field condition type is 'isoneof' or 'isnotoneof'
- conditionable
Id string - The ID of the conditionable. If conditionableType is AlertField, this is the ID of the alert field.
- conditionable
Type string - The type of the conditionable. Value must be one of
AlertField. - property
Field stringCondition Type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty,matchesExistingAlert. - 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,alertField. - 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'
- values
Alert
Group Condition Value[]
- alert_
urgency_ Sequence[str]ids - The Alert Urgency IDs to check in the condition. Only need to be set when the property field type is 'attribute', the property field name is 'alerturgency' and the property field condition type is 'isoneof' or 'isnotoneof'
- conditionable_
id str - The ID of the conditionable. If conditionableType is AlertField, this is the ID of the alert field.
- conditionable_
type str - The type of the conditionable. Value must be one of
AlertField. - property_
field_ strcondition_ type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty,matchesExistingAlert. - 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,alertField. - 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'
- values
Sequence[Alert
Group Condition Value]
- alert
Urgency List<String>Ids - The Alert Urgency IDs to check in the condition. Only need to be set when the property field type is 'attribute', the property field name is 'alerturgency' and the property field condition type is 'isoneof' or 'isnotoneof'
- conditionable
Id String - The ID of the conditionable. If conditionableType is AlertField, this is the ID of the alert field.
- conditionable
Type String - The type of the conditionable. Value must be one of
AlertField. - property
Field StringCondition Type - The condition type of the property field. Value must be one of
isOneOf,isNotOneOf,contains,doesNotContain,startsWith,endsWith,matchesRegex,isEmpty,matchesExistingAlert. - 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,alertField. - 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'
- values List<Property Map>
AlertGroupConditionValue, AlertGroupConditionValueArgs
- Record
Id string - ID of the Alert Urgency to set.
- Record
Type string - Should be "AlertUrgency".
- Record
Id string - ID of the Alert Urgency to set.
- Record
Type string - Should be "AlertUrgency".
- record
Id String - ID of the Alert Urgency to set.
- record
Type String - Should be "AlertUrgency".
- record
Id string - ID of the Alert Urgency to set.
- record
Type string - Should be "AlertUrgency".
- record_
id str - ID of the Alert Urgency to set.
- record_
type str - Should be "AlertUrgency".
- record
Id String - ID of the Alert Urgency to set.
- record
Type String - Should be "AlertUrgency".
AlertGroupTarget, AlertGroupTargetArgs
- Target
Id string - id for the Group, Service or EscalationPolicy
- Target
Type string - The type of the target.. Value must be one of
Group,Service,Functionality,EscalationPolicy.
- Target
Id string - id for the Group, Service or EscalationPolicy
- Target
Type string - The type of the target.. Value must be one of
Group,Service,Functionality,EscalationPolicy.
- target
Id String - id for the Group, Service or EscalationPolicy
- target
Type String - The type of the target.. Value must be one of
Group,Service,Functionality,EscalationPolicy.
- target
Id string - id for the Group, Service or EscalationPolicy
- target
Type string - The type of the target.. Value must be one of
Group,Service,Functionality,EscalationPolicy.
- target_
id str - id for the Group, Service or EscalationPolicy
- target_
type str - The type of the target.. Value must be one of
Group,Service,Functionality,EscalationPolicy.
- target
Id String - id for the Group, Service or EscalationPolicy
- target
Type String - The type of the target.. Value must be one of
Group,Service,Functionality,EscalationPolicy.
Import
rootly.AlertGroup can be imported using the import command.
$ pulumi import rootly:index/alertGroup:AlertGroup 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
