1. Packages
  2. Packages
  3. Rootly
  4. API Docs
  5. AlertsSource
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

    Important Notes

    Required Alert Source Fields

    When configuring alert sources, the following alert source fields are required and cannot be deleted:

    • title - Alert title field
    • description - Alert description field
    • externalUrl - Alert source URL/external URL field

    Important: You must use data sources (not resources) to reference these required alert fields, as they cannot be modified or deleted by users. See the example below for the correct implementation.

    Example Usage

    # Required: Use data sources for title, description, and external_url fields
    data "rootly_alert_field" "title_field" {
      kind = "title"
    }
    
    data "rootly_alert_field" "description_field" {
      kind = "description"
    }
    
    data "rootly_alert_field" "source_link_field" {
      kind = "external_url"
    }
    
    resource "rootly_alerts_source" "example" {
      name        = "Generic webhook source"
      source_type = "generic_webhook"
    
      # Required alert source fields: title, description, and external_url
      # template_body can be omitted if you want to use the default value for the alert source field
      alert_source_fields_attributes {
        alert_field_id = data.rootly_alert_field.title_field.id
        template_body  = "Server exploded"
      }
    
      alert_source_fields_attributes {
        alert_field_id = data.rootly_alert_field.description_field.id
        template_body  = "Datacenter is burning down."
      }
    
      alert_source_fields_attributes {
        alert_field_id = data.rootly_alert_field.source_link_field.id
        template_body  = "https://rootly.com"
      }
    
      sourceable_attributes {
        auto_resolve  = true
        resolve_state = "$.status"
    
        field_mappings_attributes {
          field     = "state"
          json_path = "$.my_group_attribute"
        }
    
        field_mappings_attributes {
          field     = "external_id"
          json_path = "$.my_id_attribute"
        }
      }
    
      resolution_rule_attributes {
        enabled                = true
        condition_type         = "and"
        identifier_json_path   = "$.email.subject"
        identifier_value_regex = "ID:\\s*(\\w+)"
        conditions_attributes {
          field    = "$.email.body"
          operator = "contains"
          value    = "RESOLVED"
        }
        conditions_attributes {
          field    = "$.email.body"
          operator = "does_not_contain"
          value    = "ERROR"
        }
      }
    }
    

    Create AlertsSource Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AlertsSource(name: string, args?: AlertsSourceArgs, opts?: CustomResourceOptions);
    @overload
    def AlertsSource(resource_name: str,
                     args: Optional[AlertsSourceArgs] = None,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def AlertsSource(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     alert_source_fields_attributes: Optional[Sequence[AlertsSourceAlertSourceFieldsAttributeArgs]] = None,
                     alert_source_urgency_rules_attributes: Optional[Sequence[AlertsSourceAlertSourceUrgencyRulesAttributeArgs]] = None,
                     alert_template_attributes: Optional[AlertsSourceAlertTemplateAttributesArgs] = None,
                     alert_urgency_id: Optional[str] = None,
                     deduplicate_alerts_by_key: Optional[bool] = None,
                     deduplication_key_kind: Optional[str] = None,
                     deduplication_key_path: Optional[str] = None,
                     deduplication_key_regexp: Optional[str] = None,
                     email: Optional[str] = None,
                     name: Optional[str] = None,
                     owner_group_ids: Optional[Sequence[str]] = None,
                     resolution_rule_attributes: Optional[AlertsSourceResolutionRuleAttributesArgs] = None,
                     secret: Optional[str] = None,
                     source_type: Optional[str] = None,
                     sourceable_attributes: Optional[AlertsSourceSourceableAttributesArgs] = None,
                     status: Optional[str] = None,
                     webhook_endpoint: Optional[str] = None)
    func NewAlertsSource(ctx *Context, name string, args *AlertsSourceArgs, opts ...ResourceOption) (*AlertsSource, error)
    public AlertsSource(string name, AlertsSourceArgs? args = null, CustomResourceOptions? opts = null)
    public AlertsSource(String name, AlertsSourceArgs args)
    public AlertsSource(String name, AlertsSourceArgs args, CustomResourceOptions options)
    
    type: rootly:AlertsSource
    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 AlertsSourceArgs
    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 AlertsSourceArgs
    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 AlertsSourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AlertsSourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AlertsSourceArgs
    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 alertsSourceResource = new Rootly.AlertsSource("alertsSourceResource", new()
    {
        AlertSourceFieldsAttributes = new[]
        {
            new Rootly.Inputs.AlertsSourceAlertSourceFieldsAttributeArgs
            {
                AlertFieldId = "string",
                TemplateBody = "string",
            },
        },
        AlertSourceUrgencyRulesAttributes = new[]
        {
            new Rootly.Inputs.AlertsSourceAlertSourceUrgencyRulesAttributeArgs
            {
                AlertUrgencyId = "string",
                ConditionableId = "string",
                ConditionableType = "string",
                JsonPath = "string",
                Kind = "string",
                Operator = "string",
                Value = "string",
            },
        },
        AlertTemplateAttributes = new Rootly.Inputs.AlertsSourceAlertTemplateAttributesArgs
        {
            Description = "string",
            ExternalUrl = "string",
            Title = "string",
        },
        AlertUrgencyId = "string",
        DeduplicateAlertsByKey = false,
        DeduplicationKeyKind = "string",
        DeduplicationKeyPath = "string",
        DeduplicationKeyRegexp = "string",
        Email = "string",
        Name = "string",
        OwnerGroupIds = new[]
        {
            "string",
        },
        ResolutionRuleAttributes = new Rootly.Inputs.AlertsSourceResolutionRuleAttributesArgs
        {
            ConditionType = "string",
            ConditionsAttributes = new[]
            {
                new Rootly.Inputs.AlertsSourceResolutionRuleAttributesConditionsAttributeArgs
                {
                    ConditionableId = "string",
                    ConditionableType = "string",
                    Field = "string",
                    Kind = "string",
                    Operator = "string",
                    Value = "string",
                },
            },
            Enabled = false,
            IdentifierJsonPath = "string",
            IdentifierMatchableId = "string",
            IdentifierMatchableType = "string",
            IdentifierReferenceKind = "string",
            IdentifierValueRegex = "string",
        },
        Secret = "string",
        SourceType = "string",
        SourceableAttributes = new Rootly.Inputs.AlertsSourceSourceableAttributesArgs
        {
            AcceptThreadedEmails = false,
            AutoResolve = false,
            FieldMappingsAttributes = new[]
            {
                new Rootly.Inputs.AlertsSourceSourceableAttributesFieldMappingsAttributeArgs
                {
                    Field = "string",
                    JsonPath = "string",
                },
            },
            ResolveState = "string",
        },
        Status = "string",
        WebhookEndpoint = "string",
    });
    
    example, err := rootly.NewAlertsSource(ctx, "alertsSourceResource", &rootly.AlertsSourceArgs{
    	AlertSourceFieldsAttributes: rootly.AlertsSourceAlertSourceFieldsAttributeArray{
    		&rootly.AlertsSourceAlertSourceFieldsAttributeArgs{
    			AlertFieldId: pulumi.String("string"),
    			TemplateBody: pulumi.String("string"),
    		},
    	},
    	AlertSourceUrgencyRulesAttributes: rootly.AlertsSourceAlertSourceUrgencyRulesAttributeArray{
    		&rootly.AlertsSourceAlertSourceUrgencyRulesAttributeArgs{
    			AlertUrgencyId:    pulumi.String("string"),
    			ConditionableId:   pulumi.String("string"),
    			ConditionableType: pulumi.String("string"),
    			JsonPath:          pulumi.String("string"),
    			Kind:              pulumi.String("string"),
    			Operator:          pulumi.String("string"),
    			Value:             pulumi.String("string"),
    		},
    	},
    	AlertTemplateAttributes: &rootly.AlertsSourceAlertTemplateAttributesArgs{
    		Description: pulumi.String("string"),
    		ExternalUrl: pulumi.String("string"),
    		Title:       pulumi.String("string"),
    	},
    	AlertUrgencyId:         pulumi.String("string"),
    	DeduplicateAlertsByKey: pulumi.Bool(false),
    	DeduplicationKeyKind:   pulumi.String("string"),
    	DeduplicationKeyPath:   pulumi.String("string"),
    	DeduplicationKeyRegexp: pulumi.String("string"),
    	Email:                  pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    	OwnerGroupIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ResolutionRuleAttributes: &rootly.AlertsSourceResolutionRuleAttributesArgs{
    		ConditionType: pulumi.String("string"),
    		ConditionsAttributes: rootly.AlertsSourceResolutionRuleAttributesConditionsAttributeArray{
    			&rootly.AlertsSourceResolutionRuleAttributesConditionsAttributeArgs{
    				ConditionableId:   pulumi.String("string"),
    				ConditionableType: pulumi.String("string"),
    				Field:             pulumi.String("string"),
    				Kind:              pulumi.String("string"),
    				Operator:          pulumi.String("string"),
    				Value:             pulumi.String("string"),
    			},
    		},
    		Enabled:                 pulumi.Bool(false),
    		IdentifierJsonPath:      pulumi.String("string"),
    		IdentifierMatchableId:   pulumi.String("string"),
    		IdentifierMatchableType: pulumi.String("string"),
    		IdentifierReferenceKind: pulumi.String("string"),
    		IdentifierValueRegex:    pulumi.String("string"),
    	},
    	Secret:     pulumi.String("string"),
    	SourceType: pulumi.String("string"),
    	SourceableAttributes: &rootly.AlertsSourceSourceableAttributesArgs{
    		AcceptThreadedEmails: pulumi.Bool(false),
    		AutoResolve:          pulumi.Bool(false),
    		FieldMappingsAttributes: rootly.AlertsSourceSourceableAttributesFieldMappingsAttributeArray{
    			&rootly.AlertsSourceSourceableAttributesFieldMappingsAttributeArgs{
    				Field:    pulumi.String("string"),
    				JsonPath: pulumi.String("string"),
    			},
    		},
    		ResolveState: pulumi.String("string"),
    	},
    	Status:          pulumi.String("string"),
    	WebhookEndpoint: pulumi.String("string"),
    })
    
    var alertsSourceResource = new AlertsSource("alertsSourceResource", AlertsSourceArgs.builder()
        .alertSourceFieldsAttributes(AlertsSourceAlertSourceFieldsAttributeArgs.builder()
            .alertFieldId("string")
            .templateBody("string")
            .build())
        .alertSourceUrgencyRulesAttributes(AlertsSourceAlertSourceUrgencyRulesAttributeArgs.builder()
            .alertUrgencyId("string")
            .conditionableId("string")
            .conditionableType("string")
            .jsonPath("string")
            .kind("string")
            .operator("string")
            .value("string")
            .build())
        .alertTemplateAttributes(AlertsSourceAlertTemplateAttributesArgs.builder()
            .description("string")
            .externalUrl("string")
            .title("string")
            .build())
        .alertUrgencyId("string")
        .deduplicateAlertsByKey(false)
        .deduplicationKeyKind("string")
        .deduplicationKeyPath("string")
        .deduplicationKeyRegexp("string")
        .email("string")
        .name("string")
        .ownerGroupIds("string")
        .resolutionRuleAttributes(AlertsSourceResolutionRuleAttributesArgs.builder()
            .conditionType("string")
            .conditionsAttributes(AlertsSourceResolutionRuleAttributesConditionsAttributeArgs.builder()
                .conditionableId("string")
                .conditionableType("string")
                .field("string")
                .kind("string")
                .operator("string")
                .value("string")
                .build())
            .enabled(false)
            .identifierJsonPath("string")
            .identifierMatchableId("string")
            .identifierMatchableType("string")
            .identifierReferenceKind("string")
            .identifierValueRegex("string")
            .build())
        .secret("string")
        .sourceType("string")
        .sourceableAttributes(AlertsSourceSourceableAttributesArgs.builder()
            .acceptThreadedEmails(false)
            .autoResolve(false)
            .fieldMappingsAttributes(AlertsSourceSourceableAttributesFieldMappingsAttributeArgs.builder()
                .field("string")
                .jsonPath("string")
                .build())
            .resolveState("string")
            .build())
        .status("string")
        .webhookEndpoint("string")
        .build());
    
    alerts_source_resource = rootly.AlertsSource("alertsSourceResource",
        alert_source_fields_attributes=[{
            "alert_field_id": "string",
            "template_body": "string",
        }],
        alert_source_urgency_rules_attributes=[{
            "alert_urgency_id": "string",
            "conditionable_id": "string",
            "conditionable_type": "string",
            "json_path": "string",
            "kind": "string",
            "operator": "string",
            "value": "string",
        }],
        alert_template_attributes={
            "description": "string",
            "external_url": "string",
            "title": "string",
        },
        alert_urgency_id="string",
        deduplicate_alerts_by_key=False,
        deduplication_key_kind="string",
        deduplication_key_path="string",
        deduplication_key_regexp="string",
        email="string",
        name="string",
        owner_group_ids=["string"],
        resolution_rule_attributes={
            "condition_type": "string",
            "conditions_attributes": [{
                "conditionable_id": "string",
                "conditionable_type": "string",
                "field": "string",
                "kind": "string",
                "operator": "string",
                "value": "string",
            }],
            "enabled": False,
            "identifier_json_path": "string",
            "identifier_matchable_id": "string",
            "identifier_matchable_type": "string",
            "identifier_reference_kind": "string",
            "identifier_value_regex": "string",
        },
        secret="string",
        source_type="string",
        sourceable_attributes={
            "accept_threaded_emails": False,
            "auto_resolve": False,
            "field_mappings_attributes": [{
                "field": "string",
                "json_path": "string",
            }],
            "resolve_state": "string",
        },
        status="string",
        webhook_endpoint="string")
    
    const alertsSourceResource = new rootly.AlertsSource("alertsSourceResource", {
        alertSourceFieldsAttributes: [{
            alertFieldId: "string",
            templateBody: "string",
        }],
        alertSourceUrgencyRulesAttributes: [{
            alertUrgencyId: "string",
            conditionableId: "string",
            conditionableType: "string",
            jsonPath: "string",
            kind: "string",
            operator: "string",
            value: "string",
        }],
        alertTemplateAttributes: {
            description: "string",
            externalUrl: "string",
            title: "string",
        },
        alertUrgencyId: "string",
        deduplicateAlertsByKey: false,
        deduplicationKeyKind: "string",
        deduplicationKeyPath: "string",
        deduplicationKeyRegexp: "string",
        email: "string",
        name: "string",
        ownerGroupIds: ["string"],
        resolutionRuleAttributes: {
            conditionType: "string",
            conditionsAttributes: [{
                conditionableId: "string",
                conditionableType: "string",
                field: "string",
                kind: "string",
                operator: "string",
                value: "string",
            }],
            enabled: false,
            identifierJsonPath: "string",
            identifierMatchableId: "string",
            identifierMatchableType: "string",
            identifierReferenceKind: "string",
            identifierValueRegex: "string",
        },
        secret: "string",
        sourceType: "string",
        sourceableAttributes: {
            acceptThreadedEmails: false,
            autoResolve: false,
            fieldMappingsAttributes: [{
                field: "string",
                jsonPath: "string",
            }],
            resolveState: "string",
        },
        status: "string",
        webhookEndpoint: "string",
    });
    
    type: rootly:AlertsSource
    properties:
        alertSourceFieldsAttributes:
            - alertFieldId: string
              templateBody: string
        alertSourceUrgencyRulesAttributes:
            - alertUrgencyId: string
              conditionableId: string
              conditionableType: string
              jsonPath: string
              kind: string
              operator: string
              value: string
        alertTemplateAttributes:
            description: string
            externalUrl: string
            title: string
        alertUrgencyId: string
        deduplicateAlertsByKey: false
        deduplicationKeyKind: string
        deduplicationKeyPath: string
        deduplicationKeyRegexp: string
        email: string
        name: string
        ownerGroupIds:
            - string
        resolutionRuleAttributes:
            conditionType: string
            conditionsAttributes:
                - conditionableId: string
                  conditionableType: string
                  field: string
                  kind: string
                  operator: string
                  value: string
            enabled: false
            identifierJsonPath: string
            identifierMatchableId: string
            identifierMatchableType: string
            identifierReferenceKind: string
            identifierValueRegex: string
        secret: string
        sourceType: string
        sourceableAttributes:
            acceptThreadedEmails: false
            autoResolve: false
            fieldMappingsAttributes:
                - field: string
                  jsonPath: string
            resolveState: string
        status: string
        webhookEndpoint: string
    

    AlertsSource 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 AlertsSource resource accepts the following input properties:

    AlertSourceFieldsAttributes List<AlertsSourceAlertSourceFieldsAttribute>
    List of alert fields to be added to the alert source. Note: This attribute requires the alert field feature to be enabled on your account. Contact Rootly customer support if you need assistance with this feature.
    AlertSourceUrgencyRulesAttributes List<AlertsSourceAlertSourceUrgencyRulesAttribute>
    List of rules that define the conditions under which the alert urgency will be set automatically based on the alert payload
    AlertTemplateAttributes AlertsSourceAlertTemplateAttributes
    Note that when alert fields are enabled at the team level, alert template attributes cannot be provided. Use alertSourceFieldsAttributes instead.
    AlertUrgencyId string
    ID for the default alert urgency assigned to this alert source
    DeduplicateAlertsByKey bool
    Toggle alert deduplication using deduplication key. If enabled, deduplicationkeykind and deduplicationkeypath are required.. Value must be one of true or false
    DeduplicationKeyKind string
    Kind of deduplication key.. Value must be one of payload.
    DeduplicationKeyPath string
    Path to deduplication key. This is a JSON Path to extract the deduplication key from the request body.
    DeduplicationKeyRegexp string
    Regular expression to extract key from value found at key path.
    Email string
    The email generated for email alert sources
    Name string
    The name of the alert source
    OwnerGroupIds List<string>
    List of team IDs that will own the alert source
    ResolutionRuleAttributes AlertsSourceResolutionRuleAttributes
    Provide additional attributes for email alerts source
    Secret string
    The secret used to authenticate non-email alert sources
    SourceType string
    The alert source type. Value must be one of email, appDynamics, catchpoint, datadog, dynatrace, alertmanager, googleCloud, grafana, sentry, genericWebhook, cloudWatch, awsSns, checkly, azure, newRelic, splunk, chronosphere, appOptics, bugSnag, honeycomb, monteCarlo, nagios, prtg.
    SourceableAttributes AlertsSourceSourceableAttributes
    Provide additional attributes for generic*webhook alerts source
    Status string
    The status of the alert source. Value must be one of connected, setupComplete, setupIncomplete.
    WebhookEndpoint string
    The webhook URL generated for non-email alert sources
    AlertSourceFieldsAttributes []AlertsSourceAlertSourceFieldsAttributeArgs
    List of alert fields to be added to the alert source. Note: This attribute requires the alert field feature to be enabled on your account. Contact Rootly customer support if you need assistance with this feature.
    AlertSourceUrgencyRulesAttributes []AlertsSourceAlertSourceUrgencyRulesAttributeArgs
    List of rules that define the conditions under which the alert urgency will be set automatically based on the alert payload
    AlertTemplateAttributes AlertsSourceAlertTemplateAttributesArgs
    Note that when alert fields are enabled at the team level, alert template attributes cannot be provided. Use alertSourceFieldsAttributes instead.
    AlertUrgencyId string
    ID for the default alert urgency assigned to this alert source
    DeduplicateAlertsByKey bool
    Toggle alert deduplication using deduplication key. If enabled, deduplicationkeykind and deduplicationkeypath are required.. Value must be one of true or false
    DeduplicationKeyKind string
    Kind of deduplication key.. Value must be one of payload.
    DeduplicationKeyPath string
    Path to deduplication key. This is a JSON Path to extract the deduplication key from the request body.
    DeduplicationKeyRegexp string
    Regular expression to extract key from value found at key path.
    Email string
    The email generated for email alert sources
    Name string
    The name of the alert source
    OwnerGroupIds []string
    List of team IDs that will own the alert source
    ResolutionRuleAttributes AlertsSourceResolutionRuleAttributesArgs
    Provide additional attributes for email alerts source
    Secret string
    The secret used to authenticate non-email alert sources
    SourceType string
    The alert source type. Value must be one of email, appDynamics, catchpoint, datadog, dynatrace, alertmanager, googleCloud, grafana, sentry, genericWebhook, cloudWatch, awsSns, checkly, azure, newRelic, splunk, chronosphere, appOptics, bugSnag, honeycomb, monteCarlo, nagios, prtg.
    SourceableAttributes AlertsSourceSourceableAttributesArgs
    Provide additional attributes for generic*webhook alerts source
    Status string
    The status of the alert source. Value must be one of connected, setupComplete, setupIncomplete.
    WebhookEndpoint string
    The webhook URL generated for non-email alert sources
    alertSourceFieldsAttributes List<AlertsSourceAlertSourceFieldsAttribute>
    List of alert fields to be added to the alert source. Note: This attribute requires the alert field feature to be enabled on your account. Contact Rootly customer support if you need assistance with this feature.
    alertSourceUrgencyRulesAttributes List<AlertsSourceAlertSourceUrgencyRulesAttribute>
    List of rules that define the conditions under which the alert urgency will be set automatically based on the alert payload
    alertTemplateAttributes AlertsSourceAlertTemplateAttributes
    Note that when alert fields are enabled at the team level, alert template attributes cannot be provided. Use alertSourceFieldsAttributes instead.
    alertUrgencyId String
    ID for the default alert urgency assigned to this alert source
    deduplicateAlertsByKey Boolean
    Toggle alert deduplication using deduplication key. If enabled, deduplicationkeykind and deduplicationkeypath are required.. Value must be one of true or false
    deduplicationKeyKind String
    Kind of deduplication key.. Value must be one of payload.
    deduplicationKeyPath String
    Path to deduplication key. This is a JSON Path to extract the deduplication key from the request body.
    deduplicationKeyRegexp String
    Regular expression to extract key from value found at key path.
    email String
    The email generated for email alert sources
    name String
    The name of the alert source
    ownerGroupIds List<String>
    List of team IDs that will own the alert source
    resolutionRuleAttributes AlertsSourceResolutionRuleAttributes
    Provide additional attributes for email alerts source
    secret String
    The secret used to authenticate non-email alert sources
    sourceType String
    The alert source type. Value must be one of email, appDynamics, catchpoint, datadog, dynatrace, alertmanager, googleCloud, grafana, sentry, genericWebhook, cloudWatch, awsSns, checkly, azure, newRelic, splunk, chronosphere, appOptics, bugSnag, honeycomb, monteCarlo, nagios, prtg.
    sourceableAttributes AlertsSourceSourceableAttributes
    Provide additional attributes for generic*webhook alerts source
    status String
    The status of the alert source. Value must be one of connected, setupComplete, setupIncomplete.
    webhookEndpoint String
    The webhook URL generated for non-email alert sources
    alertSourceFieldsAttributes AlertsSourceAlertSourceFieldsAttribute[]
    List of alert fields to be added to the alert source. Note: This attribute requires the alert field feature to be enabled on your account. Contact Rootly customer support if you need assistance with this feature.
    alertSourceUrgencyRulesAttributes AlertsSourceAlertSourceUrgencyRulesAttribute[]
    List of rules that define the conditions under which the alert urgency will be set automatically based on the alert payload
    alertTemplateAttributes AlertsSourceAlertTemplateAttributes
    Note that when alert fields are enabled at the team level, alert template attributes cannot be provided. Use alertSourceFieldsAttributes instead.
    alertUrgencyId string
    ID for the default alert urgency assigned to this alert source
    deduplicateAlertsByKey boolean
    Toggle alert deduplication using deduplication key. If enabled, deduplicationkeykind and deduplicationkeypath are required.. Value must be one of true or false
    deduplicationKeyKind string
    Kind of deduplication key.. Value must be one of payload.
    deduplicationKeyPath string
    Path to deduplication key. This is a JSON Path to extract the deduplication key from the request body.
    deduplicationKeyRegexp string
    Regular expression to extract key from value found at key path.
    email string
    The email generated for email alert sources
    name string
    The name of the alert source
    ownerGroupIds string[]
    List of team IDs that will own the alert source
    resolutionRuleAttributes AlertsSourceResolutionRuleAttributes
    Provide additional attributes for email alerts source
    secret string
    The secret used to authenticate non-email alert sources
    sourceType string
    The alert source type. Value must be one of email, appDynamics, catchpoint, datadog, dynatrace, alertmanager, googleCloud, grafana, sentry, genericWebhook, cloudWatch, awsSns, checkly, azure, newRelic, splunk, chronosphere, appOptics, bugSnag, honeycomb, monteCarlo, nagios, prtg.
    sourceableAttributes AlertsSourceSourceableAttributes
    Provide additional attributes for generic*webhook alerts source
    status string
    The status of the alert source. Value must be one of connected, setupComplete, setupIncomplete.
    webhookEndpoint string
    The webhook URL generated for non-email alert sources
    alert_source_fields_attributes Sequence[AlertsSourceAlertSourceFieldsAttributeArgs]
    List of alert fields to be added to the alert source. Note: This attribute requires the alert field feature to be enabled on your account. Contact Rootly customer support if you need assistance with this feature.
    alert_source_urgency_rules_attributes Sequence[AlertsSourceAlertSourceUrgencyRulesAttributeArgs]
    List of rules that define the conditions under which the alert urgency will be set automatically based on the alert payload
    alert_template_attributes AlertsSourceAlertTemplateAttributesArgs
    Note that when alert fields are enabled at the team level, alert template attributes cannot be provided. Use alertSourceFieldsAttributes instead.
    alert_urgency_id str
    ID for the default alert urgency assigned to this alert source
    deduplicate_alerts_by_key bool
    Toggle alert deduplication using deduplication key. If enabled, deduplicationkeykind and deduplicationkeypath are required.. Value must be one of true or false
    deduplication_key_kind str
    Kind of deduplication key.. Value must be one of payload.
    deduplication_key_path str
    Path to deduplication key. This is a JSON Path to extract the deduplication key from the request body.
    deduplication_key_regexp str
    Regular expression to extract key from value found at key path.
    email str
    The email generated for email alert sources
    name str
    The name of the alert source
    owner_group_ids Sequence[str]
    List of team IDs that will own the alert source
    resolution_rule_attributes AlertsSourceResolutionRuleAttributesArgs
    Provide additional attributes for email alerts source
    secret str
    The secret used to authenticate non-email alert sources
    source_type str
    The alert source type. Value must be one of email, appDynamics, catchpoint, datadog, dynatrace, alertmanager, googleCloud, grafana, sentry, genericWebhook, cloudWatch, awsSns, checkly, azure, newRelic, splunk, chronosphere, appOptics, bugSnag, honeycomb, monteCarlo, nagios, prtg.
    sourceable_attributes AlertsSourceSourceableAttributesArgs
    Provide additional attributes for generic*webhook alerts source
    status str
    The status of the alert source. Value must be one of connected, setupComplete, setupIncomplete.
    webhook_endpoint str
    The webhook URL generated for non-email alert sources
    alertSourceFieldsAttributes List<Property Map>
    List of alert fields to be added to the alert source. Note: This attribute requires the alert field feature to be enabled on your account. Contact Rootly customer support if you need assistance with this feature.
    alertSourceUrgencyRulesAttributes List<Property Map>
    List of rules that define the conditions under which the alert urgency will be set automatically based on the alert payload
    alertTemplateAttributes Property Map
    Note that when alert fields are enabled at the team level, alert template attributes cannot be provided. Use alertSourceFieldsAttributes instead.
    alertUrgencyId String
    ID for the default alert urgency assigned to this alert source
    deduplicateAlertsByKey Boolean
    Toggle alert deduplication using deduplication key. If enabled, deduplicationkeykind and deduplicationkeypath are required.. Value must be one of true or false
    deduplicationKeyKind String
    Kind of deduplication key.. Value must be one of payload.
    deduplicationKeyPath String
    Path to deduplication key. This is a JSON Path to extract the deduplication key from the request body.
    deduplicationKeyRegexp String
    Regular expression to extract key from value found at key path.
    email String
    The email generated for email alert sources
    name String
    The name of the alert source
    ownerGroupIds List<String>
    List of team IDs that will own the alert source
    resolutionRuleAttributes Property Map
    Provide additional attributes for email alerts source
    secret String
    The secret used to authenticate non-email alert sources
    sourceType String
    The alert source type. Value must be one of email, appDynamics, catchpoint, datadog, dynatrace, alertmanager, googleCloud, grafana, sentry, genericWebhook, cloudWatch, awsSns, checkly, azure, newRelic, splunk, chronosphere, appOptics, bugSnag, honeycomb, monteCarlo, nagios, prtg.
    sourceableAttributes Property Map
    Provide additional attributes for generic*webhook alerts source
    status String
    The status of the alert source. Value must be one of connected, setupComplete, setupIncomplete.
    webhookEndpoint String
    The webhook URL generated for non-email alert sources

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AlertsSource 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 AlertsSource Resource

    Get an existing AlertsSource 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?: AlertsSourceState, opts?: CustomResourceOptions): AlertsSource
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alert_source_fields_attributes: Optional[Sequence[AlertsSourceAlertSourceFieldsAttributeArgs]] = None,
            alert_source_urgency_rules_attributes: Optional[Sequence[AlertsSourceAlertSourceUrgencyRulesAttributeArgs]] = None,
            alert_template_attributes: Optional[AlertsSourceAlertTemplateAttributesArgs] = None,
            alert_urgency_id: Optional[str] = None,
            deduplicate_alerts_by_key: Optional[bool] = None,
            deduplication_key_kind: Optional[str] = None,
            deduplication_key_path: Optional[str] = None,
            deduplication_key_regexp: Optional[str] = None,
            email: Optional[str] = None,
            name: Optional[str] = None,
            owner_group_ids: Optional[Sequence[str]] = None,
            resolution_rule_attributes: Optional[AlertsSourceResolutionRuleAttributesArgs] = None,
            secret: Optional[str] = None,
            source_type: Optional[str] = None,
            sourceable_attributes: Optional[AlertsSourceSourceableAttributesArgs] = None,
            status: Optional[str] = None,
            webhook_endpoint: Optional[str] = None) -> AlertsSource
    func GetAlertsSource(ctx *Context, name string, id IDInput, state *AlertsSourceState, opts ...ResourceOption) (*AlertsSource, error)
    public static AlertsSource Get(string name, Input<string> id, AlertsSourceState? state, CustomResourceOptions? opts = null)
    public static AlertsSource get(String name, Output<String> id, AlertsSourceState state, CustomResourceOptions options)
    resources:  _:    type: rootly:AlertsSource    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:
    AlertSourceFieldsAttributes List<AlertsSourceAlertSourceFieldsAttribute>
    List of alert fields to be added to the alert source. Note: This attribute requires the alert field feature to be enabled on your account. Contact Rootly customer support if you need assistance with this feature.
    AlertSourceUrgencyRulesAttributes List<AlertsSourceAlertSourceUrgencyRulesAttribute>
    List of rules that define the conditions under which the alert urgency will be set automatically based on the alert payload
    AlertTemplateAttributes AlertsSourceAlertTemplateAttributes
    Note that when alert fields are enabled at the team level, alert template attributes cannot be provided. Use alertSourceFieldsAttributes instead.
    AlertUrgencyId string
    ID for the default alert urgency assigned to this alert source
    DeduplicateAlertsByKey bool
    Toggle alert deduplication using deduplication key. If enabled, deduplicationkeykind and deduplicationkeypath are required.. Value must be one of true or false
    DeduplicationKeyKind string
    Kind of deduplication key.. Value must be one of payload.
    DeduplicationKeyPath string
    Path to deduplication key. This is a JSON Path to extract the deduplication key from the request body.
    DeduplicationKeyRegexp string
    Regular expression to extract key from value found at key path.
    Email string
    The email generated for email alert sources
    Name string
    The name of the alert source
    OwnerGroupIds List<string>
    List of team IDs that will own the alert source
    ResolutionRuleAttributes AlertsSourceResolutionRuleAttributes
    Provide additional attributes for email alerts source
    Secret string
    The secret used to authenticate non-email alert sources
    SourceType string
    The alert source type. Value must be one of email, appDynamics, catchpoint, datadog, dynatrace, alertmanager, googleCloud, grafana, sentry, genericWebhook, cloudWatch, awsSns, checkly, azure, newRelic, splunk, chronosphere, appOptics, bugSnag, honeycomb, monteCarlo, nagios, prtg.
    SourceableAttributes AlertsSourceSourceableAttributes
    Provide additional attributes for generic*webhook alerts source
    Status string
    The status of the alert source. Value must be one of connected, setupComplete, setupIncomplete.
    WebhookEndpoint string
    The webhook URL generated for non-email alert sources
    AlertSourceFieldsAttributes []AlertsSourceAlertSourceFieldsAttributeArgs
    List of alert fields to be added to the alert source. Note: This attribute requires the alert field feature to be enabled on your account. Contact Rootly customer support if you need assistance with this feature.
    AlertSourceUrgencyRulesAttributes []AlertsSourceAlertSourceUrgencyRulesAttributeArgs
    List of rules that define the conditions under which the alert urgency will be set automatically based on the alert payload
    AlertTemplateAttributes AlertsSourceAlertTemplateAttributesArgs
    Note that when alert fields are enabled at the team level, alert template attributes cannot be provided. Use alertSourceFieldsAttributes instead.
    AlertUrgencyId string
    ID for the default alert urgency assigned to this alert source
    DeduplicateAlertsByKey bool
    Toggle alert deduplication using deduplication key. If enabled, deduplicationkeykind and deduplicationkeypath are required.. Value must be one of true or false
    DeduplicationKeyKind string
    Kind of deduplication key.. Value must be one of payload.
    DeduplicationKeyPath string
    Path to deduplication key. This is a JSON Path to extract the deduplication key from the request body.
    DeduplicationKeyRegexp string
    Regular expression to extract key from value found at key path.
    Email string
    The email generated for email alert sources
    Name string
    The name of the alert source
    OwnerGroupIds []string
    List of team IDs that will own the alert source
    ResolutionRuleAttributes AlertsSourceResolutionRuleAttributesArgs
    Provide additional attributes for email alerts source
    Secret string
    The secret used to authenticate non-email alert sources
    SourceType string
    The alert source type. Value must be one of email, appDynamics, catchpoint, datadog, dynatrace, alertmanager, googleCloud, grafana, sentry, genericWebhook, cloudWatch, awsSns, checkly, azure, newRelic, splunk, chronosphere, appOptics, bugSnag, honeycomb, monteCarlo, nagios, prtg.
    SourceableAttributes AlertsSourceSourceableAttributesArgs
    Provide additional attributes for generic*webhook alerts source
    Status string
    The status of the alert source. Value must be one of connected, setupComplete, setupIncomplete.
    WebhookEndpoint string
    The webhook URL generated for non-email alert sources
    alertSourceFieldsAttributes List<AlertsSourceAlertSourceFieldsAttribute>
    List of alert fields to be added to the alert source. Note: This attribute requires the alert field feature to be enabled on your account. Contact Rootly customer support if you need assistance with this feature.
    alertSourceUrgencyRulesAttributes List<AlertsSourceAlertSourceUrgencyRulesAttribute>
    List of rules that define the conditions under which the alert urgency will be set automatically based on the alert payload
    alertTemplateAttributes AlertsSourceAlertTemplateAttributes
    Note that when alert fields are enabled at the team level, alert template attributes cannot be provided. Use alertSourceFieldsAttributes instead.
    alertUrgencyId String
    ID for the default alert urgency assigned to this alert source
    deduplicateAlertsByKey Boolean
    Toggle alert deduplication using deduplication key. If enabled, deduplicationkeykind and deduplicationkeypath are required.. Value must be one of true or false
    deduplicationKeyKind String
    Kind of deduplication key.. Value must be one of payload.
    deduplicationKeyPath String
    Path to deduplication key. This is a JSON Path to extract the deduplication key from the request body.
    deduplicationKeyRegexp String
    Regular expression to extract key from value found at key path.
    email String
    The email generated for email alert sources
    name String
    The name of the alert source
    ownerGroupIds List<String>
    List of team IDs that will own the alert source
    resolutionRuleAttributes AlertsSourceResolutionRuleAttributes
    Provide additional attributes for email alerts source
    secret String
    The secret used to authenticate non-email alert sources
    sourceType String
    The alert source type. Value must be one of email, appDynamics, catchpoint, datadog, dynatrace, alertmanager, googleCloud, grafana, sentry, genericWebhook, cloudWatch, awsSns, checkly, azure, newRelic, splunk, chronosphere, appOptics, bugSnag, honeycomb, monteCarlo, nagios, prtg.
    sourceableAttributes AlertsSourceSourceableAttributes
    Provide additional attributes for generic*webhook alerts source
    status String
    The status of the alert source. Value must be one of connected, setupComplete, setupIncomplete.
    webhookEndpoint String
    The webhook URL generated for non-email alert sources
    alertSourceFieldsAttributes AlertsSourceAlertSourceFieldsAttribute[]
    List of alert fields to be added to the alert source. Note: This attribute requires the alert field feature to be enabled on your account. Contact Rootly customer support if you need assistance with this feature.
    alertSourceUrgencyRulesAttributes AlertsSourceAlertSourceUrgencyRulesAttribute[]
    List of rules that define the conditions under which the alert urgency will be set automatically based on the alert payload
    alertTemplateAttributes AlertsSourceAlertTemplateAttributes
    Note that when alert fields are enabled at the team level, alert template attributes cannot be provided. Use alertSourceFieldsAttributes instead.
    alertUrgencyId string
    ID for the default alert urgency assigned to this alert source
    deduplicateAlertsByKey boolean
    Toggle alert deduplication using deduplication key. If enabled, deduplicationkeykind and deduplicationkeypath are required.. Value must be one of true or false
    deduplicationKeyKind string
    Kind of deduplication key.. Value must be one of payload.
    deduplicationKeyPath string
    Path to deduplication key. This is a JSON Path to extract the deduplication key from the request body.
    deduplicationKeyRegexp string
    Regular expression to extract key from value found at key path.
    email string
    The email generated for email alert sources
    name string
    The name of the alert source
    ownerGroupIds string[]
    List of team IDs that will own the alert source
    resolutionRuleAttributes AlertsSourceResolutionRuleAttributes
    Provide additional attributes for email alerts source
    secret string
    The secret used to authenticate non-email alert sources
    sourceType string
    The alert source type. Value must be one of email, appDynamics, catchpoint, datadog, dynatrace, alertmanager, googleCloud, grafana, sentry, genericWebhook, cloudWatch, awsSns, checkly, azure, newRelic, splunk, chronosphere, appOptics, bugSnag, honeycomb, monteCarlo, nagios, prtg.
    sourceableAttributes AlertsSourceSourceableAttributes
    Provide additional attributes for generic*webhook alerts source
    status string
    The status of the alert source. Value must be one of connected, setupComplete, setupIncomplete.
    webhookEndpoint string
    The webhook URL generated for non-email alert sources
    alert_source_fields_attributes Sequence[AlertsSourceAlertSourceFieldsAttributeArgs]
    List of alert fields to be added to the alert source. Note: This attribute requires the alert field feature to be enabled on your account. Contact Rootly customer support if you need assistance with this feature.
    alert_source_urgency_rules_attributes Sequence[AlertsSourceAlertSourceUrgencyRulesAttributeArgs]
    List of rules that define the conditions under which the alert urgency will be set automatically based on the alert payload
    alert_template_attributes AlertsSourceAlertTemplateAttributesArgs
    Note that when alert fields are enabled at the team level, alert template attributes cannot be provided. Use alertSourceFieldsAttributes instead.
    alert_urgency_id str
    ID for the default alert urgency assigned to this alert source
    deduplicate_alerts_by_key bool
    Toggle alert deduplication using deduplication key. If enabled, deduplicationkeykind and deduplicationkeypath are required.. Value must be one of true or false
    deduplication_key_kind str
    Kind of deduplication key.. Value must be one of payload.
    deduplication_key_path str
    Path to deduplication key. This is a JSON Path to extract the deduplication key from the request body.
    deduplication_key_regexp str
    Regular expression to extract key from value found at key path.
    email str
    The email generated for email alert sources
    name str
    The name of the alert source
    owner_group_ids Sequence[str]
    List of team IDs that will own the alert source
    resolution_rule_attributes AlertsSourceResolutionRuleAttributesArgs
    Provide additional attributes for email alerts source
    secret str
    The secret used to authenticate non-email alert sources
    source_type str
    The alert source type. Value must be one of email, appDynamics, catchpoint, datadog, dynatrace, alertmanager, googleCloud, grafana, sentry, genericWebhook, cloudWatch, awsSns, checkly, azure, newRelic, splunk, chronosphere, appOptics, bugSnag, honeycomb, monteCarlo, nagios, prtg.
    sourceable_attributes AlertsSourceSourceableAttributesArgs
    Provide additional attributes for generic*webhook alerts source
    status str
    The status of the alert source. Value must be one of connected, setupComplete, setupIncomplete.
    webhook_endpoint str
    The webhook URL generated for non-email alert sources
    alertSourceFieldsAttributes List<Property Map>
    List of alert fields to be added to the alert source. Note: This attribute requires the alert field feature to be enabled on your account. Contact Rootly customer support if you need assistance with this feature.
    alertSourceUrgencyRulesAttributes List<Property Map>
    List of rules that define the conditions under which the alert urgency will be set automatically based on the alert payload
    alertTemplateAttributes Property Map
    Note that when alert fields are enabled at the team level, alert template attributes cannot be provided. Use alertSourceFieldsAttributes instead.
    alertUrgencyId String
    ID for the default alert urgency assigned to this alert source
    deduplicateAlertsByKey Boolean
    Toggle alert deduplication using deduplication key. If enabled, deduplicationkeykind and deduplicationkeypath are required.. Value must be one of true or false
    deduplicationKeyKind String
    Kind of deduplication key.. Value must be one of payload.
    deduplicationKeyPath String
    Path to deduplication key. This is a JSON Path to extract the deduplication key from the request body.
    deduplicationKeyRegexp String
    Regular expression to extract key from value found at key path.
    email String
    The email generated for email alert sources
    name String
    The name of the alert source
    ownerGroupIds List<String>
    List of team IDs that will own the alert source
    resolutionRuleAttributes Property Map
    Provide additional attributes for email alerts source
    secret String
    The secret used to authenticate non-email alert sources
    sourceType String
    The alert source type. Value must be one of email, appDynamics, catchpoint, datadog, dynatrace, alertmanager, googleCloud, grafana, sentry, genericWebhook, cloudWatch, awsSns, checkly, azure, newRelic, splunk, chronosphere, appOptics, bugSnag, honeycomb, monteCarlo, nagios, prtg.
    sourceableAttributes Property Map
    Provide additional attributes for generic*webhook alerts source
    status String
    The status of the alert source. Value must be one of connected, setupComplete, setupIncomplete.
    webhookEndpoint String
    The webhook URL generated for non-email alert sources

    Supporting Types

    AlertsSourceAlertSourceFieldsAttribute, AlertsSourceAlertSourceFieldsAttributeArgs

    AlertFieldId string
    The ID of the alert field
    TemplateBody string
    Liquid expression to extract a specific value from the alert's payload for evaluation
    AlertFieldId string
    The ID of the alert field
    TemplateBody string
    Liquid expression to extract a specific value from the alert's payload for evaluation
    alertFieldId String
    The ID of the alert field
    templateBody String
    Liquid expression to extract a specific value from the alert's payload for evaluation
    alertFieldId string
    The ID of the alert field
    templateBody string
    Liquid expression to extract a specific value from the alert's payload for evaluation
    alert_field_id str
    The ID of the alert field
    template_body str
    Liquid expression to extract a specific value from the alert's payload for evaluation
    alertFieldId String
    The ID of the alert field
    templateBody String
    Liquid expression to extract a specific value from the alert's payload for evaluation

    AlertsSourceAlertSourceUrgencyRulesAttribute, AlertsSourceAlertSourceUrgencyRulesAttributeArgs

    AlertUrgencyId string
    The ID of the alert urgency
    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 or (empty string).
    JsonPath string
    JSON path expression to extract a specific value from the alert's payload for evaluation
    Kind string
    The kind of the conditionable. Value must be one of payload, alertField.
    Operator string
    Comparison operator used to evaluate the extracted value against the specified condition. Value must be one of is, isNot, contains, doesNotContain.
    Value string
    Value that the extracted payload data is compared to using the specified operator to determine a match
    AlertUrgencyId string
    The ID of the alert urgency
    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 or (empty string).
    JsonPath string
    JSON path expression to extract a specific value from the alert's payload for evaluation
    Kind string
    The kind of the conditionable. Value must be one of payload, alertField.
    Operator string
    Comparison operator used to evaluate the extracted value against the specified condition. Value must be one of is, isNot, contains, doesNotContain.
    Value string
    Value that the extracted payload data is compared to using the specified operator to determine a match
    alertUrgencyId String
    The ID of the alert urgency
    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 or (empty string).
    jsonPath String
    JSON path expression to extract a specific value from the alert's payload for evaluation
    kind String
    The kind of the conditionable. Value must be one of payload, alertField.
    operator String
    Comparison operator used to evaluate the extracted value against the specified condition. Value must be one of is, isNot, contains, doesNotContain.
    value String
    Value that the extracted payload data is compared to using the specified operator to determine a match
    alertUrgencyId string
    The ID of the alert urgency
    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 or (empty string).
    jsonPath string
    JSON path expression to extract a specific value from the alert's payload for evaluation
    kind string
    The kind of the conditionable. Value must be one of payload, alertField.
    operator string
    Comparison operator used to evaluate the extracted value against the specified condition. Value must be one of is, isNot, contains, doesNotContain.
    value string
    Value that the extracted payload data is compared to using the specified operator to determine a match
    alert_urgency_id str
    The ID of the alert urgency
    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 or (empty string).
    json_path str
    JSON path expression to extract a specific value from the alert's payload for evaluation
    kind str
    The kind of the conditionable. Value must be one of payload, alertField.
    operator str
    Comparison operator used to evaluate the extracted value against the specified condition. Value must be one of is, isNot, contains, doesNotContain.
    value str
    Value that the extracted payload data is compared to using the specified operator to determine a match
    alertUrgencyId String
    The ID of the alert urgency
    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 or (empty string).
    jsonPath String
    JSON path expression to extract a specific value from the alert's payload for evaluation
    kind String
    The kind of the conditionable. Value must be one of payload, alertField.
    operator String
    Comparison operator used to evaluate the extracted value against the specified condition. Value must be one of is, isNot, contains, doesNotContain.
    value String
    Value that the extracted payload data is compared to using the specified operator to determine a match

    AlertsSourceAlertTemplateAttributes, AlertsSourceAlertTemplateAttributesArgs

    Description string
    The alert description.
    ExternalUrl string
    The alert URL.
    Title string
    The alert title.
    Description string
    The alert description.
    ExternalUrl string
    The alert URL.
    Title string
    The alert title.
    description String
    The alert description.
    externalUrl String
    The alert URL.
    title String
    The alert title.
    description string
    The alert description.
    externalUrl string
    The alert URL.
    title string
    The alert title.
    description str
    The alert description.
    external_url str
    The alert URL.
    title str
    The alert title.
    description String
    The alert description.
    externalUrl String
    The alert URL.
    title String
    The alert title.

    AlertsSourceResolutionRuleAttributes, AlertsSourceResolutionRuleAttributesArgs

    ConditionType string
    The type of condition to evaluate to apply auto resolution rule. Value must be one of all, any.
    ConditionsAttributes List<AlertsSourceResolutionRuleAttributesConditionsAttribute>
    List of conditions to evaluate for auto resolution
    Enabled bool
    IdentifierJsonPath string
    JSON path expression to extract unique alert identifier used to match triggered alerts with resolving alerts
    IdentifierMatchableId string
    The ID of the identifier matchable. If identifiermatchabletype is AlertField, this is the ID of the alert field.
    IdentifierMatchableType string
    The type of the identifier matchable. Value must be one of AlertField.
    IdentifierReferenceKind string
    The kind of the identifier reference. Value must be one of payload, alertField.
    IdentifierValueRegex string
    Regex group to further specify the part of the string used as a unique identifier
    ConditionType string
    The type of condition to evaluate to apply auto resolution rule. Value must be one of all, any.
    ConditionsAttributes []AlertsSourceResolutionRuleAttributesConditionsAttribute
    List of conditions to evaluate for auto resolution
    Enabled bool
    IdentifierJsonPath string
    JSON path expression to extract unique alert identifier used to match triggered alerts with resolving alerts
    IdentifierMatchableId string
    The ID of the identifier matchable. If identifiermatchabletype is AlertField, this is the ID of the alert field.
    IdentifierMatchableType string
    The type of the identifier matchable. Value must be one of AlertField.
    IdentifierReferenceKind string
    The kind of the identifier reference. Value must be one of payload, alertField.
    IdentifierValueRegex string
    Regex group to further specify the part of the string used as a unique identifier
    conditionType String
    The type of condition to evaluate to apply auto resolution rule. Value must be one of all, any.
    conditionsAttributes List<AlertsSourceResolutionRuleAttributesConditionsAttribute>
    List of conditions to evaluate for auto resolution
    enabled Boolean
    identifierJsonPath String
    JSON path expression to extract unique alert identifier used to match triggered alerts with resolving alerts
    identifierMatchableId String
    The ID of the identifier matchable. If identifiermatchabletype is AlertField, this is the ID of the alert field.
    identifierMatchableType String
    The type of the identifier matchable. Value must be one of AlertField.
    identifierReferenceKind String
    The kind of the identifier reference. Value must be one of payload, alertField.
    identifierValueRegex String
    Regex group to further specify the part of the string used as a unique identifier
    conditionType string
    The type of condition to evaluate to apply auto resolution rule. Value must be one of all, any.
    conditionsAttributes AlertsSourceResolutionRuleAttributesConditionsAttribute[]
    List of conditions to evaluate for auto resolution
    enabled boolean
    identifierJsonPath string
    JSON path expression to extract unique alert identifier used to match triggered alerts with resolving alerts
    identifierMatchableId string
    The ID of the identifier matchable. If identifiermatchabletype is AlertField, this is the ID of the alert field.
    identifierMatchableType string
    The type of the identifier matchable. Value must be one of AlertField.
    identifierReferenceKind string
    The kind of the identifier reference. Value must be one of payload, alertField.
    identifierValueRegex string
    Regex group to further specify the part of the string used as a unique identifier
    condition_type str
    The type of condition to evaluate to apply auto resolution rule. Value must be one of all, any.
    conditions_attributes Sequence[AlertsSourceResolutionRuleAttributesConditionsAttribute]
    List of conditions to evaluate for auto resolution
    enabled bool
    identifier_json_path str
    JSON path expression to extract unique alert identifier used to match triggered alerts with resolving alerts
    identifier_matchable_id str
    The ID of the identifier matchable. If identifiermatchabletype is AlertField, this is the ID of the alert field.
    identifier_matchable_type str
    The type of the identifier matchable. Value must be one of AlertField.
    identifier_reference_kind str
    The kind of the identifier reference. Value must be one of payload, alertField.
    identifier_value_regex str
    Regex group to further specify the part of the string used as a unique identifier
    conditionType String
    The type of condition to evaluate to apply auto resolution rule. Value must be one of all, any.
    conditionsAttributes List<Property Map>
    List of conditions to evaluate for auto resolution
    enabled Boolean
    identifierJsonPath String
    JSON path expression to extract unique alert identifier used to match triggered alerts with resolving alerts
    identifierMatchableId String
    The ID of the identifier matchable. If identifiermatchabletype is AlertField, this is the ID of the alert field.
    identifierMatchableType String
    The type of the identifier matchable. Value must be one of AlertField.
    identifierReferenceKind String
    The kind of the identifier reference. Value must be one of payload, alertField.
    identifierValueRegex String
    Regex group to further specify the part of the string used as a unique identifier

    AlertsSourceResolutionRuleAttributesConditionsAttribute, AlertsSourceResolutionRuleAttributesConditionsAttributeArgs

    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 or (empty string).
    Field string
    JSON path expression to extract a specific value from the alert's payload for evaluation
    Kind string
    The kind of the conditionable. Value must be one of payload, alertField.
    Operator string
    Comparison operator used to evaluate the extracted value against the specified condition. Value must be one of is, isNot, contains, doesNotContain, startsWith, endsWith.
    Value string
    Value that the extracted payload data is compared to using the specified operator to determine a match
    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 or (empty string).
    Field string
    JSON path expression to extract a specific value from the alert's payload for evaluation
    Kind string
    The kind of the conditionable. Value must be one of payload, alertField.
    Operator string
    Comparison operator used to evaluate the extracted value against the specified condition. Value must be one of is, isNot, contains, doesNotContain, startsWith, endsWith.
    Value string
    Value that the extracted payload data is compared to using the specified operator to determine a match
    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 or (empty string).
    field String
    JSON path expression to extract a specific value from the alert's payload for evaluation
    kind String
    The kind of the conditionable. Value must be one of payload, alertField.
    operator String
    Comparison operator used to evaluate the extracted value against the specified condition. Value must be one of is, isNot, contains, doesNotContain, startsWith, endsWith.
    value String
    Value that the extracted payload data is compared to using the specified operator to determine a match
    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 or (empty string).
    field string
    JSON path expression to extract a specific value from the alert's payload for evaluation
    kind string
    The kind of the conditionable. Value must be one of payload, alertField.
    operator string
    Comparison operator used to evaluate the extracted value against the specified condition. Value must be one of is, isNot, contains, doesNotContain, startsWith, endsWith.
    value string
    Value that the extracted payload data is compared to using the specified operator to determine a match
    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 or (empty string).
    field str
    JSON path expression to extract a specific value from the alert's payload for evaluation
    kind str
    The kind of the conditionable. Value must be one of payload, alertField.
    operator str
    Comparison operator used to evaluate the extracted value against the specified condition. Value must be one of is, isNot, contains, doesNotContain, startsWith, endsWith.
    value str
    Value that the extracted payload data is compared to using the specified operator to determine a match
    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 or (empty string).
    field String
    JSON path expression to extract a specific value from the alert's payload for evaluation
    kind String
    The kind of the conditionable. Value must be one of payload, alertField.
    operator String
    Comparison operator used to evaluate the extracted value against the specified condition. Value must be one of is, isNot, contains, doesNotContain, startsWith, endsWith.
    value String
    Value that the extracted payload data is compared to using the specified operator to determine a match

    AlertsSourceSourceableAttributes, AlertsSourceSourceableAttributesArgs

    AcceptThreadedEmails bool
    Set this to false to reject threaded emails. Value must be one of true or false
    AutoResolve bool
    Set this to true to auto-resolve alerts based on fieldmappingsattributes conditions. Value must be one of true or false
    FieldMappingsAttributes List<AlertsSourceSourceableAttributesFieldMappingsAttribute>
    Specify rules to auto resolve alerts
    ResolveState string
    This value is matched with the value extracted from alerts payload using JSON path in fieldmappingsattributes
    AcceptThreadedEmails bool
    Set this to false to reject threaded emails. Value must be one of true or false
    AutoResolve bool
    Set this to true to auto-resolve alerts based on fieldmappingsattributes conditions. Value must be one of true or false
    FieldMappingsAttributes []AlertsSourceSourceableAttributesFieldMappingsAttribute
    Specify rules to auto resolve alerts
    ResolveState string
    This value is matched with the value extracted from alerts payload using JSON path in fieldmappingsattributes
    acceptThreadedEmails Boolean
    Set this to false to reject threaded emails. Value must be one of true or false
    autoResolve Boolean
    Set this to true to auto-resolve alerts based on fieldmappingsattributes conditions. Value must be one of true or false
    fieldMappingsAttributes List<AlertsSourceSourceableAttributesFieldMappingsAttribute>
    Specify rules to auto resolve alerts
    resolveState String
    This value is matched with the value extracted from alerts payload using JSON path in fieldmappingsattributes
    acceptThreadedEmails boolean
    Set this to false to reject threaded emails. Value must be one of true or false
    autoResolve boolean
    Set this to true to auto-resolve alerts based on fieldmappingsattributes conditions. Value must be one of true or false
    fieldMappingsAttributes AlertsSourceSourceableAttributesFieldMappingsAttribute[]
    Specify rules to auto resolve alerts
    resolveState string
    This value is matched with the value extracted from alerts payload using JSON path in fieldmappingsattributes
    accept_threaded_emails bool
    Set this to false to reject threaded emails. Value must be one of true or false
    auto_resolve bool
    Set this to true to auto-resolve alerts based on fieldmappingsattributes conditions. Value must be one of true or false
    field_mappings_attributes Sequence[AlertsSourceSourceableAttributesFieldMappingsAttribute]
    Specify rules to auto resolve alerts
    resolve_state str
    This value is matched with the value extracted from alerts payload using JSON path in fieldmappingsattributes
    acceptThreadedEmails Boolean
    Set this to false to reject threaded emails. Value must be one of true or false
    autoResolve Boolean
    Set this to true to auto-resolve alerts based on fieldmappingsattributes conditions. Value must be one of true or false
    fieldMappingsAttributes List<Property Map>
    Specify rules to auto resolve alerts
    resolveState String
    This value is matched with the value extracted from alerts payload using JSON path in fieldmappingsattributes

    AlertsSourceSourceableAttributesFieldMappingsAttribute, AlertsSourceSourceableAttributesFieldMappingsAttributeArgs

    Field string
    Select the field on which the condition to be evaluated. Value must be one of externalId, state, alertTitle, alertExternalUrl, notificationTargetType, notificationTargetId.
    JsonPath string
    JSON path expression to extract a specific value from the alert's payload for evaluation
    Field string
    Select the field on which the condition to be evaluated. Value must be one of externalId, state, alertTitle, alertExternalUrl, notificationTargetType, notificationTargetId.
    JsonPath string
    JSON path expression to extract a specific value from the alert's payload for evaluation
    field String
    Select the field on which the condition to be evaluated. Value must be one of externalId, state, alertTitle, alertExternalUrl, notificationTargetType, notificationTargetId.
    jsonPath String
    JSON path expression to extract a specific value from the alert's payload for evaluation
    field string
    Select the field on which the condition to be evaluated. Value must be one of externalId, state, alertTitle, alertExternalUrl, notificationTargetType, notificationTargetId.
    jsonPath string
    JSON path expression to extract a specific value from the alert's payload for evaluation
    field str
    Select the field on which the condition to be evaluated. Value must be one of externalId, state, alertTitle, alertExternalUrl, notificationTargetType, notificationTargetId.
    json_path str
    JSON path expression to extract a specific value from the alert's payload for evaluation
    field String
    Select the field on which the condition to be evaluated. Value must be one of externalId, state, alertTitle, alertExternalUrl, notificationTargetType, notificationTargetId.
    jsonPath String
    JSON path expression to extract a specific value from the alert's payload for evaluation

    Import

    rootly.AlertsSource can be imported using the import command.

    $ pulumi import rootly:index/alertsSource:AlertsSource 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.