1. Packages
  2. Packages
  3. Rootly
  4. API Docs
  5. WorkflowAlert
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq
rootly logo
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq

    Example Usage

    resource "rootly_workflow_alert" "my-workflow" {
      name        = "Trigger when an alert is created"
      description = "This workflow will trigger when an alert is created"
      trigger_params {
        triggers = ["alert_created"]
    
      }
      enabled = true
    }
    

    Create WorkflowAlert Resource

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

    Constructor syntax

    new WorkflowAlert(name: string, args?: WorkflowAlertArgs, opts?: CustomResourceOptions);
    @overload
    def WorkflowAlert(resource_name: str,
                      args: Optional[WorkflowAlertArgs] = None,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def WorkflowAlert(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      cause_ids: Optional[Sequence[str]] = None,
                      command: Optional[str] = None,
                      command_feedback_enabled: Optional[bool] = None,
                      continuously_repeat: Optional[bool] = None,
                      description: Optional[str] = None,
                      enabled: Optional[bool] = None,
                      environment_ids: Optional[Sequence[str]] = None,
                      functionality_ids: Optional[Sequence[str]] = None,
                      group_ids: Optional[Sequence[str]] = None,
                      incident_role_ids: Optional[Sequence[str]] = None,
                      incident_type_ids: Optional[Sequence[str]] = None,
                      locked: Optional[bool] = None,
                      name: Optional[str] = None,
                      position: Optional[int] = None,
                      repeat_condition_duration_since_first_run: Optional[str] = None,
                      repeat_condition_number_of_repeats: Optional[int] = None,
                      repeat_every_duration: Optional[str] = None,
                      repeat_ons: Optional[Sequence[str]] = None,
                      service_ids: Optional[Sequence[str]] = None,
                      severity_ids: Optional[Sequence[str]] = None,
                      slug: Optional[str] = None,
                      sub_status_ids: Optional[Sequence[str]] = None,
                      trigger_params: Optional[WorkflowAlertTriggerParamsArgs] = None,
                      wait: Optional[str] = None,
                      workflow_group_id: Optional[str] = None)
    func NewWorkflowAlert(ctx *Context, name string, args *WorkflowAlertArgs, opts ...ResourceOption) (*WorkflowAlert, error)
    public WorkflowAlert(string name, WorkflowAlertArgs? args = null, CustomResourceOptions? opts = null)
    public WorkflowAlert(String name, WorkflowAlertArgs args)
    public WorkflowAlert(String name, WorkflowAlertArgs args, CustomResourceOptions options)
    
    type: rootly:WorkflowAlert
    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 WorkflowAlertArgs
    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 WorkflowAlertArgs
    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 WorkflowAlertArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkflowAlertArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkflowAlertArgs
    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 workflowAlertResource = new Rootly.WorkflowAlert("workflowAlertResource", new()
    {
        CauseIds = new[]
        {
            "string",
        },
        Command = "string",
        CommandFeedbackEnabled = false,
        ContinuouslyRepeat = false,
        Description = "string",
        Enabled = false,
        EnvironmentIds = new[]
        {
            "string",
        },
        FunctionalityIds = new[]
        {
            "string",
        },
        GroupIds = new[]
        {
            "string",
        },
        IncidentRoleIds = new[]
        {
            "string",
        },
        IncidentTypeIds = new[]
        {
            "string",
        },
        Locked = false,
        Name = "string",
        Position = 0,
        RepeatConditionDurationSinceFirstRun = "string",
        RepeatConditionNumberOfRepeats = 0,
        RepeatEveryDuration = "string",
        RepeatOns = new[]
        {
            "string",
        },
        ServiceIds = new[]
        {
            "string",
        },
        SeverityIds = new[]
        {
            "string",
        },
        Slug = "string",
        SubStatusIds = new[]
        {
            "string",
        },
        TriggerParams = new Rootly.Inputs.WorkflowAlertTriggerParamsArgs
        {
            AlertCondition = "string",
            AlertConditionLabel = "string",
            AlertConditionLabelUseRegexp = false,
            AlertConditionPayload = "string",
            AlertConditionPayloadUseRegexp = false,
            AlertConditionSource = "string",
            AlertConditionSourceUseRegexp = false,
            AlertConditionStatus = "string",
            AlertConditionStatusUseRegexp = false,
            AlertConditionUrgency = "string",
            AlertFieldConditions = new[]
            {
                new Rootly.Inputs.WorkflowAlertTriggerParamsAlertFieldConditionArgs
                {
                    Id = "string",
                    Name = "string",
                },
            },
            AlertLabels = new[]
            {
                "string",
            },
            AlertPayloadConditions = new Rootly.Inputs.WorkflowAlertTriggerParamsAlertPayloadConditionsArgs
            {
                Conditions = new[]
                {
                    new Rootly.Inputs.WorkflowAlertTriggerParamsAlertPayloadConditionsConditionArgs
                    {
                        Operator = "string",
                        Query = "string",
                        Values = new[]
                        {
                            "string",
                        },
                        UseRegexp = false,
                    },
                },
                Logic = "string",
            },
            AlertPayloads = new[]
            {
                "string",
            },
            AlertQueryPayload = "string",
            AlertSources = new[]
            {
                "string",
            },
            AlertStatuses = new[]
            {
                "string",
            },
            AlertUrgencyIds = new[]
            {
                "string",
            },
            TriggerType = "string",
            Triggers = new[]
            {
                "string",
            },
        },
        Wait = "string",
        WorkflowGroupId = "string",
    });
    
    example, err := rootly.NewWorkflowAlert(ctx, "workflowAlertResource", &rootly.WorkflowAlertArgs{
    	CauseIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Command:                pulumi.String("string"),
    	CommandFeedbackEnabled: pulumi.Bool(false),
    	ContinuouslyRepeat:     pulumi.Bool(false),
    	Description:            pulumi.String("string"),
    	Enabled:                pulumi.Bool(false),
    	EnvironmentIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	FunctionalityIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	GroupIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	IncidentRoleIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	IncidentTypeIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Locked:                               pulumi.Bool(false),
    	Name:                                 pulumi.String("string"),
    	Position:                             pulumi.Int(0),
    	RepeatConditionDurationSinceFirstRun: pulumi.String("string"),
    	RepeatConditionNumberOfRepeats:       pulumi.Int(0),
    	RepeatEveryDuration:                  pulumi.String("string"),
    	RepeatOns: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ServiceIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SeverityIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Slug: pulumi.String("string"),
    	SubStatusIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TriggerParams: &rootly.WorkflowAlertTriggerParamsArgs{
    		AlertCondition:                 pulumi.String("string"),
    		AlertConditionLabel:            pulumi.String("string"),
    		AlertConditionLabelUseRegexp:   pulumi.Bool(false),
    		AlertConditionPayload:          pulumi.String("string"),
    		AlertConditionPayloadUseRegexp: pulumi.Bool(false),
    		AlertConditionSource:           pulumi.String("string"),
    		AlertConditionSourceUseRegexp:  pulumi.Bool(false),
    		AlertConditionStatus:           pulumi.String("string"),
    		AlertConditionStatusUseRegexp:  pulumi.Bool(false),
    		AlertConditionUrgency:          pulumi.String("string"),
    		AlertFieldConditions: rootly.WorkflowAlertTriggerParamsAlertFieldConditionArray{
    			&rootly.WorkflowAlertTriggerParamsAlertFieldConditionArgs{
    				Id:   pulumi.String("string"),
    				Name: pulumi.String("string"),
    			},
    		},
    		AlertLabels: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AlertPayloadConditions: &rootly.WorkflowAlertTriggerParamsAlertPayloadConditionsArgs{
    			Conditions: rootly.WorkflowAlertTriggerParamsAlertPayloadConditionsConditionArray{
    				&rootly.WorkflowAlertTriggerParamsAlertPayloadConditionsConditionArgs{
    					Operator: pulumi.String("string"),
    					Query:    pulumi.String("string"),
    					Values: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					UseRegexp: pulumi.Bool(false),
    				},
    			},
    			Logic: pulumi.String("string"),
    		},
    		AlertPayloads: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AlertQueryPayload: pulumi.String("string"),
    		AlertSources: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AlertStatuses: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AlertUrgencyIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		TriggerType: pulumi.String("string"),
    		Triggers: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Wait:            pulumi.String("string"),
    	WorkflowGroupId: pulumi.String("string"),
    })
    
    var workflowAlertResource = new WorkflowAlert("workflowAlertResource", WorkflowAlertArgs.builder()
        .causeIds("string")
        .command("string")
        .commandFeedbackEnabled(false)
        .continuouslyRepeat(false)
        .description("string")
        .enabled(false)
        .environmentIds("string")
        .functionalityIds("string")
        .groupIds("string")
        .incidentRoleIds("string")
        .incidentTypeIds("string")
        .locked(false)
        .name("string")
        .position(0)
        .repeatConditionDurationSinceFirstRun("string")
        .repeatConditionNumberOfRepeats(0)
        .repeatEveryDuration("string")
        .repeatOns("string")
        .serviceIds("string")
        .severityIds("string")
        .slug("string")
        .subStatusIds("string")
        .triggerParams(WorkflowAlertTriggerParamsArgs.builder()
            .alertCondition("string")
            .alertConditionLabel("string")
            .alertConditionLabelUseRegexp(false)
            .alertConditionPayload("string")
            .alertConditionPayloadUseRegexp(false)
            .alertConditionSource("string")
            .alertConditionSourceUseRegexp(false)
            .alertConditionStatus("string")
            .alertConditionStatusUseRegexp(false)
            .alertConditionUrgency("string")
            .alertFieldConditions(WorkflowAlertTriggerParamsAlertFieldConditionArgs.builder()
                .id("string")
                .name("string")
                .build())
            .alertLabels("string")
            .alertPayloadConditions(WorkflowAlertTriggerParamsAlertPayloadConditionsArgs.builder()
                .conditions(WorkflowAlertTriggerParamsAlertPayloadConditionsConditionArgs.builder()
                    .operator("string")
                    .query("string")
                    .values("string")
                    .useRegexp(false)
                    .build())
                .logic("string")
                .build())
            .alertPayloads("string")
            .alertQueryPayload("string")
            .alertSources("string")
            .alertStatuses("string")
            .alertUrgencyIds("string")
            .triggerType("string")
            .triggers("string")
            .build())
        .wait("string")
        .workflowGroupId("string")
        .build());
    
    workflow_alert_resource = rootly.WorkflowAlert("workflowAlertResource",
        cause_ids=["string"],
        command="string",
        command_feedback_enabled=False,
        continuously_repeat=False,
        description="string",
        enabled=False,
        environment_ids=["string"],
        functionality_ids=["string"],
        group_ids=["string"],
        incident_role_ids=["string"],
        incident_type_ids=["string"],
        locked=False,
        name="string",
        position=0,
        repeat_condition_duration_since_first_run="string",
        repeat_condition_number_of_repeats=0,
        repeat_every_duration="string",
        repeat_ons=["string"],
        service_ids=["string"],
        severity_ids=["string"],
        slug="string",
        sub_status_ids=["string"],
        trigger_params={
            "alert_condition": "string",
            "alert_condition_label": "string",
            "alert_condition_label_use_regexp": False,
            "alert_condition_payload": "string",
            "alert_condition_payload_use_regexp": False,
            "alert_condition_source": "string",
            "alert_condition_source_use_regexp": False,
            "alert_condition_status": "string",
            "alert_condition_status_use_regexp": False,
            "alert_condition_urgency": "string",
            "alert_field_conditions": [{
                "id": "string",
                "name": "string",
            }],
            "alert_labels": ["string"],
            "alert_payload_conditions": {
                "conditions": [{
                    "operator": "string",
                    "query": "string",
                    "values": ["string"],
                    "use_regexp": False,
                }],
                "logic": "string",
            },
            "alert_payloads": ["string"],
            "alert_query_payload": "string",
            "alert_sources": ["string"],
            "alert_statuses": ["string"],
            "alert_urgency_ids": ["string"],
            "trigger_type": "string",
            "triggers": ["string"],
        },
        wait="string",
        workflow_group_id="string")
    
    const workflowAlertResource = new rootly.WorkflowAlert("workflowAlertResource", {
        causeIds: ["string"],
        command: "string",
        commandFeedbackEnabled: false,
        continuouslyRepeat: false,
        description: "string",
        enabled: false,
        environmentIds: ["string"],
        functionalityIds: ["string"],
        groupIds: ["string"],
        incidentRoleIds: ["string"],
        incidentTypeIds: ["string"],
        locked: false,
        name: "string",
        position: 0,
        repeatConditionDurationSinceFirstRun: "string",
        repeatConditionNumberOfRepeats: 0,
        repeatEveryDuration: "string",
        repeatOns: ["string"],
        serviceIds: ["string"],
        severityIds: ["string"],
        slug: "string",
        subStatusIds: ["string"],
        triggerParams: {
            alertCondition: "string",
            alertConditionLabel: "string",
            alertConditionLabelUseRegexp: false,
            alertConditionPayload: "string",
            alertConditionPayloadUseRegexp: false,
            alertConditionSource: "string",
            alertConditionSourceUseRegexp: false,
            alertConditionStatus: "string",
            alertConditionStatusUseRegexp: false,
            alertConditionUrgency: "string",
            alertFieldConditions: [{
                id: "string",
                name: "string",
            }],
            alertLabels: ["string"],
            alertPayloadConditions: {
                conditions: [{
                    operator: "string",
                    query: "string",
                    values: ["string"],
                    useRegexp: false,
                }],
                logic: "string",
            },
            alertPayloads: ["string"],
            alertQueryPayload: "string",
            alertSources: ["string"],
            alertStatuses: ["string"],
            alertUrgencyIds: ["string"],
            triggerType: "string",
            triggers: ["string"],
        },
        wait: "string",
        workflowGroupId: "string",
    });
    
    type: rootly:WorkflowAlert
    properties:
        causeIds:
            - string
        command: string
        commandFeedbackEnabled: false
        continuouslyRepeat: false
        description: string
        enabled: false
        environmentIds:
            - string
        functionalityIds:
            - string
        groupIds:
            - string
        incidentRoleIds:
            - string
        incidentTypeIds:
            - string
        locked: false
        name: string
        position: 0
        repeatConditionDurationSinceFirstRun: string
        repeatConditionNumberOfRepeats: 0
        repeatEveryDuration: string
        repeatOns:
            - string
        serviceIds:
            - string
        severityIds:
            - string
        slug: string
        subStatusIds:
            - string
        triggerParams:
            alertCondition: string
            alertConditionLabel: string
            alertConditionLabelUseRegexp: false
            alertConditionPayload: string
            alertConditionPayloadUseRegexp: false
            alertConditionSource: string
            alertConditionSourceUseRegexp: false
            alertConditionStatus: string
            alertConditionStatusUseRegexp: false
            alertConditionUrgency: string
            alertFieldConditions:
                - id: string
                  name: string
            alertLabels:
                - string
            alertPayloadConditions:
                conditions:
                    - operator: string
                      query: string
                      useRegexp: false
                      values:
                        - string
                logic: string
            alertPayloads:
                - string
            alertQueryPayload: string
            alertSources:
                - string
            alertStatuses:
                - string
            alertUrgencyIds:
                - string
            triggerType: string
            triggers:
                - string
        wait: string
        workflowGroupId: string
    

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

    CauseIds List<string>
    Command string
    Workflow command
    CommandFeedbackEnabled bool
    This will notify you back when the workflow is starting. Value must be one of true or false
    ContinuouslyRepeat bool
    When continuously repeat is true, repeat workflows aren't automatically stopped when conditions aren't met. This setting won't override your conditions set by repeatconditiondurationsincefirstrun and repeatconditionnumberof_repeats parameters.. Value must be one of true or false
    Description string
    The description of the workflow
    Enabled bool
    EnvironmentIds List<string>
    FunctionalityIds List<string>
    GroupIds List<string>
    IncidentRoleIds List<string>
    IncidentTypeIds List<string>
    Locked bool
    Restricts workflow edits to admins when turned on. Only admins can set this field.. Value must be one of true or false
    Name string
    The title of the workflow
    Position int
    The order which the workflow should run with other workflows.
    RepeatConditionDurationSinceFirstRun string
    The workflow will stop repeating if its runtime since it's first workflow run exceeds the duration set in this field
    RepeatConditionNumberOfRepeats int
    The workflow will stop repeating if the number of repeats exceeds the value set in this field
    RepeatEveryDuration string
    Repeat workflow every duration
    RepeatOns List<string>
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    ServiceIds List<string>
    SeverityIds List<string>
    Slug string
    The slug of the workflow
    SubStatusIds List<string>
    TriggerParams WorkflowAlertTriggerParams
    Wait string
    Wait this duration before executing
    WorkflowGroupId string
    The group this workflow belongs to.
    CauseIds []string
    Command string
    Workflow command
    CommandFeedbackEnabled bool
    This will notify you back when the workflow is starting. Value must be one of true or false
    ContinuouslyRepeat bool
    When continuously repeat is true, repeat workflows aren't automatically stopped when conditions aren't met. This setting won't override your conditions set by repeatconditiondurationsincefirstrun and repeatconditionnumberof_repeats parameters.. Value must be one of true or false
    Description string
    The description of the workflow
    Enabled bool
    EnvironmentIds []string
    FunctionalityIds []string
    GroupIds []string
    IncidentRoleIds []string
    IncidentTypeIds []string
    Locked bool
    Restricts workflow edits to admins when turned on. Only admins can set this field.. Value must be one of true or false
    Name string
    The title of the workflow
    Position int
    The order which the workflow should run with other workflows.
    RepeatConditionDurationSinceFirstRun string
    The workflow will stop repeating if its runtime since it's first workflow run exceeds the duration set in this field
    RepeatConditionNumberOfRepeats int
    The workflow will stop repeating if the number of repeats exceeds the value set in this field
    RepeatEveryDuration string
    Repeat workflow every duration
    RepeatOns []string
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    ServiceIds []string
    SeverityIds []string
    Slug string
    The slug of the workflow
    SubStatusIds []string
    TriggerParams WorkflowAlertTriggerParamsArgs
    Wait string
    Wait this duration before executing
    WorkflowGroupId string
    The group this workflow belongs to.
    causeIds List<String>
    command String
    Workflow command
    commandFeedbackEnabled Boolean
    This will notify you back when the workflow is starting. Value must be one of true or false
    continuouslyRepeat Boolean
    When continuously repeat is true, repeat workflows aren't automatically stopped when conditions aren't met. This setting won't override your conditions set by repeatconditiondurationsincefirstrun and repeatconditionnumberof_repeats parameters.. Value must be one of true or false
    description String
    The description of the workflow
    enabled Boolean
    environmentIds List<String>
    functionalityIds List<String>
    groupIds List<String>
    incidentRoleIds List<String>
    incidentTypeIds List<String>
    locked Boolean
    Restricts workflow edits to admins when turned on. Only admins can set this field.. Value must be one of true or false
    name String
    The title of the workflow
    position Integer
    The order which the workflow should run with other workflows.
    repeatConditionDurationSinceFirstRun String
    The workflow will stop repeating if its runtime since it's first workflow run exceeds the duration set in this field
    repeatConditionNumberOfRepeats Integer
    The workflow will stop repeating if the number of repeats exceeds the value set in this field
    repeatEveryDuration String
    Repeat workflow every duration
    repeatOns List<String>
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    serviceIds List<String>
    severityIds List<String>
    slug String
    The slug of the workflow
    subStatusIds List<String>
    triggerParams WorkflowAlertTriggerParams
    wait_ String
    Wait this duration before executing
    workflowGroupId String
    The group this workflow belongs to.
    causeIds string[]
    command string
    Workflow command
    commandFeedbackEnabled boolean
    This will notify you back when the workflow is starting. Value must be one of true or false
    continuouslyRepeat boolean
    When continuously repeat is true, repeat workflows aren't automatically stopped when conditions aren't met. This setting won't override your conditions set by repeatconditiondurationsincefirstrun and repeatconditionnumberof_repeats parameters.. Value must be one of true or false
    description string
    The description of the workflow
    enabled boolean
    environmentIds string[]
    functionalityIds string[]
    groupIds string[]
    incidentRoleIds string[]
    incidentTypeIds string[]
    locked boolean
    Restricts workflow edits to admins when turned on. Only admins can set this field.. Value must be one of true or false
    name string
    The title of the workflow
    position number
    The order which the workflow should run with other workflows.
    repeatConditionDurationSinceFirstRun string
    The workflow will stop repeating if its runtime since it's first workflow run exceeds the duration set in this field
    repeatConditionNumberOfRepeats number
    The workflow will stop repeating if the number of repeats exceeds the value set in this field
    repeatEveryDuration string
    Repeat workflow every duration
    repeatOns string[]
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    serviceIds string[]
    severityIds string[]
    slug string
    The slug of the workflow
    subStatusIds string[]
    triggerParams WorkflowAlertTriggerParams
    wait string
    Wait this duration before executing
    workflowGroupId string
    The group this workflow belongs to.
    cause_ids Sequence[str]
    command str
    Workflow command
    command_feedback_enabled bool
    This will notify you back when the workflow is starting. Value must be one of true or false
    continuously_repeat bool
    When continuously repeat is true, repeat workflows aren't automatically stopped when conditions aren't met. This setting won't override your conditions set by repeatconditiondurationsincefirstrun and repeatconditionnumberof_repeats parameters.. Value must be one of true or false
    description str
    The description of the workflow
    enabled bool
    environment_ids Sequence[str]
    functionality_ids Sequence[str]
    group_ids Sequence[str]
    incident_role_ids Sequence[str]
    incident_type_ids Sequence[str]
    locked bool
    Restricts workflow edits to admins when turned on. Only admins can set this field.. Value must be one of true or false
    name str
    The title of the workflow
    position int
    The order which the workflow should run with other workflows.
    repeat_condition_duration_since_first_run str
    The workflow will stop repeating if its runtime since it's first workflow run exceeds the duration set in this field
    repeat_condition_number_of_repeats int
    The workflow will stop repeating if the number of repeats exceeds the value set in this field
    repeat_every_duration str
    Repeat workflow every duration
    repeat_ons Sequence[str]
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    service_ids Sequence[str]
    severity_ids Sequence[str]
    slug str
    The slug of the workflow
    sub_status_ids Sequence[str]
    trigger_params WorkflowAlertTriggerParamsArgs
    wait str
    Wait this duration before executing
    workflow_group_id str
    The group this workflow belongs to.
    causeIds List<String>
    command String
    Workflow command
    commandFeedbackEnabled Boolean
    This will notify you back when the workflow is starting. Value must be one of true or false
    continuouslyRepeat Boolean
    When continuously repeat is true, repeat workflows aren't automatically stopped when conditions aren't met. This setting won't override your conditions set by repeatconditiondurationsincefirstrun and repeatconditionnumberof_repeats parameters.. Value must be one of true or false
    description String
    The description of the workflow
    enabled Boolean
    environmentIds List<String>
    functionalityIds List<String>
    groupIds List<String>
    incidentRoleIds List<String>
    incidentTypeIds List<String>
    locked Boolean
    Restricts workflow edits to admins when turned on. Only admins can set this field.. Value must be one of true or false
    name String
    The title of the workflow
    position Number
    The order which the workflow should run with other workflows.
    repeatConditionDurationSinceFirstRun String
    The workflow will stop repeating if its runtime since it's first workflow run exceeds the duration set in this field
    repeatConditionNumberOfRepeats Number
    The workflow will stop repeating if the number of repeats exceeds the value set in this field
    repeatEveryDuration String
    Repeat workflow every duration
    repeatOns List<String>
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    serviceIds List<String>
    severityIds List<String>
    slug String
    The slug of the workflow
    subStatusIds List<String>
    triggerParams Property Map
    wait String
    Wait this duration before executing
    workflowGroupId String
    The group this workflow belongs to.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing WorkflowAlert Resource

    Get an existing WorkflowAlert 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?: WorkflowAlertState, opts?: CustomResourceOptions): WorkflowAlert
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cause_ids: Optional[Sequence[str]] = None,
            command: Optional[str] = None,
            command_feedback_enabled: Optional[bool] = None,
            continuously_repeat: Optional[bool] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            environment_ids: Optional[Sequence[str]] = None,
            functionality_ids: Optional[Sequence[str]] = None,
            group_ids: Optional[Sequence[str]] = None,
            incident_role_ids: Optional[Sequence[str]] = None,
            incident_type_ids: Optional[Sequence[str]] = None,
            locked: Optional[bool] = None,
            name: Optional[str] = None,
            position: Optional[int] = None,
            repeat_condition_duration_since_first_run: Optional[str] = None,
            repeat_condition_number_of_repeats: Optional[int] = None,
            repeat_every_duration: Optional[str] = None,
            repeat_ons: Optional[Sequence[str]] = None,
            service_ids: Optional[Sequence[str]] = None,
            severity_ids: Optional[Sequence[str]] = None,
            slug: Optional[str] = None,
            sub_status_ids: Optional[Sequence[str]] = None,
            trigger_params: Optional[WorkflowAlertTriggerParamsArgs] = None,
            wait: Optional[str] = None,
            workflow_group_id: Optional[str] = None) -> WorkflowAlert
    func GetWorkflowAlert(ctx *Context, name string, id IDInput, state *WorkflowAlertState, opts ...ResourceOption) (*WorkflowAlert, error)
    public static WorkflowAlert Get(string name, Input<string> id, WorkflowAlertState? state, CustomResourceOptions? opts = null)
    public static WorkflowAlert get(String name, Output<String> id, WorkflowAlertState state, CustomResourceOptions options)
    resources:  _:    type: rootly:WorkflowAlert    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:
    CauseIds List<string>
    Command string
    Workflow command
    CommandFeedbackEnabled bool
    This will notify you back when the workflow is starting. Value must be one of true or false
    ContinuouslyRepeat bool
    When continuously repeat is true, repeat workflows aren't automatically stopped when conditions aren't met. This setting won't override your conditions set by repeatconditiondurationsincefirstrun and repeatconditionnumberof_repeats parameters.. Value must be one of true or false
    Description string
    The description of the workflow
    Enabled bool
    EnvironmentIds List<string>
    FunctionalityIds List<string>
    GroupIds List<string>
    IncidentRoleIds List<string>
    IncidentTypeIds List<string>
    Locked bool
    Restricts workflow edits to admins when turned on. Only admins can set this field.. Value must be one of true or false
    Name string
    The title of the workflow
    Position int
    The order which the workflow should run with other workflows.
    RepeatConditionDurationSinceFirstRun string
    The workflow will stop repeating if its runtime since it's first workflow run exceeds the duration set in this field
    RepeatConditionNumberOfRepeats int
    The workflow will stop repeating if the number of repeats exceeds the value set in this field
    RepeatEveryDuration string
    Repeat workflow every duration
    RepeatOns List<string>
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    ServiceIds List<string>
    SeverityIds List<string>
    Slug string
    The slug of the workflow
    SubStatusIds List<string>
    TriggerParams WorkflowAlertTriggerParams
    Wait string
    Wait this duration before executing
    WorkflowGroupId string
    The group this workflow belongs to.
    CauseIds []string
    Command string
    Workflow command
    CommandFeedbackEnabled bool
    This will notify you back when the workflow is starting. Value must be one of true or false
    ContinuouslyRepeat bool
    When continuously repeat is true, repeat workflows aren't automatically stopped when conditions aren't met. This setting won't override your conditions set by repeatconditiondurationsincefirstrun and repeatconditionnumberof_repeats parameters.. Value must be one of true or false
    Description string
    The description of the workflow
    Enabled bool
    EnvironmentIds []string
    FunctionalityIds []string
    GroupIds []string
    IncidentRoleIds []string
    IncidentTypeIds []string
    Locked bool
    Restricts workflow edits to admins when turned on. Only admins can set this field.. Value must be one of true or false
    Name string
    The title of the workflow
    Position int
    The order which the workflow should run with other workflows.
    RepeatConditionDurationSinceFirstRun string
    The workflow will stop repeating if its runtime since it's first workflow run exceeds the duration set in this field
    RepeatConditionNumberOfRepeats int
    The workflow will stop repeating if the number of repeats exceeds the value set in this field
    RepeatEveryDuration string
    Repeat workflow every duration
    RepeatOns []string
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    ServiceIds []string
    SeverityIds []string
    Slug string
    The slug of the workflow
    SubStatusIds []string
    TriggerParams WorkflowAlertTriggerParamsArgs
    Wait string
    Wait this duration before executing
    WorkflowGroupId string
    The group this workflow belongs to.
    causeIds List<String>
    command String
    Workflow command
    commandFeedbackEnabled Boolean
    This will notify you back when the workflow is starting. Value must be one of true or false
    continuouslyRepeat Boolean
    When continuously repeat is true, repeat workflows aren't automatically stopped when conditions aren't met. This setting won't override your conditions set by repeatconditiondurationsincefirstrun and repeatconditionnumberof_repeats parameters.. Value must be one of true or false
    description String
    The description of the workflow
    enabled Boolean
    environmentIds List<String>
    functionalityIds List<String>
    groupIds List<String>
    incidentRoleIds List<String>
    incidentTypeIds List<String>
    locked Boolean
    Restricts workflow edits to admins when turned on. Only admins can set this field.. Value must be one of true or false
    name String
    The title of the workflow
    position Integer
    The order which the workflow should run with other workflows.
    repeatConditionDurationSinceFirstRun String
    The workflow will stop repeating if its runtime since it's first workflow run exceeds the duration set in this field
    repeatConditionNumberOfRepeats Integer
    The workflow will stop repeating if the number of repeats exceeds the value set in this field
    repeatEveryDuration String
    Repeat workflow every duration
    repeatOns List<String>
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    serviceIds List<String>
    severityIds List<String>
    slug String
    The slug of the workflow
    subStatusIds List<String>
    triggerParams WorkflowAlertTriggerParams
    wait_ String
    Wait this duration before executing
    workflowGroupId String
    The group this workflow belongs to.
    causeIds string[]
    command string
    Workflow command
    commandFeedbackEnabled boolean
    This will notify you back when the workflow is starting. Value must be one of true or false
    continuouslyRepeat boolean
    When continuously repeat is true, repeat workflows aren't automatically stopped when conditions aren't met. This setting won't override your conditions set by repeatconditiondurationsincefirstrun and repeatconditionnumberof_repeats parameters.. Value must be one of true or false
    description string
    The description of the workflow
    enabled boolean
    environmentIds string[]
    functionalityIds string[]
    groupIds string[]
    incidentRoleIds string[]
    incidentTypeIds string[]
    locked boolean
    Restricts workflow edits to admins when turned on. Only admins can set this field.. Value must be one of true or false
    name string
    The title of the workflow
    position number
    The order which the workflow should run with other workflows.
    repeatConditionDurationSinceFirstRun string
    The workflow will stop repeating if its runtime since it's first workflow run exceeds the duration set in this field
    repeatConditionNumberOfRepeats number
    The workflow will stop repeating if the number of repeats exceeds the value set in this field
    repeatEveryDuration string
    Repeat workflow every duration
    repeatOns string[]
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    serviceIds string[]
    severityIds string[]
    slug string
    The slug of the workflow
    subStatusIds string[]
    triggerParams WorkflowAlertTriggerParams
    wait string
    Wait this duration before executing
    workflowGroupId string
    The group this workflow belongs to.
    cause_ids Sequence[str]
    command str
    Workflow command
    command_feedback_enabled bool
    This will notify you back when the workflow is starting. Value must be one of true or false
    continuously_repeat bool
    When continuously repeat is true, repeat workflows aren't automatically stopped when conditions aren't met. This setting won't override your conditions set by repeatconditiondurationsincefirstrun and repeatconditionnumberof_repeats parameters.. Value must be one of true or false
    description str
    The description of the workflow
    enabled bool
    environment_ids Sequence[str]
    functionality_ids Sequence[str]
    group_ids Sequence[str]
    incident_role_ids Sequence[str]
    incident_type_ids Sequence[str]
    locked bool
    Restricts workflow edits to admins when turned on. Only admins can set this field.. Value must be one of true or false
    name str
    The title of the workflow
    position int
    The order which the workflow should run with other workflows.
    repeat_condition_duration_since_first_run str
    The workflow will stop repeating if its runtime since it's first workflow run exceeds the duration set in this field
    repeat_condition_number_of_repeats int
    The workflow will stop repeating if the number of repeats exceeds the value set in this field
    repeat_every_duration str
    Repeat workflow every duration
    repeat_ons Sequence[str]
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    service_ids Sequence[str]
    severity_ids Sequence[str]
    slug str
    The slug of the workflow
    sub_status_ids Sequence[str]
    trigger_params WorkflowAlertTriggerParamsArgs
    wait str
    Wait this duration before executing
    workflow_group_id str
    The group this workflow belongs to.
    causeIds List<String>
    command String
    Workflow command
    commandFeedbackEnabled Boolean
    This will notify you back when the workflow is starting. Value must be one of true or false
    continuouslyRepeat Boolean
    When continuously repeat is true, repeat workflows aren't automatically stopped when conditions aren't met. This setting won't override your conditions set by repeatconditiondurationsincefirstrun and repeatconditionnumberof_repeats parameters.. Value must be one of true or false
    description String
    The description of the workflow
    enabled Boolean
    environmentIds List<String>
    functionalityIds List<String>
    groupIds List<String>
    incidentRoleIds List<String>
    incidentTypeIds List<String>
    locked Boolean
    Restricts workflow edits to admins when turned on. Only admins can set this field.. Value must be one of true or false
    name String
    The title of the workflow
    position Number
    The order which the workflow should run with other workflows.
    repeatConditionDurationSinceFirstRun String
    The workflow will stop repeating if its runtime since it's first workflow run exceeds the duration set in this field
    repeatConditionNumberOfRepeats Number
    The workflow will stop repeating if the number of repeats exceeds the value set in this field
    repeatEveryDuration String
    Repeat workflow every duration
    repeatOns List<String>
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    serviceIds List<String>
    severityIds List<String>
    slug String
    The slug of the workflow
    subStatusIds List<String>
    triggerParams Property Map
    wait String
    Wait this duration before executing
    workflowGroupId String
    The group this workflow belongs to.

    Supporting Types

    WorkflowAlertTriggerParams, WorkflowAlertTriggerParamsArgs

    AlertCondition string
    Value must be one of ALL, ANY, NONE.
    AlertConditionLabel string
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    AlertConditionLabelUseRegexp bool
    Value must be one of true or false
    AlertConditionPayload string
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    AlertConditionPayloadUseRegexp bool
    Value must be one of true or false
    AlertConditionSource string
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    AlertConditionSourceUseRegexp bool
    Value must be one of true or false
    AlertConditionStatus string
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    AlertConditionStatusUseRegexp bool
    Value must be one of true or false
    AlertConditionUrgency string
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    AlertFieldConditions List<WorkflowAlertTriggerParamsAlertFieldCondition>
    AlertLabels List<string>
    AlertPayloadConditions WorkflowAlertTriggerParamsAlertPayloadConditions
    AlertPayloads List<string>
    AlertQueryPayload string
    You can use jsonpath syntax. eg: $.incident.teams[*]
    AlertSources List<string>
    AlertStatuses List<string>
    AlertUrgencyIds List<string>
    TriggerType string
    Value must be one of alert.
    Triggers List<string>
    Actions that trigger the workflow. Value must be one of alertCreated, alertStatusUpdated.
    AlertCondition string
    Value must be one of ALL, ANY, NONE.
    AlertConditionLabel string
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    AlertConditionLabelUseRegexp bool
    Value must be one of true or false
    AlertConditionPayload string
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    AlertConditionPayloadUseRegexp bool
    Value must be one of true or false
    AlertConditionSource string
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    AlertConditionSourceUseRegexp bool
    Value must be one of true or false
    AlertConditionStatus string
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    AlertConditionStatusUseRegexp bool
    Value must be one of true or false
    AlertConditionUrgency string
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    AlertFieldConditions []WorkflowAlertTriggerParamsAlertFieldCondition
    AlertLabels []string
    AlertPayloadConditions WorkflowAlertTriggerParamsAlertPayloadConditions
    AlertPayloads []string
    AlertQueryPayload string
    You can use jsonpath syntax. eg: $.incident.teams[*]
    AlertSources []string
    AlertStatuses []string
    AlertUrgencyIds []string
    TriggerType string
    Value must be one of alert.
    Triggers []string
    Actions that trigger the workflow. Value must be one of alertCreated, alertStatusUpdated.
    alertCondition String
    Value must be one of ALL, ANY, NONE.
    alertConditionLabel String
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alertConditionLabelUseRegexp Boolean
    Value must be one of true or false
    alertConditionPayload String
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alertConditionPayloadUseRegexp Boolean
    Value must be one of true or false
    alertConditionSource String
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alertConditionSourceUseRegexp Boolean
    Value must be one of true or false
    alertConditionStatus String
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alertConditionStatusUseRegexp Boolean
    Value must be one of true or false
    alertConditionUrgency String
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alertFieldConditions List<WorkflowAlertTriggerParamsAlertFieldCondition>
    alertLabels List<String>
    alertPayloadConditions WorkflowAlertTriggerParamsAlertPayloadConditions
    alertPayloads List<String>
    alertQueryPayload String
    You can use jsonpath syntax. eg: $.incident.teams[*]
    alertSources List<String>
    alertStatuses List<String>
    alertUrgencyIds List<String>
    triggerType String
    Value must be one of alert.
    triggers List<String>
    Actions that trigger the workflow. Value must be one of alertCreated, alertStatusUpdated.
    alertCondition string
    Value must be one of ALL, ANY, NONE.
    alertConditionLabel string
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alertConditionLabelUseRegexp boolean
    Value must be one of true or false
    alertConditionPayload string
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alertConditionPayloadUseRegexp boolean
    Value must be one of true or false
    alertConditionSource string
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alertConditionSourceUseRegexp boolean
    Value must be one of true or false
    alertConditionStatus string
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alertConditionStatusUseRegexp boolean
    Value must be one of true or false
    alertConditionUrgency string
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alertFieldConditions WorkflowAlertTriggerParamsAlertFieldCondition[]
    alertLabels string[]
    alertPayloadConditions WorkflowAlertTriggerParamsAlertPayloadConditions
    alertPayloads string[]
    alertQueryPayload string
    You can use jsonpath syntax. eg: $.incident.teams[*]
    alertSources string[]
    alertStatuses string[]
    alertUrgencyIds string[]
    triggerType string
    Value must be one of alert.
    triggers string[]
    Actions that trigger the workflow. Value must be one of alertCreated, alertStatusUpdated.
    alert_condition str
    Value must be one of ALL, ANY, NONE.
    alert_condition_label str
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alert_condition_label_use_regexp bool
    Value must be one of true or false
    alert_condition_payload str
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alert_condition_payload_use_regexp bool
    Value must be one of true or false
    alert_condition_source str
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alert_condition_source_use_regexp bool
    Value must be one of true or false
    alert_condition_status str
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alert_condition_status_use_regexp bool
    Value must be one of true or false
    alert_condition_urgency str
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alert_field_conditions Sequence[WorkflowAlertTriggerParamsAlertFieldCondition]
    alert_labels Sequence[str]
    alert_payload_conditions WorkflowAlertTriggerParamsAlertPayloadConditions
    alert_payloads Sequence[str]
    alert_query_payload str
    You can use jsonpath syntax. eg: $.incident.teams[*]
    alert_sources Sequence[str]
    alert_statuses Sequence[str]
    alert_urgency_ids Sequence[str]
    trigger_type str
    Value must be one of alert.
    triggers Sequence[str]
    Actions that trigger the workflow. Value must be one of alertCreated, alertStatusUpdated.
    alertCondition String
    Value must be one of ALL, ANY, NONE.
    alertConditionLabel String
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alertConditionLabelUseRegexp Boolean
    Value must be one of true or false
    alertConditionPayload String
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alertConditionPayloadUseRegexp Boolean
    Value must be one of true or false
    alertConditionSource String
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alertConditionSourceUseRegexp Boolean
    Value must be one of true or false
    alertConditionStatus String
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alertConditionStatusUseRegexp Boolean
    Value must be one of true or false
    alertConditionUrgency String
    Value must be one of IS, IS NOT, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    alertFieldConditions List<Property Map>
    alertLabels List<String>
    alertPayloadConditions Property Map
    alertPayloads List<String>
    alertQueryPayload String
    You can use jsonpath syntax. eg: $.incident.teams[*]
    alertSources List<String>
    alertStatuses List<String>
    alertUrgencyIds List<String>
    triggerType String
    Value must be one of alert.
    triggers List<String>
    Actions that trigger the workflow. Value must be one of alertCreated, alertStatusUpdated.

    WorkflowAlertTriggerParamsAlertFieldCondition, WorkflowAlertTriggerParamsAlertFieldConditionArgs

    Id string
    Name string
    Id string
    Name string
    id String
    name String
    id string
    name string
    id str
    name str
    id String
    name String

    WorkflowAlertTriggerParamsAlertPayloadConditions, WorkflowAlertTriggerParamsAlertPayloadConditionsArgs

    Conditions List<WorkflowAlertTriggerParamsAlertPayloadConditionsCondition>
    Logic string
    Logic operator for conditions. Value must be one of ALL or ANY.
    Conditions []WorkflowAlertTriggerParamsAlertPayloadConditionsCondition
    Logic string
    Logic operator for conditions. Value must be one of ALL or ANY.
    conditions List<WorkflowAlertTriggerParamsAlertPayloadConditionsCondition>
    logic String
    Logic operator for conditions. Value must be one of ALL or ANY.
    conditions WorkflowAlertTriggerParamsAlertPayloadConditionsCondition[]
    logic string
    Logic operator for conditions. Value must be one of ALL or ANY.
    conditions Sequence[WorkflowAlertTriggerParamsAlertPayloadConditionsCondition]
    logic str
    Logic operator for conditions. Value must be one of ALL or ANY.
    conditions List<Property Map>
    logic String
    Logic operator for conditions. Value must be one of ALL or ANY.

    WorkflowAlertTriggerParamsAlertPayloadConditionsCondition, WorkflowAlertTriggerParamsAlertPayloadConditionsConditionArgs

    Operator string
    Value must be one of IS, IS NOT, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, SET, UNSET.
    Query string
    JSONPath query. eg: $.commonLabels.namespace
    Values List<string>
    UseRegexp bool
    Operator string
    Value must be one of IS, IS NOT, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, SET, UNSET.
    Query string
    JSONPath query. eg: $.commonLabels.namespace
    Values []string
    UseRegexp bool
    operator String
    Value must be one of IS, IS NOT, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, SET, UNSET.
    query String
    JSONPath query. eg: $.commonLabels.namespace
    values List<String>
    useRegexp Boolean
    operator string
    Value must be one of IS, IS NOT, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, SET, UNSET.
    query string
    JSONPath query. eg: $.commonLabels.namespace
    values string[]
    useRegexp boolean
    operator str
    Value must be one of IS, IS NOT, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, SET, UNSET.
    query str
    JSONPath query. eg: $.commonLabels.namespace
    values Sequence[str]
    use_regexp bool
    operator String
    Value must be one of IS, IS NOT, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, SET, UNSET.
    query String
    JSONPath query. eg: $.commonLabels.namespace
    values List<String>
    useRegexp Boolean

    Import

    rootly.WorkflowAlert can be imported using the import command.

    $ pulumi import rootly:index/workflowAlert:WorkflowAlert primary a816421c-6ceb-481a-87c4-585e47451f24
    

    Or using an import block.

    Locate the resource id in the web app, or retrieve it by listing resources through the API if it’s not visible in the web app.

    HCL can be generated from the import block using the -generate-config-out flag.

    pulumi preview -generate-config-out=generated.tf
    

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

    Package Details

    Repository
    rootly rootlyhq/pulumi-rootly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rootly Terraform Provider.
    rootly logo
    Viewing docs for Rootly v3.3.0
    published on Thursday, May 7, 2026 by rootlyhq
      Try Pulumi Cloud free. Your team will thank you.