1. Packages
  2. Incident Provider
  3. API Docs
  4. AlertSource
incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io

incident.AlertSource

Explore with Pulumi AI

incident logo
incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io

    Configure your alert sources in incident.io.

    Alert sources are the systems that send alerts to incident.io, which can then be routed to the right people and teams.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    import * as incident from "@pulumi/incident";
    
    //# Create a basic Alert Source that recieves from an SNS Topic in AWS
    const cloudwatch = new incident.AlertSource("cloudwatch", {
        sourceType: "cloudwatch",
        template: {
            title: {
                literal: JSON.stringify({
                    content: [{
                        content: [{
                            attrs: {
                                label: "Payload → Title",
                                missing: false,
                                name: "title",
                            },
                            type: "varSpec",
                        }],
                        type: "paragraph",
                    }],
                    type: "doc",
                }),
            },
            description: {
                literal: JSON.stringify({
                    content: [{
                        content: [{
                            attrs: {
                                label: "Payload → Description",
                                missing: false,
                                name: "description",
                            },
                            type: "varSpec",
                        }],
                        type: "paragraph",
                    }],
                    type: "doc",
                }),
            },
            attributes: [{
                alertAttributeId: data.incident_alert_attribute.team.id,
                binding: {
                    value: {
                        reference: "expressions[\"cloudwatch-team\"]",
                    },
                },
            }],
            expressions: [{
                label: "Team",
                operations: [{
                    operationType: "parse",
                    parse: {
                        returns: {
                            array: false,
                            type: "CatalogEntry[\"CatalogEntryID\"]",
                        },
                        source: "$['query_params']['team']",
                    },
                }],
                reference: "cloudwatch-team",
                rootReference: "payload",
            }],
        },
    });
    //# The `team` Alert Attribute we've configured to label Alerts and route alerts to schedules
    const squad = incident.getAlertAttribute({
        name: "Team",
    });
    const alerts = new aws.index.Aws_sns_topic("alerts", {name: "cloudwatch-alerts"});
    //# SNS Topic Subscription that routes to the incident.io Alert Source created above
    const incidentioAlertSource = new aws.index.Aws_sns_topic_subscription("incidentioAlertSource", {
        endpoint: `https://api.incident.io/v2/alert_events/cloudwatch/${cloudwatch.id}?team=platform`,
        endpointAutoConfirms: true,
        protocol: "https",
        topicArn: alerts.arn,
    });
    
    import pulumi
    import json
    import pulumi_aws as aws
    import pulumi_incident as incident
    
    ## Create a basic Alert Source that recieves from an SNS Topic in AWS
    cloudwatch = incident.AlertSource("cloudwatch",
        source_type="cloudwatch",
        template={
            "title": {
                "literal": json.dumps({
                    "content": [{
                        "content": [{
                            "attrs": {
                                "label": "Payload → Title",
                                "missing": False,
                                "name": "title",
                            },
                            "type": "varSpec",
                        }],
                        "type": "paragraph",
                    }],
                    "type": "doc",
                }),
            },
            "description": {
                "literal": json.dumps({
                    "content": [{
                        "content": [{
                            "attrs": {
                                "label": "Payload → Description",
                                "missing": False,
                                "name": "description",
                            },
                            "type": "varSpec",
                        }],
                        "type": "paragraph",
                    }],
                    "type": "doc",
                }),
            },
            "attributes": [{
                "alert_attribute_id": data["incident_alert_attribute"]["team"]["id"],
                "binding": {
                    "value": {
                        "reference": "expressions[\"cloudwatch-team\"]",
                    },
                },
            }],
            "expressions": [{
                "label": "Team",
                "operations": [{
                    "operation_type": "parse",
                    "parse": {
                        "returns": {
                            "array": False,
                            "type": "CatalogEntry[\"CatalogEntryID\"]",
                        },
                        "source": "$['query_params']['team']",
                    },
                }],
                "reference": "cloudwatch-team",
                "root_reference": "payload",
            }],
        })
    ## The `team` Alert Attribute we've configured to label Alerts and route alerts to schedules
    squad = incident.get_alert_attribute(name="Team")
    alerts = aws.index.Aws_sns_topic("alerts", name=cloudwatch-alerts)
    ## SNS Topic Subscription that routes to the incident.io Alert Source created above
    incidentio_alert_source = aws.index.Aws_sns_topic_subscription("incidentioAlertSource",
        endpoint=fhttps://api.incident.io/v2/alert_events/cloudwatch/{cloudwatch.id}?team=platform,
        endpoint_auto_confirms=True,
        protocol=https,
        topic_arn=alerts.arn)
    
    package main
    
    import (
    	"encoding/json"
    	"fmt"
    
    	"github.com/pulumi/pulumi-aws/sdk/go/aws"
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/incident/v5/incident"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		tmpJSON0, err := json.Marshal(map[string]interface{}{
    			"content": []map[string]interface{}{
    				map[string]interface{}{
    					"content": []map[string]interface{}{
    						map[string]interface{}{
    							"attrs": map[string]interface{}{
    								"label":   "Payload → Title",
    								"missing": false,
    								"name":    "title",
    							},
    							"type": "varSpec",
    						},
    					},
    					"type": "paragraph",
    				},
    			},
    			"type": "doc",
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		tmpJSON1, err := json.Marshal(map[string]interface{}{
    			"content": []map[string]interface{}{
    				map[string]interface{}{
    					"content": []map[string]interface{}{
    						map[string]interface{}{
    							"attrs": map[string]interface{}{
    								"label":   "Payload → Description",
    								"missing": false,
    								"name":    "description",
    							},
    							"type": "varSpec",
    						},
    					},
    					"type": "paragraph",
    				},
    			},
    			"type": "doc",
    		})
    		if err != nil {
    			return err
    		}
    		json1 := string(tmpJSON1)
    		// # Create a basic Alert Source that recieves from an SNS Topic in AWS
    		cloudwatch, err := incident.NewAlertSource(ctx, "cloudwatch", &incident.AlertSourceArgs{
    			SourceType: pulumi.String("cloudwatch"),
    			Template: &incident.AlertSourceTemplateArgs{
    				Title: &incident.AlertSourceTemplateTitleArgs{
    					Literal: pulumi.String(json0),
    				},
    				Description: &incident.AlertSourceTemplateDescriptionArgs{
    					Literal: pulumi.String(json1),
    				},
    				Attributes: incident.AlertSourceTemplateAttributeArray{
    					&incident.AlertSourceTemplateAttributeArgs{
    						AlertAttributeId: pulumi.Any(data.Incident_alert_attribute.Team.Id),
    						Binding: &incident.AlertSourceTemplateAttributeBindingArgs{
    							Value: &incident.AlertSourceTemplateAttributeBindingValueArgs{
    								Reference: pulumi.String("expressions[\"cloudwatch-team\"]"),
    							},
    						},
    					},
    				},
    				Expressions: incident.AlertSourceTemplateExpressionArray{
    					&incident.AlertSourceTemplateExpressionArgs{
    						Label: pulumi.String("Team"),
    						Operations: incident.AlertSourceTemplateExpressionOperationArray{
    							&incident.AlertSourceTemplateExpressionOperationArgs{
    								OperationType: pulumi.String("parse"),
    								Parse: &incident.AlertSourceTemplateExpressionOperationParseArgs{
    									Returns: &incident.AlertSourceTemplateExpressionOperationParseReturnsArgs{
    										Array: pulumi.Bool(false),
    										Type:  pulumi.String("CatalogEntry[\"CatalogEntryID\"]"),
    									},
    									Source: pulumi.String("$['query_params']['team']"),
    								},
    							},
    						},
    						Reference:     pulumi.String("cloudwatch-team"),
    						RootReference: pulumi.String("payload"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = incident.LookupAlertAttribute(ctx, &incident.LookupAlertAttributeArgs{
    			Name: "Team",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		alerts, err := aws.NewAws_sns_topic(ctx, "alerts", &aws.Aws_sns_topicArgs{
    			Name: "cloudwatch-alerts",
    		})
    		if err != nil {
    			return err
    		}
    		_, err = aws.NewAws_sns_topic_subscription(ctx, "incidentioAlertSource", &aws.Aws_sns_topic_subscriptionArgs{
    			Endpoint:             pulumi.Sprintf("https://api.incident.io/v2/alert_events/cloudwatch/%v?team=platform", cloudwatch.ID()),
    			EndpointAutoConfirms: true,
    			Protocol:             "https",
    			TopicArn:             alerts.Arn,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Aws = Pulumi.Aws;
    using Incident = Pulumi.Incident;
    
    return await Deployment.RunAsync(() => 
    {
        //# Create a basic Alert Source that recieves from an SNS Topic in AWS
        var cloudwatch = new Incident.AlertSource("cloudwatch", new()
        {
            SourceType = "cloudwatch",
            Template = new Incident.Inputs.AlertSourceTemplateArgs
            {
                Title = new Incident.Inputs.AlertSourceTemplateTitleArgs
                {
                    Literal = JsonSerializer.Serialize(new Dictionary<string, object?>
                    {
                        ["content"] = new[]
                        {
                            new Dictionary<string, object?>
                            {
                                ["content"] = new[]
                                {
                                    new Dictionary<string, object?>
                                    {
                                        ["attrs"] = new Dictionary<string, object?>
                                        {
                                            ["label"] = "Payload → Title",
                                            ["missing"] = false,
                                            ["name"] = "title",
                                        },
                                        ["type"] = "varSpec",
                                    },
                                },
                                ["type"] = "paragraph",
                            },
                        },
                        ["type"] = "doc",
                    }),
                },
                Description = new Incident.Inputs.AlertSourceTemplateDescriptionArgs
                {
                    Literal = JsonSerializer.Serialize(new Dictionary<string, object?>
                    {
                        ["content"] = new[]
                        {
                            new Dictionary<string, object?>
                            {
                                ["content"] = new[]
                                {
                                    new Dictionary<string, object?>
                                    {
                                        ["attrs"] = new Dictionary<string, object?>
                                        {
                                            ["label"] = "Payload → Description",
                                            ["missing"] = false,
                                            ["name"] = "description",
                                        },
                                        ["type"] = "varSpec",
                                    },
                                },
                                ["type"] = "paragraph",
                            },
                        },
                        ["type"] = "doc",
                    }),
                },
                Attributes = new[]
                {
                    new Incident.Inputs.AlertSourceTemplateAttributeArgs
                    {
                        AlertAttributeId = data.Incident_alert_attribute.Team.Id,
                        Binding = new Incident.Inputs.AlertSourceTemplateAttributeBindingArgs
                        {
                            Value = new Incident.Inputs.AlertSourceTemplateAttributeBindingValueArgs
                            {
                                Reference = "expressions[\"cloudwatch-team\"]",
                            },
                        },
                    },
                },
                Expressions = new[]
                {
                    new Incident.Inputs.AlertSourceTemplateExpressionArgs
                    {
                        Label = "Team",
                        Operations = new[]
                        {
                            new Incident.Inputs.AlertSourceTemplateExpressionOperationArgs
                            {
                                OperationType = "parse",
                                Parse = new Incident.Inputs.AlertSourceTemplateExpressionOperationParseArgs
                                {
                                    Returns = new Incident.Inputs.AlertSourceTemplateExpressionOperationParseReturnsArgs
                                    {
                                        Array = false,
                                        Type = "CatalogEntry[\"CatalogEntryID\"]",
                                    },
                                    Source = "$['query_params']['team']",
                                },
                            },
                        },
                        Reference = "cloudwatch-team",
                        RootReference = "payload",
                    },
                },
            },
        });
    
        //# The `team` Alert Attribute we've configured to label Alerts and route alerts to schedules
        var squad = Incident.GetAlertAttribute.Invoke(new()
        {
            Name = "Team",
        });
    
        var alerts = new Aws.Index.Aws_sns_topic("alerts", new()
        {
            Name = "cloudwatch-alerts",
        });
    
        //# SNS Topic Subscription that routes to the incident.io Alert Source created above
        var incidentioAlertSource = new Aws.Index.Aws_sns_topic_subscription("incidentioAlertSource", new()
        {
            Endpoint = $"https://api.incident.io/v2/alert_events/cloudwatch/{cloudwatch.Id}?team=platform",
            EndpointAutoConfirms = true,
            Protocol = "https",
            TopicArn = alerts.Arn,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.incident.AlertSource;
    import com.pulumi.incident.AlertSourceArgs;
    import com.pulumi.incident.inputs.AlertSourceTemplateArgs;
    import com.pulumi.incident.inputs.AlertSourceTemplateTitleArgs;
    import com.pulumi.incident.inputs.AlertSourceTemplateDescriptionArgs;
    import com.pulumi.incident.IncidentFunctions;
    import com.pulumi.incident.inputs.GetAlertAttributeArgs;
    import com.pulumi.aws.aws_sns_topic;
    import com.pulumi.aws.Aws_sns_topicArgs;
    import com.pulumi.aws.aws_sns_topic_subscription;
    import com.pulumi.aws.Aws_sns_topic_subscriptionArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            //# Create a basic Alert Source that recieves from an SNS Topic in AWS
            var cloudwatch = new AlertSource("cloudwatch", AlertSourceArgs.builder()
                .sourceType("cloudwatch")
                .template(AlertSourceTemplateArgs.builder()
                    .title(AlertSourceTemplateTitleArgs.builder()
                        .literal(serializeJson(
                            jsonObject(
                                jsonProperty("content", jsonArray(jsonObject(
                                    jsonProperty("content", jsonArray(jsonObject(
                                        jsonProperty("attrs", jsonObject(
                                            jsonProperty("label", "Payload → Title"),
                                            jsonProperty("missing", false),
                                            jsonProperty("name", "title")
                                        )),
                                        jsonProperty("type", "varSpec")
                                    ))),
                                    jsonProperty("type", "paragraph")
                                ))),
                                jsonProperty("type", "doc")
                            )))
                        .build())
                    .description(AlertSourceTemplateDescriptionArgs.builder()
                        .literal(serializeJson(
                            jsonObject(
                                jsonProperty("content", jsonArray(jsonObject(
                                    jsonProperty("content", jsonArray(jsonObject(
                                        jsonProperty("attrs", jsonObject(
                                            jsonProperty("label", "Payload → Description"),
                                            jsonProperty("missing", false),
                                            jsonProperty("name", "description")
                                        )),
                                        jsonProperty("type", "varSpec")
                                    ))),
                                    jsonProperty("type", "paragraph")
                                ))),
                                jsonProperty("type", "doc")
                            )))
                        .build())
                    .attributes(AlertSourceTemplateAttributeArgs.builder()
                        .alertAttributeId(data.incident_alert_attribute().team().id())
                        .binding(AlertSourceTemplateAttributeBindingArgs.builder()
                            .value(AlertSourceTemplateAttributeBindingValueArgs.builder()
                                .reference("expressions[\"cloudwatch-team\"]")
                                .build())
                            .build())
                        .build())
                    .expressions(AlertSourceTemplateExpressionArgs.builder()
                        .label("Team")
                        .operations(AlertSourceTemplateExpressionOperationArgs.builder()
                            .operationType("parse")
                            .parse(AlertSourceTemplateExpressionOperationParseArgs.builder()
                                .returns(AlertSourceTemplateExpressionOperationParseReturnsArgs.builder()
                                    .array(false)
                                    .type("CatalogEntry[\"CatalogEntryID\"]")
                                    .build())
                                .source("$['query_params']['team']")
                                .build())
                            .build())
                        .reference("cloudwatch-team")
                        .rootReference("payload")
                        .build())
                    .build())
                .build());
    
            //# The `team` Alert Attribute we've configured to label Alerts and route alerts to schedules
            final var squad = IncidentFunctions.getAlertAttribute(GetAlertAttributeArgs.builder()
                .name("Team")
                .build());
    
            var alerts = new Aws_sns_topic("alerts", Aws_sns_topicArgs.builder()
                .name("cloudwatch-alerts")
                .build());
    
            //# SNS Topic Subscription that routes to the incident.io Alert Source created above
            var incidentioAlertSource = new Aws_sns_topic_subscription("incidentioAlertSource", Aws_sns_topic_subscriptionArgs.builder()
                .endpoint(String.format("https://api.incident.io/v2/alert_events/cloudwatch/%s?team=platform", cloudwatch.id()))
                .endpointAutoConfirms(true)
                .protocol("https")
                .topicArn(alerts.arn())
                .build());
    
        }
    }
    
    resources:
      ## Create a basic Alert Source that recieves from an SNS Topic in AWS
      cloudwatch: ## The `team` Alert Attribute we've configured to label Alerts and route alerts to schedules
        type: incident:AlertSource
        properties:
          sourceType: cloudwatch
          template:
            title:
              literal:
                fn::toJSON:
                  content:
                    - content:
                        - attrs:
                            label: Payload → Title
                            missing: false
                            name: title
                          type: varSpec
                      type: paragraph
                  type: doc
            description:
              literal:
                fn::toJSON:
                  content:
                    - content:
                        - attrs:
                            label: Payload → Description
                            missing: false
                            name: description
                          type: varSpec
                      type: paragraph
                  type: doc
            attributes:
              - alertAttributeId: ${data.incident_alert_attribute.team.id}
                binding:
                  value:
                    reference: expressions["cloudwatch-team"]
            expressions:
              - label: Team
                operations:
                  - operationType: parse
                    parse:
                      returns:
                        array: false
                        type: CatalogEntry["CatalogEntryID"]
                      source: $['query_params']['team']
                reference: cloudwatch-team
                rootReference: payload
      alerts: ## SNS Topic Subscription that routes to the incident.io Alert Source created above
        type: aws:aws_sns_topic
        properties:
          name: cloudwatch-alerts
      incidentioAlertSource:
        type: aws:aws_sns_topic_subscription
        properties:
          endpoint: https://api.incident.io/v2/alert_events/cloudwatch/${cloudwatch.id}?team=platform
          endpointAutoConfirms: true
          protocol: https
          topicArn: ${alerts.arn}
    variables:
      squad: ## AWS Resources
        fn::invoke:
          function: incident:getAlertAttribute
          arguments:
            name: Team
    

    Create AlertSource Resource

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

    Constructor syntax

    new AlertSource(name: string, args: AlertSourceArgs, opts?: CustomResourceOptions);
    @overload
    def AlertSource(resource_name: str,
                    args: AlertSourceArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def AlertSource(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    source_type: Optional[str] = None,
                    template: Optional[AlertSourceTemplateArgs] = None,
                    email_address: Optional[str] = None,
                    jira_options: Optional[AlertSourceJiraOptionsArgs] = None,
                    name: Optional[str] = None)
    func NewAlertSource(ctx *Context, name string, args AlertSourceArgs, opts ...ResourceOption) (*AlertSource, error)
    public AlertSource(string name, AlertSourceArgs args, CustomResourceOptions? opts = null)
    public AlertSource(String name, AlertSourceArgs args)
    public AlertSource(String name, AlertSourceArgs args, CustomResourceOptions options)
    
    type: incident:AlertSource
    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 AlertSourceArgs
    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 AlertSourceArgs
    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 AlertSourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AlertSourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AlertSourceArgs
    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 alertSourceResource = new Incident.AlertSource("alertSourceResource", new()
    {
        SourceType = "string",
        Template = new Incident.Inputs.AlertSourceTemplateArgs
        {
            Attributes = new[]
            {
                new Incident.Inputs.AlertSourceTemplateAttributeArgs
                {
                    AlertAttributeId = "string",
                    Binding = new Incident.Inputs.AlertSourceTemplateAttributeBindingArgs
                    {
                        ArrayValues = new[]
                        {
                            new Incident.Inputs.AlertSourceTemplateAttributeBindingArrayValueArgs
                            {
                                Literal = "string",
                                Reference = "string",
                            },
                        },
                        Value = new Incident.Inputs.AlertSourceTemplateAttributeBindingValueArgs
                        {
                            Literal = "string",
                            Reference = "string",
                        },
                    },
                },
            },
            Description = new Incident.Inputs.AlertSourceTemplateDescriptionArgs
            {
                Literal = "string",
                Reference = "string",
            },
            Expressions = new[]
            {
                new Incident.Inputs.AlertSourceTemplateExpressionArgs
                {
                    Label = "string",
                    Operations = new[]
                    {
                        new Incident.Inputs.AlertSourceTemplateExpressionOperationArgs
                        {
                            OperationType = "string",
                            Branches = new Incident.Inputs.AlertSourceTemplateExpressionOperationBranchesArgs
                            {
                                Branches = new[]
                                {
                                    new Incident.Inputs.AlertSourceTemplateExpressionOperationBranchesBranchArgs
                                    {
                                        ConditionGroups = new[]
                                        {
                                            new Incident.Inputs.AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupArgs
                                            {
                                                Conditions = new[]
                                                {
                                                    new Incident.Inputs.AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionArgs
                                                    {
                                                        Operation = "string",
                                                        ParamBindings = new[]
                                                        {
                                                            new Incident.Inputs.AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArgs
                                                            {
                                                                ArrayValues = new[]
                                                                {
                                                                    new Incident.Inputs.AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValueArgs
                                                                    {
                                                                        Literal = "string",
                                                                        Reference = "string",
                                                                    },
                                                                },
                                                                Value = new Incident.Inputs.AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingValueArgs
                                                                {
                                                                    Literal = "string",
                                                                    Reference = "string",
                                                                },
                                                            },
                                                        },
                                                        Subject = "string",
                                                    },
                                                },
                                            },
                                        },
                                        Result = new Incident.Inputs.AlertSourceTemplateExpressionOperationBranchesBranchResultArgs
                                        {
                                            ArrayValues = new[]
                                            {
                                                new Incident.Inputs.AlertSourceTemplateExpressionOperationBranchesBranchResultArrayValueArgs
                                                {
                                                    Literal = "string",
                                                    Reference = "string",
                                                },
                                            },
                                            Value = new Incident.Inputs.AlertSourceTemplateExpressionOperationBranchesBranchResultValueArgs
                                            {
                                                Literal = "string",
                                                Reference = "string",
                                            },
                                        },
                                    },
                                },
                                Returns = new Incident.Inputs.AlertSourceTemplateExpressionOperationBranchesReturnsArgs
                                {
                                    Array = false,
                                    Type = "string",
                                },
                            },
                            Filter = new Incident.Inputs.AlertSourceTemplateExpressionOperationFilterArgs
                            {
                                ConditionGroups = new[]
                                {
                                    new Incident.Inputs.AlertSourceTemplateExpressionOperationFilterConditionGroupArgs
                                    {
                                        Conditions = new[]
                                        {
                                            new Incident.Inputs.AlertSourceTemplateExpressionOperationFilterConditionGroupConditionArgs
                                            {
                                                Operation = "string",
                                                ParamBindings = new[]
                                                {
                                                    new Incident.Inputs.AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBindingArgs
                                                    {
                                                        ArrayValues = new[]
                                                        {
                                                            new Incident.Inputs.AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBindingArrayValueArgs
                                                            {
                                                                Literal = "string",
                                                                Reference = "string",
                                                            },
                                                        },
                                                        Value = new Incident.Inputs.AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBindingValueArgs
                                                        {
                                                            Literal = "string",
                                                            Reference = "string",
                                                        },
                                                    },
                                                },
                                                Subject = "string",
                                            },
                                        },
                                    },
                                },
                            },
                            Navigate = new Incident.Inputs.AlertSourceTemplateExpressionOperationNavigateArgs
                            {
                                Reference = "string",
                            },
                            Parse = new Incident.Inputs.AlertSourceTemplateExpressionOperationParseArgs
                            {
                                Returns = new Incident.Inputs.AlertSourceTemplateExpressionOperationParseReturnsArgs
                                {
                                    Array = false,
                                    Type = "string",
                                },
                                Source = "string",
                            },
                        },
                    },
                    Reference = "string",
                    RootReference = "string",
                    ElseBranch = new Incident.Inputs.AlertSourceTemplateExpressionElseBranchArgs
                    {
                        Result = new Incident.Inputs.AlertSourceTemplateExpressionElseBranchResultArgs
                        {
                            ArrayValues = new[]
                            {
                                new Incident.Inputs.AlertSourceTemplateExpressionElseBranchResultArrayValueArgs
                                {
                                    Literal = "string",
                                    Reference = "string",
                                },
                            },
                            Value = new Incident.Inputs.AlertSourceTemplateExpressionElseBranchResultValueArgs
                            {
                                Literal = "string",
                                Reference = "string",
                            },
                        },
                    },
                },
            },
            Title = new Incident.Inputs.AlertSourceTemplateTitleArgs
            {
                Literal = "string",
                Reference = "string",
            },
        },
        EmailAddress = "string",
        JiraOptions = new Incident.Inputs.AlertSourceJiraOptionsArgs
        {
            ProjectIds = new[]
            {
                "string",
            },
        },
        Name = "string",
    });
    
    example, err := incident.NewAlertSource(ctx, "alertSourceResource", &incident.AlertSourceArgs{
    	SourceType: pulumi.String("string"),
    	Template: &incident.AlertSourceTemplateArgs{
    		Attributes: incident.AlertSourceTemplateAttributeArray{
    			&incident.AlertSourceTemplateAttributeArgs{
    				AlertAttributeId: pulumi.String("string"),
    				Binding: &incident.AlertSourceTemplateAttributeBindingArgs{
    					ArrayValues: incident.AlertSourceTemplateAttributeBindingArrayValueArray{
    						&incident.AlertSourceTemplateAttributeBindingArrayValueArgs{
    							Literal:   pulumi.String("string"),
    							Reference: pulumi.String("string"),
    						},
    					},
    					Value: &incident.AlertSourceTemplateAttributeBindingValueArgs{
    						Literal:   pulumi.String("string"),
    						Reference: pulumi.String("string"),
    					},
    				},
    			},
    		},
    		Description: &incident.AlertSourceTemplateDescriptionArgs{
    			Literal:   pulumi.String("string"),
    			Reference: pulumi.String("string"),
    		},
    		Expressions: incident.AlertSourceTemplateExpressionArray{
    			&incident.AlertSourceTemplateExpressionArgs{
    				Label: pulumi.String("string"),
    				Operations: incident.AlertSourceTemplateExpressionOperationArray{
    					&incident.AlertSourceTemplateExpressionOperationArgs{
    						OperationType: pulumi.String("string"),
    						Branches: &incident.AlertSourceTemplateExpressionOperationBranchesArgs{
    							Branches: incident.AlertSourceTemplateExpressionOperationBranchesBranchArray{
    								&incident.AlertSourceTemplateExpressionOperationBranchesBranchArgs{
    									ConditionGroups: incident.AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupArray{
    										&incident.AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupArgs{
    											Conditions: incident.AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionArray{
    												&incident.AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionArgs{
    													Operation: pulumi.String("string"),
    													ParamBindings: incident.AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArray{
    														&incident.AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArgs{
    															ArrayValues: incident.AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValueArray{
    																&incident.AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValueArgs{
    																	Literal:   pulumi.String("string"),
    																	Reference: pulumi.String("string"),
    																},
    															},
    															Value: &incident.AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingValueArgs{
    																Literal:   pulumi.String("string"),
    																Reference: pulumi.String("string"),
    															},
    														},
    													},
    													Subject: pulumi.String("string"),
    												},
    											},
    										},
    									},
    									Result: &incident.AlertSourceTemplateExpressionOperationBranchesBranchResultArgs{
    										ArrayValues: incident.AlertSourceTemplateExpressionOperationBranchesBranchResultArrayValueArray{
    											&incident.AlertSourceTemplateExpressionOperationBranchesBranchResultArrayValueArgs{
    												Literal:   pulumi.String("string"),
    												Reference: pulumi.String("string"),
    											},
    										},
    										Value: &incident.AlertSourceTemplateExpressionOperationBranchesBranchResultValueArgs{
    											Literal:   pulumi.String("string"),
    											Reference: pulumi.String("string"),
    										},
    									},
    								},
    							},
    							Returns: &incident.AlertSourceTemplateExpressionOperationBranchesReturnsArgs{
    								Array: pulumi.Bool(false),
    								Type:  pulumi.String("string"),
    							},
    						},
    						Filter: &incident.AlertSourceTemplateExpressionOperationFilterArgs{
    							ConditionGroups: incident.AlertSourceTemplateExpressionOperationFilterConditionGroupArray{
    								&incident.AlertSourceTemplateExpressionOperationFilterConditionGroupArgs{
    									Conditions: incident.AlertSourceTemplateExpressionOperationFilterConditionGroupConditionArray{
    										&incident.AlertSourceTemplateExpressionOperationFilterConditionGroupConditionArgs{
    											Operation: pulumi.String("string"),
    											ParamBindings: incident.AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBindingArray{
    												&incident.AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBindingArgs{
    													ArrayValues: incident.AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBindingArrayValueArray{
    														&incident.AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBindingArrayValueArgs{
    															Literal:   pulumi.String("string"),
    															Reference: pulumi.String("string"),
    														},
    													},
    													Value: &incident.AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBindingValueArgs{
    														Literal:   pulumi.String("string"),
    														Reference: pulumi.String("string"),
    													},
    												},
    											},
    											Subject: pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    						Navigate: &incident.AlertSourceTemplateExpressionOperationNavigateArgs{
    							Reference: pulumi.String("string"),
    						},
    						Parse: &incident.AlertSourceTemplateExpressionOperationParseArgs{
    							Returns: &incident.AlertSourceTemplateExpressionOperationParseReturnsArgs{
    								Array: pulumi.Bool(false),
    								Type:  pulumi.String("string"),
    							},
    							Source: pulumi.String("string"),
    						},
    					},
    				},
    				Reference:     pulumi.String("string"),
    				RootReference: pulumi.String("string"),
    				ElseBranch: &incident.AlertSourceTemplateExpressionElseBranchArgs{
    					Result: &incident.AlertSourceTemplateExpressionElseBranchResultArgs{
    						ArrayValues: incident.AlertSourceTemplateExpressionElseBranchResultArrayValueArray{
    							&incident.AlertSourceTemplateExpressionElseBranchResultArrayValueArgs{
    								Literal:   pulumi.String("string"),
    								Reference: pulumi.String("string"),
    							},
    						},
    						Value: &incident.AlertSourceTemplateExpressionElseBranchResultValueArgs{
    							Literal:   pulumi.String("string"),
    							Reference: pulumi.String("string"),
    						},
    					},
    				},
    			},
    		},
    		Title: &incident.AlertSourceTemplateTitleArgs{
    			Literal:   pulumi.String("string"),
    			Reference: pulumi.String("string"),
    		},
    	},
    	EmailAddress: pulumi.String("string"),
    	JiraOptions: &incident.AlertSourceJiraOptionsArgs{
    		ProjectIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Name: pulumi.String("string"),
    })
    
    var alertSourceResource = new AlertSource("alertSourceResource", AlertSourceArgs.builder()
        .sourceType("string")
        .template(AlertSourceTemplateArgs.builder()
            .attributes(AlertSourceTemplateAttributeArgs.builder()
                .alertAttributeId("string")
                .binding(AlertSourceTemplateAttributeBindingArgs.builder()
                    .arrayValues(AlertSourceTemplateAttributeBindingArrayValueArgs.builder()
                        .literal("string")
                        .reference("string")
                        .build())
                    .value(AlertSourceTemplateAttributeBindingValueArgs.builder()
                        .literal("string")
                        .reference("string")
                        .build())
                    .build())
                .build())
            .description(AlertSourceTemplateDescriptionArgs.builder()
                .literal("string")
                .reference("string")
                .build())
            .expressions(AlertSourceTemplateExpressionArgs.builder()
                .label("string")
                .operations(AlertSourceTemplateExpressionOperationArgs.builder()
                    .operationType("string")
                    .branches(AlertSourceTemplateExpressionOperationBranchesArgs.builder()
                        .branches(AlertSourceTemplateExpressionOperationBranchesBranchArgs.builder()
                            .conditionGroups(AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupArgs.builder()
                                .conditions(AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionArgs.builder()
                                    .operation("string")
                                    .paramBindings(AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArgs.builder()
                                        .arrayValues(AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValueArgs.builder()
                                            .literal("string")
                                            .reference("string")
                                            .build())
                                        .value(AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingValueArgs.builder()
                                            .literal("string")
                                            .reference("string")
                                            .build())
                                        .build())
                                    .subject("string")
                                    .build())
                                .build())
                            .result(AlertSourceTemplateExpressionOperationBranchesBranchResultArgs.builder()
                                .arrayValues(AlertSourceTemplateExpressionOperationBranchesBranchResultArrayValueArgs.builder()
                                    .literal("string")
                                    .reference("string")
                                    .build())
                                .value(AlertSourceTemplateExpressionOperationBranchesBranchResultValueArgs.builder()
                                    .literal("string")
                                    .reference("string")
                                    .build())
                                .build())
                            .build())
                        .returns(AlertSourceTemplateExpressionOperationBranchesReturnsArgs.builder()
                            .array(false)
                            .type("string")
                            .build())
                        .build())
                    .filter(AlertSourceTemplateExpressionOperationFilterArgs.builder()
                        .conditionGroups(AlertSourceTemplateExpressionOperationFilterConditionGroupArgs.builder()
                            .conditions(AlertSourceTemplateExpressionOperationFilterConditionGroupConditionArgs.builder()
                                .operation("string")
                                .paramBindings(AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBindingArgs.builder()
                                    .arrayValues(AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBindingArrayValueArgs.builder()
                                        .literal("string")
                                        .reference("string")
                                        .build())
                                    .value(AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBindingValueArgs.builder()
                                        .literal("string")
                                        .reference("string")
                                        .build())
                                    .build())
                                .subject("string")
                                .build())
                            .build())
                        .build())
                    .navigate(AlertSourceTemplateExpressionOperationNavigateArgs.builder()
                        .reference("string")
                        .build())
                    .parse(AlertSourceTemplateExpressionOperationParseArgs.builder()
                        .returns(AlertSourceTemplateExpressionOperationParseReturnsArgs.builder()
                            .array(false)
                            .type("string")
                            .build())
                        .source("string")
                        .build())
                    .build())
                .reference("string")
                .rootReference("string")
                .elseBranch(AlertSourceTemplateExpressionElseBranchArgs.builder()
                    .result(AlertSourceTemplateExpressionElseBranchResultArgs.builder()
                        .arrayValues(AlertSourceTemplateExpressionElseBranchResultArrayValueArgs.builder()
                            .literal("string")
                            .reference("string")
                            .build())
                        .value(AlertSourceTemplateExpressionElseBranchResultValueArgs.builder()
                            .literal("string")
                            .reference("string")
                            .build())
                        .build())
                    .build())
                .build())
            .title(AlertSourceTemplateTitleArgs.builder()
                .literal("string")
                .reference("string")
                .build())
            .build())
        .emailAddress("string")
        .jiraOptions(AlertSourceJiraOptionsArgs.builder()
            .projectIds("string")
            .build())
        .name("string")
        .build());
    
    alert_source_resource = incident.AlertSource("alertSourceResource",
        source_type="string",
        template={
            "attributes": [{
                "alert_attribute_id": "string",
                "binding": {
                    "array_values": [{
                        "literal": "string",
                        "reference": "string",
                    }],
                    "value": {
                        "literal": "string",
                        "reference": "string",
                    },
                },
            }],
            "description": {
                "literal": "string",
                "reference": "string",
            },
            "expressions": [{
                "label": "string",
                "operations": [{
                    "operation_type": "string",
                    "branches": {
                        "branches": [{
                            "condition_groups": [{
                                "conditions": [{
                                    "operation": "string",
                                    "param_bindings": [{
                                        "array_values": [{
                                            "literal": "string",
                                            "reference": "string",
                                        }],
                                        "value": {
                                            "literal": "string",
                                            "reference": "string",
                                        },
                                    }],
                                    "subject": "string",
                                }],
                            }],
                            "result": {
                                "array_values": [{
                                    "literal": "string",
                                    "reference": "string",
                                }],
                                "value": {
                                    "literal": "string",
                                    "reference": "string",
                                },
                            },
                        }],
                        "returns": {
                            "array": False,
                            "type": "string",
                        },
                    },
                    "filter": {
                        "condition_groups": [{
                            "conditions": [{
                                "operation": "string",
                                "param_bindings": [{
                                    "array_values": [{
                                        "literal": "string",
                                        "reference": "string",
                                    }],
                                    "value": {
                                        "literal": "string",
                                        "reference": "string",
                                    },
                                }],
                                "subject": "string",
                            }],
                        }],
                    },
                    "navigate": {
                        "reference": "string",
                    },
                    "parse": {
                        "returns": {
                            "array": False,
                            "type": "string",
                        },
                        "source": "string",
                    },
                }],
                "reference": "string",
                "root_reference": "string",
                "else_branch": {
                    "result": {
                        "array_values": [{
                            "literal": "string",
                            "reference": "string",
                        }],
                        "value": {
                            "literal": "string",
                            "reference": "string",
                        },
                    },
                },
            }],
            "title": {
                "literal": "string",
                "reference": "string",
            },
        },
        email_address="string",
        jira_options={
            "project_ids": ["string"],
        },
        name="string")
    
    const alertSourceResource = new incident.AlertSource("alertSourceResource", {
        sourceType: "string",
        template: {
            attributes: [{
                alertAttributeId: "string",
                binding: {
                    arrayValues: [{
                        literal: "string",
                        reference: "string",
                    }],
                    value: {
                        literal: "string",
                        reference: "string",
                    },
                },
            }],
            description: {
                literal: "string",
                reference: "string",
            },
            expressions: [{
                label: "string",
                operations: [{
                    operationType: "string",
                    branches: {
                        branches: [{
                            conditionGroups: [{
                                conditions: [{
                                    operation: "string",
                                    paramBindings: [{
                                        arrayValues: [{
                                            literal: "string",
                                            reference: "string",
                                        }],
                                        value: {
                                            literal: "string",
                                            reference: "string",
                                        },
                                    }],
                                    subject: "string",
                                }],
                            }],
                            result: {
                                arrayValues: [{
                                    literal: "string",
                                    reference: "string",
                                }],
                                value: {
                                    literal: "string",
                                    reference: "string",
                                },
                            },
                        }],
                        returns: {
                            array: false,
                            type: "string",
                        },
                    },
                    filter: {
                        conditionGroups: [{
                            conditions: [{
                                operation: "string",
                                paramBindings: [{
                                    arrayValues: [{
                                        literal: "string",
                                        reference: "string",
                                    }],
                                    value: {
                                        literal: "string",
                                        reference: "string",
                                    },
                                }],
                                subject: "string",
                            }],
                        }],
                    },
                    navigate: {
                        reference: "string",
                    },
                    parse: {
                        returns: {
                            array: false,
                            type: "string",
                        },
                        source: "string",
                    },
                }],
                reference: "string",
                rootReference: "string",
                elseBranch: {
                    result: {
                        arrayValues: [{
                            literal: "string",
                            reference: "string",
                        }],
                        value: {
                            literal: "string",
                            reference: "string",
                        },
                    },
                },
            }],
            title: {
                literal: "string",
                reference: "string",
            },
        },
        emailAddress: "string",
        jiraOptions: {
            projectIds: ["string"],
        },
        name: "string",
    });
    
    type: incident:AlertSource
    properties:
        emailAddress: string
        jiraOptions:
            projectIds:
                - string
        name: string
        sourceType: string
        template:
            attributes:
                - alertAttributeId: string
                  binding:
                    arrayValues:
                        - literal: string
                          reference: string
                    value:
                        literal: string
                        reference: string
            description:
                literal: string
                reference: string
            expressions:
                - elseBranch:
                    result:
                        arrayValues:
                            - literal: string
                              reference: string
                        value:
                            literal: string
                            reference: string
                  label: string
                  operations:
                    - branches:
                        branches:
                            - conditionGroups:
                                - conditions:
                                    - operation: string
                                      paramBindings:
                                        - arrayValues:
                                            - literal: string
                                              reference: string
                                          value:
                                            literal: string
                                            reference: string
                                      subject: string
                              result:
                                arrayValues:
                                    - literal: string
                                      reference: string
                                value:
                                    literal: string
                                    reference: string
                        returns:
                            array: false
                            type: string
                      filter:
                        conditionGroups:
                            - conditions:
                                - operation: string
                                  paramBindings:
                                    - arrayValues:
                                        - literal: string
                                          reference: string
                                      value:
                                        literal: string
                                        reference: string
                                  subject: string
                      navigate:
                        reference: string
                      operationType: string
                      parse:
                        returns:
                            array: false
                            type: string
                        source: string
                  reference: string
                  rootReference: string
            title:
                literal: string
                reference: string
    

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

    SourceType string
    Type of alert source
    Template AlertSourceTemplate
    EmailAddress string
    Email address this alert source receives alerts to
    JiraOptions AlertSourceJiraOptions
    Name string
    Unique name of the alert source
    SourceType string
    Type of alert source
    Template AlertSourceTemplateArgs
    EmailAddress string
    Email address this alert source receives alerts to
    JiraOptions AlertSourceJiraOptionsArgs
    Name string
    Unique name of the alert source
    sourceType String
    Type of alert source
    template AlertSourceTemplate
    emailAddress String
    Email address this alert source receives alerts to
    jiraOptions AlertSourceJiraOptions
    name String
    Unique name of the alert source
    sourceType string
    Type of alert source
    template AlertSourceTemplate
    emailAddress string
    Email address this alert source receives alerts to
    jiraOptions AlertSourceJiraOptions
    name string
    Unique name of the alert source
    source_type str
    Type of alert source
    template AlertSourceTemplateArgs
    email_address str
    Email address this alert source receives alerts to
    jira_options AlertSourceJiraOptionsArgs
    name str
    Unique name of the alert source
    sourceType String
    Type of alert source
    template Property Map
    emailAddress String
    Email address this alert source receives alerts to
    jiraOptions Property Map
    name String
    Unique name of the alert source

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AlertSource resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    SecretToken string
    Secret token used to authenticate this source, if applicable. If applicable, this is the token that must be included in either the query string or the 'Authorization' header when sending events to this alert source.
    Id string
    The provider-assigned unique ID for this managed resource.
    SecretToken string
    Secret token used to authenticate this source, if applicable. If applicable, this is the token that must be included in either the query string or the 'Authorization' header when sending events to this alert source.
    id String
    The provider-assigned unique ID for this managed resource.
    secretToken String
    Secret token used to authenticate this source, if applicable. If applicable, this is the token that must be included in either the query string or the 'Authorization' header when sending events to this alert source.
    id string
    The provider-assigned unique ID for this managed resource.
    secretToken string
    Secret token used to authenticate this source, if applicable. If applicable, this is the token that must be included in either the query string or the 'Authorization' header when sending events to this alert source.
    id str
    The provider-assigned unique ID for this managed resource.
    secret_token str
    Secret token used to authenticate this source, if applicable. If applicable, this is the token that must be included in either the query string or the 'Authorization' header when sending events to this alert source.
    id String
    The provider-assigned unique ID for this managed resource.
    secretToken String
    Secret token used to authenticate this source, if applicable. If applicable, this is the token that must be included in either the query string or the 'Authorization' header when sending events to this alert source.

    Look up Existing AlertSource Resource

    Get an existing AlertSource 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?: AlertSourceState, opts?: CustomResourceOptions): AlertSource
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            email_address: Optional[str] = None,
            jira_options: Optional[AlertSourceJiraOptionsArgs] = None,
            name: Optional[str] = None,
            secret_token: Optional[str] = None,
            source_type: Optional[str] = None,
            template: Optional[AlertSourceTemplateArgs] = None) -> AlertSource
    func GetAlertSource(ctx *Context, name string, id IDInput, state *AlertSourceState, opts ...ResourceOption) (*AlertSource, error)
    public static AlertSource Get(string name, Input<string> id, AlertSourceState? state, CustomResourceOptions? opts = null)
    public static AlertSource get(String name, Output<String> id, AlertSourceState state, CustomResourceOptions options)
    resources:  _:    type: incident:AlertSource    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:
    EmailAddress string
    Email address this alert source receives alerts to
    JiraOptions AlertSourceJiraOptions
    Name string
    Unique name of the alert source
    SecretToken string
    Secret token used to authenticate this source, if applicable. If applicable, this is the token that must be included in either the query string or the 'Authorization' header when sending events to this alert source.
    SourceType string
    Type of alert source
    Template AlertSourceTemplate
    EmailAddress string
    Email address this alert source receives alerts to
    JiraOptions AlertSourceJiraOptionsArgs
    Name string
    Unique name of the alert source
    SecretToken string
    Secret token used to authenticate this source, if applicable. If applicable, this is the token that must be included in either the query string or the 'Authorization' header when sending events to this alert source.
    SourceType string
    Type of alert source
    Template AlertSourceTemplateArgs
    emailAddress String
    Email address this alert source receives alerts to
    jiraOptions AlertSourceJiraOptions
    name String
    Unique name of the alert source
    secretToken String
    Secret token used to authenticate this source, if applicable. If applicable, this is the token that must be included in either the query string or the 'Authorization' header when sending events to this alert source.
    sourceType String
    Type of alert source
    template AlertSourceTemplate
    emailAddress string
    Email address this alert source receives alerts to
    jiraOptions AlertSourceJiraOptions
    name string
    Unique name of the alert source
    secretToken string
    Secret token used to authenticate this source, if applicable. If applicable, this is the token that must be included in either the query string or the 'Authorization' header when sending events to this alert source.
    sourceType string
    Type of alert source
    template AlertSourceTemplate
    email_address str
    Email address this alert source receives alerts to
    jira_options AlertSourceJiraOptionsArgs
    name str
    Unique name of the alert source
    secret_token str
    Secret token used to authenticate this source, if applicable. If applicable, this is the token that must be included in either the query string or the 'Authorization' header when sending events to this alert source.
    source_type str
    Type of alert source
    template AlertSourceTemplateArgs
    emailAddress String
    Email address this alert source receives alerts to
    jiraOptions Property Map
    name String
    Unique name of the alert source
    secretToken String
    Secret token used to authenticate this source, if applicable. If applicable, this is the token that must be included in either the query string or the 'Authorization' header when sending events to this alert source.
    sourceType String
    Type of alert source
    template Property Map

    Supporting Types

    AlertSourceJiraOptions, AlertSourceJiraOptionsArgs

    ProjectIds List<string>
    Which projects in Jira should this alert source watch for new issues? IDs can either be IDs of the projects in Jira, or ID of catalog entries in the 'Jira Project' catalog type.
    ProjectIds []string
    Which projects in Jira should this alert source watch for new issues? IDs can either be IDs of the projects in Jira, or ID of catalog entries in the 'Jira Project' catalog type.
    projectIds List<String>
    Which projects in Jira should this alert source watch for new issues? IDs can either be IDs of the projects in Jira, or ID of catalog entries in the 'Jira Project' catalog type.
    projectIds string[]
    Which projects in Jira should this alert source watch for new issues? IDs can either be IDs of the projects in Jira, or ID of catalog entries in the 'Jira Project' catalog type.
    project_ids Sequence[str]
    Which projects in Jira should this alert source watch for new issues? IDs can either be IDs of the projects in Jira, or ID of catalog entries in the 'Jira Project' catalog type.
    projectIds List<String>
    Which projects in Jira should this alert source watch for new issues? IDs can either be IDs of the projects in Jira, or ID of catalog entries in the 'Jira Project' catalog type.

    AlertSourceTemplate, AlertSourceTemplateArgs

    Attributes List<AlertSourceTemplateAttribute>
    Attributes to set on alerts coming from this source, with a binding describing how to set them.
    Description AlertSourceTemplateDescription
    Expressions List<AlertSourceTemplateExpression>
    The expressions to be prepared for use by steps and conditions
    Title AlertSourceTemplateTitle
    Attributes []AlertSourceTemplateAttribute
    Attributes to set on alerts coming from this source, with a binding describing how to set them.
    Description AlertSourceTemplateDescription
    Expressions []AlertSourceTemplateExpression
    The expressions to be prepared for use by steps and conditions
    Title AlertSourceTemplateTitle
    attributes List<AlertSourceTemplateAttribute>
    Attributes to set on alerts coming from this source, with a binding describing how to set them.
    description AlertSourceTemplateDescription
    expressions List<AlertSourceTemplateExpression>
    The expressions to be prepared for use by steps and conditions
    title AlertSourceTemplateTitle
    attributes AlertSourceTemplateAttribute[]
    Attributes to set on alerts coming from this source, with a binding describing how to set them.
    description AlertSourceTemplateDescription
    expressions AlertSourceTemplateExpression[]
    The expressions to be prepared for use by steps and conditions
    title AlertSourceTemplateTitle
    attributes Sequence[AlertSourceTemplateAttribute]
    Attributes to set on alerts coming from this source, with a binding describing how to set them.
    description AlertSourceTemplateDescription
    expressions Sequence[AlertSourceTemplateExpression]
    The expressions to be prepared for use by steps and conditions
    title AlertSourceTemplateTitle
    attributes List<Property Map>
    Attributes to set on alerts coming from this source, with a binding describing how to set them.
    description Property Map
    expressions List<Property Map>
    The expressions to be prepared for use by steps and conditions
    title Property Map

    AlertSourceTemplateAttribute, AlertSourceTemplateAttributeArgs

    AlertAttributeId string
    ID of the alert attribute to set with this binding
    Binding AlertSourceTemplateAttributeBinding
    AlertAttributeId string
    ID of the alert attribute to set with this binding
    Binding AlertSourceTemplateAttributeBinding
    alertAttributeId String
    ID of the alert attribute to set with this binding
    binding AlertSourceTemplateAttributeBinding
    alertAttributeId string
    ID of the alert attribute to set with this binding
    binding AlertSourceTemplateAttributeBinding
    alert_attribute_id str
    ID of the alert attribute to set with this binding
    binding AlertSourceTemplateAttributeBinding
    alertAttributeId String
    ID of the alert attribute to set with this binding
    binding Property Map

    AlertSourceTemplateAttributeBinding, AlertSourceTemplateAttributeBindingArgs

    ArrayValues List<AlertSourceTemplateAttributeBindingArrayValue>
    The array of literal or reference parameter values
    Value AlertSourceTemplateAttributeBindingValue
    The literal or reference parameter value
    ArrayValues []AlertSourceTemplateAttributeBindingArrayValue
    The array of literal or reference parameter values
    Value AlertSourceTemplateAttributeBindingValue
    The literal or reference parameter value
    arrayValues List<AlertSourceTemplateAttributeBindingArrayValue>
    The array of literal or reference parameter values
    value AlertSourceTemplateAttributeBindingValue
    The literal or reference parameter value
    arrayValues AlertSourceTemplateAttributeBindingArrayValue[]
    The array of literal or reference parameter values
    value AlertSourceTemplateAttributeBindingValue
    The literal or reference parameter value
    array_values Sequence[AlertSourceTemplateAttributeBindingArrayValue]
    The array of literal or reference parameter values
    value AlertSourceTemplateAttributeBindingValue
    The literal or reference parameter value
    arrayValues List<Property Map>
    The array of literal or reference parameter values
    value Property Map
    The literal or reference parameter value

    AlertSourceTemplateAttributeBindingArrayValue, AlertSourceTemplateAttributeBindingArrayValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    AlertSourceTemplateAttributeBindingValue, AlertSourceTemplateAttributeBindingValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    AlertSourceTemplateDescription, AlertSourceTemplateDescriptionArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    AlertSourceTemplateExpression, AlertSourceTemplateExpressionArgs

    Label string
    The human readable label of the expression
    Operations List<AlertSourceTemplateExpressionOperation>
    The operations to execute in sequence for this expression
    Reference string
    A short ID that can be used to reference the expression
    RootReference string
    The root reference for this expression (i.e. where the expression starts)
    ElseBranch AlertSourceTemplateExpressionElseBranch
    The else branch to resort to if all operations fail
    Label string
    The human readable label of the expression
    Operations []AlertSourceTemplateExpressionOperation
    The operations to execute in sequence for this expression
    Reference string
    A short ID that can be used to reference the expression
    RootReference string
    The root reference for this expression (i.e. where the expression starts)
    ElseBranch AlertSourceTemplateExpressionElseBranch
    The else branch to resort to if all operations fail
    label String
    The human readable label of the expression
    operations List<AlertSourceTemplateExpressionOperation>
    The operations to execute in sequence for this expression
    reference String
    A short ID that can be used to reference the expression
    rootReference String
    The root reference for this expression (i.e. where the expression starts)
    elseBranch AlertSourceTemplateExpressionElseBranch
    The else branch to resort to if all operations fail
    label string
    The human readable label of the expression
    operations AlertSourceTemplateExpressionOperation[]
    The operations to execute in sequence for this expression
    reference string
    A short ID that can be used to reference the expression
    rootReference string
    The root reference for this expression (i.e. where the expression starts)
    elseBranch AlertSourceTemplateExpressionElseBranch
    The else branch to resort to if all operations fail
    label str
    The human readable label of the expression
    operations Sequence[AlertSourceTemplateExpressionOperation]
    The operations to execute in sequence for this expression
    reference str
    A short ID that can be used to reference the expression
    root_reference str
    The root reference for this expression (i.e. where the expression starts)
    else_branch AlertSourceTemplateExpressionElseBranch
    The else branch to resort to if all operations fail
    label String
    The human readable label of the expression
    operations List<Property Map>
    The operations to execute in sequence for this expression
    reference String
    A short ID that can be used to reference the expression
    rootReference String
    The root reference for this expression (i.e. where the expression starts)
    elseBranch Property Map
    The else branch to resort to if all operations fail

    AlertSourceTemplateExpressionElseBranch, AlertSourceTemplateExpressionElseBranchArgs

    Result AlertSourceTemplateExpressionElseBranchResult
    The result assumed if the else branch is reached
    Result AlertSourceTemplateExpressionElseBranchResult
    The result assumed if the else branch is reached
    result AlertSourceTemplateExpressionElseBranchResult
    The result assumed if the else branch is reached
    result AlertSourceTemplateExpressionElseBranchResult
    The result assumed if the else branch is reached
    result AlertSourceTemplateExpressionElseBranchResult
    The result assumed if the else branch is reached
    result Property Map
    The result assumed if the else branch is reached

    AlertSourceTemplateExpressionElseBranchResult, AlertSourceTemplateExpressionElseBranchResultArgs

    ArrayValues List<AlertSourceTemplateExpressionElseBranchResultArrayValue>
    The array of literal or reference parameter values
    Value AlertSourceTemplateExpressionElseBranchResultValue
    The literal or reference parameter value
    ArrayValues []AlertSourceTemplateExpressionElseBranchResultArrayValue
    The array of literal or reference parameter values
    Value AlertSourceTemplateExpressionElseBranchResultValue
    The literal or reference parameter value
    arrayValues List<AlertSourceTemplateExpressionElseBranchResultArrayValue>
    The array of literal or reference parameter values
    value AlertSourceTemplateExpressionElseBranchResultValue
    The literal or reference parameter value
    arrayValues AlertSourceTemplateExpressionElseBranchResultArrayValue[]
    The array of literal or reference parameter values
    value AlertSourceTemplateExpressionElseBranchResultValue
    The literal or reference parameter value
    array_values Sequence[AlertSourceTemplateExpressionElseBranchResultArrayValue]
    The array of literal or reference parameter values
    value AlertSourceTemplateExpressionElseBranchResultValue
    The literal or reference parameter value
    arrayValues List<Property Map>
    The array of literal or reference parameter values
    value Property Map
    The literal or reference parameter value

    AlertSourceTemplateExpressionElseBranchResultArrayValue, AlertSourceTemplateExpressionElseBranchResultArrayValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    AlertSourceTemplateExpressionElseBranchResultValue, AlertSourceTemplateExpressionElseBranchResultValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    AlertSourceTemplateExpressionOperation, AlertSourceTemplateExpressionOperationArgs

    OperationType string
    Indicates which operation type to execute
    Branches AlertSourceTemplateExpressionOperationBranches
    An operation type that allows for a value to be set conditionally by a series of logical branches
    Filter AlertSourceTemplateExpressionOperationFilter
    An operation type that allows values to be filtered out by conditions
    Navigate AlertSourceTemplateExpressionOperationNavigate
    An operation type that allows attributes of a type to be accessed by reference
    Parse AlertSourceTemplateExpressionOperationParse
    An operation type that allows a value to parsed from within a JSON object
    OperationType string
    Indicates which operation type to execute
    Branches AlertSourceTemplateExpressionOperationBranches
    An operation type that allows for a value to be set conditionally by a series of logical branches
    Filter AlertSourceTemplateExpressionOperationFilter
    An operation type that allows values to be filtered out by conditions
    Navigate AlertSourceTemplateExpressionOperationNavigate
    An operation type that allows attributes of a type to be accessed by reference
    Parse AlertSourceTemplateExpressionOperationParse
    An operation type that allows a value to parsed from within a JSON object
    operationType String
    Indicates which operation type to execute
    branches AlertSourceTemplateExpressionOperationBranches
    An operation type that allows for a value to be set conditionally by a series of logical branches
    filter AlertSourceTemplateExpressionOperationFilter
    An operation type that allows values to be filtered out by conditions
    navigate AlertSourceTemplateExpressionOperationNavigate
    An operation type that allows attributes of a type to be accessed by reference
    parse AlertSourceTemplateExpressionOperationParse
    An operation type that allows a value to parsed from within a JSON object
    operationType string
    Indicates which operation type to execute
    branches AlertSourceTemplateExpressionOperationBranches
    An operation type that allows for a value to be set conditionally by a series of logical branches
    filter AlertSourceTemplateExpressionOperationFilter
    An operation type that allows values to be filtered out by conditions
    navigate AlertSourceTemplateExpressionOperationNavigate
    An operation type that allows attributes of a type to be accessed by reference
    parse AlertSourceTemplateExpressionOperationParse
    An operation type that allows a value to parsed from within a JSON object
    operation_type str
    Indicates which operation type to execute
    branches AlertSourceTemplateExpressionOperationBranches
    An operation type that allows for a value to be set conditionally by a series of logical branches
    filter AlertSourceTemplateExpressionOperationFilter
    An operation type that allows values to be filtered out by conditions
    navigate AlertSourceTemplateExpressionOperationNavigate
    An operation type that allows attributes of a type to be accessed by reference
    parse AlertSourceTemplateExpressionOperationParse
    An operation type that allows a value to parsed from within a JSON object
    operationType String
    Indicates which operation type to execute
    branches Property Map
    An operation type that allows for a value to be set conditionally by a series of logical branches
    filter Property Map
    An operation type that allows values to be filtered out by conditions
    navigate Property Map
    An operation type that allows attributes of a type to be accessed by reference
    parse Property Map
    An operation type that allows a value to parsed from within a JSON object

    AlertSourceTemplateExpressionOperationBranches, AlertSourceTemplateExpressionOperationBranchesArgs

    branches List<Property Map>
    The branches to apply for this operation
    returns Property Map
    The return type of an operation

    AlertSourceTemplateExpressionOperationBranchesBranch, AlertSourceTemplateExpressionOperationBranchesBranchArgs

    ConditionGroups List<AlertSourceTemplateExpressionOperationBranchesBranchConditionGroup>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    Result AlertSourceTemplateExpressionOperationBranchesBranchResult
    The result assumed if the condition groups are satisfied
    ConditionGroups []AlertSourceTemplateExpressionOperationBranchesBranchConditionGroup
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    Result AlertSourceTemplateExpressionOperationBranchesBranchResult
    The result assumed if the condition groups are satisfied
    conditionGroups List<AlertSourceTemplateExpressionOperationBranchesBranchConditionGroup>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    result AlertSourceTemplateExpressionOperationBranchesBranchResult
    The result assumed if the condition groups are satisfied
    conditionGroups AlertSourceTemplateExpressionOperationBranchesBranchConditionGroup[]
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    result AlertSourceTemplateExpressionOperationBranchesBranchResult
    The result assumed if the condition groups are satisfied
    condition_groups Sequence[AlertSourceTemplateExpressionOperationBranchesBranchConditionGroup]
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    result AlertSourceTemplateExpressionOperationBranchesBranchResult
    The result assumed if the condition groups are satisfied
    conditionGroups List<Property Map>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    result Property Map
    The result assumed if the condition groups are satisfied

    AlertSourceTemplateExpressionOperationBranchesBranchConditionGroup, AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupArgs

    conditions List<Property Map>
    The prerequisite conditions that must all be satisfied

    AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupCondition, AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionArgs

    Operation string
    The logical operation to be applied
    ParamBindings List<AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBinding>
    Bindings for the operation parameters
    Subject string
    The subject of the condition, on which the operation is applied
    Operation string
    The logical operation to be applied
    ParamBindings []AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBinding
    Bindings for the operation parameters
    Subject string
    The subject of the condition, on which the operation is applied
    operation String
    The logical operation to be applied
    paramBindings List<AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBinding>
    Bindings for the operation parameters
    subject String
    The subject of the condition, on which the operation is applied
    operation string
    The logical operation to be applied
    paramBindings AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBinding[]
    Bindings for the operation parameters
    subject string
    The subject of the condition, on which the operation is applied
    operation str
    The logical operation to be applied
    param_bindings Sequence[AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBinding]
    Bindings for the operation parameters
    subject str
    The subject of the condition, on which the operation is applied
    operation String
    The logical operation to be applied
    paramBindings List<Property Map>
    Bindings for the operation parameters
    subject String
    The subject of the condition, on which the operation is applied

    AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBinding, AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArgs

    arrayValues List<Property Map>
    The array of literal or reference parameter values
    value Property Map
    The literal or reference parameter value

    AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValue, AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingArrayValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingValue, AlertSourceTemplateExpressionOperationBranchesBranchConditionGroupConditionParamBindingValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    AlertSourceTemplateExpressionOperationBranchesBranchResult, AlertSourceTemplateExpressionOperationBranchesBranchResultArgs

    arrayValues List<Property Map>
    The array of literal or reference parameter values
    value Property Map
    The literal or reference parameter value

    AlertSourceTemplateExpressionOperationBranchesBranchResultArrayValue, AlertSourceTemplateExpressionOperationBranchesBranchResultArrayValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    AlertSourceTemplateExpressionOperationBranchesBranchResultValue, AlertSourceTemplateExpressionOperationBranchesBranchResultValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    AlertSourceTemplateExpressionOperationBranchesReturns, AlertSourceTemplateExpressionOperationBranchesReturnsArgs

    Array bool
    Whether the return value should be single or multi-value
    Type string
    Expected return type of this expression (what to try casting the result to)
    Array bool
    Whether the return value should be single or multi-value
    Type string
    Expected return type of this expression (what to try casting the result to)
    array Boolean
    Whether the return value should be single or multi-value
    type String
    Expected return type of this expression (what to try casting the result to)
    array boolean
    Whether the return value should be single or multi-value
    type string
    Expected return type of this expression (what to try casting the result to)
    array bool
    Whether the return value should be single or multi-value
    type str
    Expected return type of this expression (what to try casting the result to)
    array Boolean
    Whether the return value should be single or multi-value
    type String
    Expected return type of this expression (what to try casting the result to)

    AlertSourceTemplateExpressionOperationFilter, AlertSourceTemplateExpressionOperationFilterArgs

    ConditionGroups List<AlertSourceTemplateExpressionOperationFilterConditionGroup>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    ConditionGroups []AlertSourceTemplateExpressionOperationFilterConditionGroup
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    conditionGroups List<AlertSourceTemplateExpressionOperationFilterConditionGroup>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    conditionGroups AlertSourceTemplateExpressionOperationFilterConditionGroup[]
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    condition_groups Sequence[AlertSourceTemplateExpressionOperationFilterConditionGroup]
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    conditionGroups List<Property Map>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied

    AlertSourceTemplateExpressionOperationFilterConditionGroup, AlertSourceTemplateExpressionOperationFilterConditionGroupArgs

    Conditions []AlertSourceTemplateExpressionOperationFilterConditionGroupCondition
    The prerequisite conditions that must all be satisfied
    conditions AlertSourceTemplateExpressionOperationFilterConditionGroupCondition[]
    The prerequisite conditions that must all be satisfied
    conditions List<Property Map>
    The prerequisite conditions that must all be satisfied

    AlertSourceTemplateExpressionOperationFilterConditionGroupCondition, AlertSourceTemplateExpressionOperationFilterConditionGroupConditionArgs

    Operation string
    The logical operation to be applied
    ParamBindings List<AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBinding>
    Bindings for the operation parameters
    Subject string
    The subject of the condition, on which the operation is applied
    Operation string
    The logical operation to be applied
    ParamBindings []AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBinding
    Bindings for the operation parameters
    Subject string
    The subject of the condition, on which the operation is applied
    operation String
    The logical operation to be applied
    paramBindings List<AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBinding>
    Bindings for the operation parameters
    subject String
    The subject of the condition, on which the operation is applied
    operation string
    The logical operation to be applied
    paramBindings AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBinding[]
    Bindings for the operation parameters
    subject string
    The subject of the condition, on which the operation is applied
    operation str
    The logical operation to be applied
    param_bindings Sequence[AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBinding]
    Bindings for the operation parameters
    subject str
    The subject of the condition, on which the operation is applied
    operation String
    The logical operation to be applied
    paramBindings List<Property Map>
    Bindings for the operation parameters
    subject String
    The subject of the condition, on which the operation is applied

    AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBinding, AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBindingArgs

    arrayValues List<Property Map>
    The array of literal or reference parameter values
    value Property Map
    The literal or reference parameter value

    AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBindingArrayValue, AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBindingArrayValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBindingValue, AlertSourceTemplateExpressionOperationFilterConditionGroupConditionParamBindingValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    AlertSourceTemplateExpressionOperationNavigate, AlertSourceTemplateExpressionOperationNavigateArgs

    Reference string
    Reference string
    reference String
    reference string
    reference String

    AlertSourceTemplateExpressionOperationParse, AlertSourceTemplateExpressionOperationParseArgs

    Returns AlertSourceTemplateExpressionOperationParseReturns
    The return type of an operation
    Source string
    The ES5 Javascript expression to execute
    Returns AlertSourceTemplateExpressionOperationParseReturns
    The return type of an operation
    Source string
    The ES5 Javascript expression to execute
    returns AlertSourceTemplateExpressionOperationParseReturns
    The return type of an operation
    source String
    The ES5 Javascript expression to execute
    returns AlertSourceTemplateExpressionOperationParseReturns
    The return type of an operation
    source string
    The ES5 Javascript expression to execute
    returns AlertSourceTemplateExpressionOperationParseReturns
    The return type of an operation
    source str
    The ES5 Javascript expression to execute
    returns Property Map
    The return type of an operation
    source String
    The ES5 Javascript expression to execute

    AlertSourceTemplateExpressionOperationParseReturns, AlertSourceTemplateExpressionOperationParseReturnsArgs

    Array bool
    Whether the return value should be single or multi-value
    Type string
    Expected return type of this expression (what to try casting the result to)
    Array bool
    Whether the return value should be single or multi-value
    Type string
    Expected return type of this expression (what to try casting the result to)
    array Boolean
    Whether the return value should be single or multi-value
    type String
    Expected return type of this expression (what to try casting the result to)
    array boolean
    Whether the return value should be single or multi-value
    type string
    Expected return type of this expression (what to try casting the result to)
    array bool
    Whether the return value should be single or multi-value
    type str
    Expected return type of this expression (what to try casting the result to)
    array Boolean
    Whether the return value should be single or multi-value
    type String
    Expected return type of this expression (what to try casting the result to)

    AlertSourceTemplateTitle, AlertSourceTemplateTitleArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    Import

    #!/bin/bash

    Import an alert source using its ID

    Replace the ID with a real ID from your incident.io organization

    $ pulumi import incident:index/alertSource:AlertSource example 01ABC123DEF456GHI789JKL
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    incident incident-io/terraform-provider-incident
    License
    Notes
    This Pulumi package is based on the incident Terraform Provider.
    incident logo
    incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io