1. Packages
  2. Packages
  3. Rootly
  4. API Docs
  5. AlertGroup
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq
rootly logo
Viewing docs for Rootly v3.3.0
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<AlertGroupAttribute>
    This field is deprecated. Please use the conditions field instead, attributes will be removed in the future.
    ConditionType string
    Grouping condition for the alert group
    Conditions List<AlertGroupCondition>
    The conditions for the alert group
    DeletedAt string
    Date or deletion
    Description string
    The description of the alert group
    GroupByAlertTitle bool
    [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    GroupByAlertUrgency bool
    [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    Name string
    The name of the alert group
    Slug string
    The slug of the alert group
    Targets List<AlertGroupTarget>
    TimeWindow int
    Time window for the alert grouping
    Attributes []AlertGroupAttributeArgs
    This field is deprecated. Please use the conditions field instead, attributes will be removed in the future.
    ConditionType string
    Grouping condition for the alert group
    Conditions []AlertGroupConditionArgs
    The conditions for the alert group
    DeletedAt string
    Date or deletion
    Description string
    The description of the alert group
    GroupByAlertTitle bool
    [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    GroupByAlertUrgency bool
    [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    Name string
    The name of the alert group
    Slug string
    The slug of the alert group
    Targets []AlertGroupTargetArgs
    TimeWindow int
    Time window for the alert grouping
    attributes List<AlertGroupAttribute>
    This field is deprecated. Please use the conditions field instead, attributes will be removed in the future.
    conditionType String
    Grouping condition for the alert group
    conditions List<AlertGroupCondition>
    The conditions for the alert group
    deletedAt String
    Date or deletion
    description String
    The description of the alert group
    groupByAlertTitle Boolean
    [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    groupByAlertUrgency Boolean
    [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    name String
    The name of the alert group
    slug String
    The slug of the alert group
    targets List<AlertGroupTarget>
    timeWindow Integer
    Time window for the alert grouping
    attributes AlertGroupAttribute[]
    This field is deprecated. Please use the conditions field instead, attributes will be removed in the future.
    conditionType string
    Grouping condition for the alert group
    conditions AlertGroupCondition[]
    The conditions for the alert group
    deletedAt string
    Date or deletion
    description string
    The description of the alert group
    groupByAlertTitle boolean
    [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    groupByAlertUrgency boolean
    [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    name string
    The name of the alert group
    slug string
    The slug of the alert group
    targets AlertGroupTarget[]
    timeWindow number
    Time window for the alert grouping
    attributes Sequence[AlertGroupAttributeArgs]
    This field is deprecated. Please use the conditions field instead, attributes will be removed in the future.
    condition_type str
    Grouping condition for the alert group
    conditions Sequence[AlertGroupConditionArgs]
    The conditions for the alert group
    deleted_at str
    Date or deletion
    description str
    The description of the alert group
    group_by_alert_title bool
    [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    group_by_alert_urgency bool
    [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    name str
    The name of the alert group
    slug str
    The slug of the alert group
    targets Sequence[AlertGroupTargetArgs]
    time_window int
    Time window for the alert grouping
    attributes List<Property Map>
    This field is deprecated. Please use the conditions field instead, attributes will be removed in the future.
    conditionType String
    Grouping condition for the alert group
    conditions List<Property Map>
    The conditions for the alert group
    deletedAt String
    Date or deletion
    description String
    The description of the alert group
    groupByAlertTitle Boolean
    [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    groupByAlertUrgency Boolean
    [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    name String
    The name of the alert group
    slug String
    The slug of the alert group
    targets List<Property Map>
    timeWindow 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) -> AlertGroup
    func 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.
    The following state arguments are supported:
    Attributes List<AlertGroupAttribute>
    This field is deprecated. Please use the conditions field instead, attributes will be removed in the future.
    ConditionType string
    Grouping condition for the alert group
    Conditions List<AlertGroupCondition>
    The conditions for the alert group
    DeletedAt string
    Date or deletion
    Description string
    The description of the alert group
    GroupByAlertTitle bool
    [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    GroupByAlertUrgency bool
    [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    Name string
    The name of the alert group
    Slug string
    The slug of the alert group
    Targets List<AlertGroupTarget>
    TimeWindow int
    Time window for the alert grouping
    Attributes []AlertGroupAttributeArgs
    This field is deprecated. Please use the conditions field instead, attributes will be removed in the future.
    ConditionType string
    Grouping condition for the alert group
    Conditions []AlertGroupConditionArgs
    The conditions for the alert group
    DeletedAt string
    Date or deletion
    Description string
    The description of the alert group
    GroupByAlertTitle bool
    [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    GroupByAlertUrgency bool
    [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    Name string
    The name of the alert group
    Slug string
    The slug of the alert group
    Targets []AlertGroupTargetArgs
    TimeWindow int
    Time window for the alert grouping
    attributes List<AlertGroupAttribute>
    This field is deprecated. Please use the conditions field instead, attributes will be removed in the future.
    conditionType String
    Grouping condition for the alert group
    conditions List<AlertGroupCondition>
    The conditions for the alert group
    deletedAt String
    Date or deletion
    description String
    The description of the alert group
    groupByAlertTitle Boolean
    [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    groupByAlertUrgency Boolean
    [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    name String
    The name of the alert group
    slug String
    The slug of the alert group
    targets List<AlertGroupTarget>
    timeWindow Integer
    Time window for the alert grouping
    attributes AlertGroupAttribute[]
    This field is deprecated. Please use the conditions field instead, attributes will be removed in the future.
    conditionType string
    Grouping condition for the alert group
    conditions AlertGroupCondition[]
    The conditions for the alert group
    deletedAt string
    Date or deletion
    description string
    The description of the alert group
    groupByAlertTitle boolean
    [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    groupByAlertUrgency boolean
    [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    name string
    The name of the alert group
    slug string
    The slug of the alert group
    targets AlertGroupTarget[]
    timeWindow number
    Time window for the alert grouping
    attributes Sequence[AlertGroupAttributeArgs]
    This field is deprecated. Please use the conditions field instead, attributes will be removed in the future.
    condition_type str
    Grouping condition for the alert group
    conditions Sequence[AlertGroupConditionArgs]
    The conditions for the alert group
    deleted_at str
    Date or deletion
    description str
    The description of the alert group
    group_by_alert_title bool
    [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    group_by_alert_urgency bool
    [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    name str
    The name of the alert group
    slug str
    The slug of the alert group
    targets Sequence[AlertGroupTargetArgs]
    time_window int
    Time window for the alert grouping
    attributes List<Property Map>
    This field is deprecated. Please use the conditions field instead, attributes will be removed in the future.
    conditionType String
    Grouping condition for the alert group
    conditions List<Property Map>
    The conditions for the alert group
    deletedAt String
    Date or deletion
    description String
    The description of the alert group
    groupByAlertTitle Boolean
    [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    groupByAlertUrgency Boolean
    [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the conditions field with advanced alert grouping instead.. Value must be one of true or false

    Deprecated: This field is deprecated. Please use the conditions field with advanced alert grouping instead.

    name String
    The name of the alert group
    slug String
    The slug of the alert group
    targets List<Property Map>
    timeWindow Number
    Time window for the alert grouping

    Supporting Types

    AlertGroupAttribute, AlertGroupAttributeArgs

    JsonPath string
    The JSON path to the value to group by.
    JsonPath string
    The JSON path to the value to group by.
    jsonPath String
    The JSON path to the value to group by.
    jsonPath string
    The JSON path to the value to group by.
    json_path str
    The JSON path to the value to group by.
    jsonPath String
    The JSON path to the value to group by.

    AlertGroupCondition, AlertGroupConditionArgs

    AlertUrgencyIds List<string>
    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'
    ConditionableId string
    The ID of the conditionable. If conditionableType is AlertField, this is the ID of the alert field.
    ConditionableType string
    The type of the conditionable. Value must be one of AlertField.
    PropertyFieldConditionType string
    The condition type of the property field. Value must be one of isOneOf, isNotOneOf, contains, doesNotContain, startsWith, endsWith, matchesRegex, isEmpty, matchesExistingAlert.
    PropertyFieldName string
    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.
    PropertyFieldType string
    The type of the property field. Value must be one of attribute, payload, alertField.
    PropertyFieldValue string
    The value of the property field. Can be null if the property field condition type is 'isoneof' or 'isnotone_of'
    PropertyFieldValues List<string>
    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<AlertGroupConditionValue>
    AlertUrgencyIds []string
    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'
    ConditionableId string
    The ID of the conditionable. If conditionableType is AlertField, this is the ID of the alert field.
    ConditionableType string
    The type of the conditionable. Value must be one of AlertField.
    PropertyFieldConditionType string
    The condition type of the property field. Value must be one of isOneOf, isNotOneOf, contains, doesNotContain, startsWith, endsWith, matchesRegex, isEmpty, matchesExistingAlert.
    PropertyFieldName string
    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.
    PropertyFieldType string
    The type of the property field. Value must be one of attribute, payload, alertField.
    PropertyFieldValue string
    The value of the property field. Can be null if the property field condition type is 'isoneof' or 'isnotone_of'
    PropertyFieldValues []string
    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 []AlertGroupConditionValue
    alertUrgencyIds List<String>
    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'
    conditionableId String
    The ID of the conditionable. If conditionableType is AlertField, this is the ID of the alert field.
    conditionableType String
    The type of the conditionable. Value must be one of AlertField.
    propertyFieldConditionType String
    The condition type of the property field. Value must be one of isOneOf, isNotOneOf, contains, doesNotContain, startsWith, endsWith, matchesRegex, isEmpty, matchesExistingAlert.
    propertyFieldName String
    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.
    propertyFieldType String
    The type of the property field. Value must be one of attribute, payload, alertField.
    propertyFieldValue String
    The value of the property field. Can be null if the property field condition type is 'isoneof' or 'isnotone_of'
    propertyFieldValues List<String>
    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<AlertGroupConditionValue>
    alertUrgencyIds string[]
    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'
    conditionableId string
    The ID of the conditionable. If conditionableType is AlertField, this is the ID of the alert field.
    conditionableType string
    The type of the conditionable. Value must be one of AlertField.
    propertyFieldConditionType string
    The condition type of the property field. Value must be one of isOneOf, isNotOneOf, contains, doesNotContain, startsWith, endsWith, matchesRegex, isEmpty, matchesExistingAlert.
    propertyFieldName string
    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.
    propertyFieldType string
    The type of the property field. Value must be one of attribute, payload, alertField.
    propertyFieldValue string
    The value of the property field. Can be null if the property field condition type is 'isoneof' or 'isnotone_of'
    propertyFieldValues string[]
    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 AlertGroupConditionValue[]
    alert_urgency_ids Sequence[str]
    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_condition_type str
    The condition type of the property field. Value must be one of isOneOf, isNotOneOf, contains, doesNotContain, startsWith, endsWith, matchesRegex, isEmpty, matchesExistingAlert.
    property_field_name str
    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_type str
    The type of the property field. Value must be one of attribute, payload, alertField.
    property_field_value str
    The value of the property field. Can be null if the property field condition type is 'isoneof' or 'isnotone_of'
    property_field_values Sequence[str]
    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[AlertGroupConditionValue]
    alertUrgencyIds List<String>
    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'
    conditionableId String
    The ID of the conditionable. If conditionableType is AlertField, this is the ID of the alert field.
    conditionableType String
    The type of the conditionable. Value must be one of AlertField.
    propertyFieldConditionType String
    The condition type of the property field. Value must be one of isOneOf, isNotOneOf, contains, doesNotContain, startsWith, endsWith, matchesRegex, isEmpty, matchesExistingAlert.
    propertyFieldName String
    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.
    propertyFieldType String
    The type of the property field. Value must be one of attribute, payload, alertField.
    propertyFieldValue String
    The value of the property field. Can be null if the property field condition type is 'isoneof' or 'isnotone_of'
    propertyFieldValues List<String>
    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

    RecordId string
    ID of the Alert Urgency to set.
    RecordType string
    Should be "AlertUrgency".
    RecordId string
    ID of the Alert Urgency to set.
    RecordType string
    Should be "AlertUrgency".
    recordId String
    ID of the Alert Urgency to set.
    recordType String
    Should be "AlertUrgency".
    recordId string
    ID of the Alert Urgency to set.
    recordType string
    Should be "AlertUrgency".
    record_id str
    ID of the Alert Urgency to set.
    record_type str
    Should be "AlertUrgency".
    recordId String
    ID of the Alert Urgency to set.
    recordType String
    Should be "AlertUrgency".

    AlertGroupTarget, AlertGroupTargetArgs

    TargetId string
    id for the Group, Service or EscalationPolicy
    TargetType string
    The type of the target.. Value must be one of Group, Service, Functionality, EscalationPolicy.
    TargetId string
    id for the Group, Service or EscalationPolicy
    TargetType string
    The type of the target.. Value must be one of Group, Service, Functionality, EscalationPolicy.
    targetId String
    id for the Group, Service or EscalationPolicy
    targetType String
    The type of the target.. Value must be one of Group, Service, Functionality, EscalationPolicy.
    targetId string
    id for the Group, Service or EscalationPolicy
    targetType 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.
    targetId String
    id for the Group, Service or EscalationPolicy
    targetType 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 rootly Terraform Provider.
    rootly logo
    Viewing docs for Rootly v3.3.0
    published on Thursday, May 7, 2026 by rootlyhq
      Try Pulumi Cloud free. Your team will thank you.