Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly
rootly.WorkflowAlert
Explore with Pulumi AI
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rootly = Pulumi.Rootly;
return await Deployment.RunAsync(() =>
{
var my_workflow = new Rootly.WorkflowAlert("my-workflow", new()
{
Description = "This workflow will trigger when an alert is created",
Enabled = true,
TriggerParams = new Rootly.Inputs.WorkflowAlertTriggerParamsArgs
{
Triggers = new[]
{
"alert_created",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-rootly/sdk/go/rootly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rootly.NewWorkflowAlert(ctx, "my-workflow", &rootly.WorkflowAlertArgs{
Description: pulumi.String("This workflow will trigger when an alert is created"),
Enabled: pulumi.Bool(true),
TriggerParams: &rootly.WorkflowAlertTriggerParamsArgs{
Triggers: pulumi.StringArray{
pulumi.String("alert_created"),
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rootly.WorkflowAlert;
import com.pulumi.rootly.WorkflowAlertArgs;
import com.pulumi.rootly.inputs.WorkflowAlertTriggerParamsArgs;
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) {
var my_workflow = new WorkflowAlert("my-workflow", WorkflowAlertArgs.builder()
.description("This workflow will trigger when an alert is created")
.enabled(true)
.triggerParams(WorkflowAlertTriggerParamsArgs.builder()
.triggers("alert_created")
.build())
.build());
}
}
import pulumi
import pulumi_rootly as rootly
my_workflow = rootly.WorkflowAlert("my-workflow",
description="This workflow will trigger when an alert is created",
enabled=True,
trigger_params=rootly.WorkflowAlertTriggerParamsArgs(
triggers=["alert_created"],
))
import * as pulumi from "@pulumi/pulumi";
import * as rootly from "@pulumi/rootly";
const my_workflow = new rootly.WorkflowAlert("my-workflow", {
description: "This workflow will trigger when an alert is created",
enabled: true,
triggerParams: {
triggers: ["alert_created"],
},
});
resources:
my-workflow:
type: rootly:WorkflowAlert
properties:
description: This workflow will trigger when an alert is created
enabled: true
triggerParams:
triggers:
- alert_created
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,
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,
name: Optional[str] = None,
position: 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,
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,
Description = "string",
Enabled = false,
EnvironmentIds = new[]
{
"string",
},
FunctionalityIds = new[]
{
"string",
},
GroupIds = new[]
{
"string",
},
IncidentRoleIds = new[]
{
"string",
},
IncidentTypeIds = new[]
{
"string",
},
Name = "string",
Position = 0,
RepeatEveryDuration = "string",
RepeatOns = new[]
{
"string",
},
ServiceIds = new[]
{
"string",
},
SeverityIds = new[]
{
"string",
},
Slug = "string",
TriggerParams = new Rootly.Inputs.WorkflowAlertTriggerParamsArgs
{
AlertCondition = "string",
AlertConditionLabel = "string",
AlertConditionLabelUseRegexp = false,
AlertConditionPayload = "string",
AlertConditionPayloadUseRegexp = false,
AlertConditionSource = "string",
AlertConditionSourceUseRegexp = false,
AlertLabels = new[]
{
"string",
},
AlertPayloads = new[]
{
"string",
},
AlertQueryPayload = "string",
AlertSources = 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),
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"),
},
Name: pulumi.String("string"),
Position: 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"),
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),
AlertLabels: pulumi.StringArray{
pulumi.String("string"),
},
AlertPayloads: pulumi.StringArray{
pulumi.String("string"),
},
AlertQueryPayload: pulumi.String("string"),
AlertSources: 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)
.description("string")
.enabled(false)
.environmentIds("string")
.functionalityIds("string")
.groupIds("string")
.incidentRoleIds("string")
.incidentTypeIds("string")
.name("string")
.position(0)
.repeatEveryDuration("string")
.repeatOns("string")
.serviceIds("string")
.severityIds("string")
.slug("string")
.triggerParams(WorkflowAlertTriggerParamsArgs.builder()
.alertCondition("string")
.alertConditionLabel("string")
.alertConditionLabelUseRegexp(false)
.alertConditionPayload("string")
.alertConditionPayloadUseRegexp(false)
.alertConditionSource("string")
.alertConditionSourceUseRegexp(false)
.alertLabels("string")
.alertPayloads("string")
.alertQueryPayload("string")
.alertSources("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,
description="string",
enabled=False,
environment_ids=["string"],
functionality_ids=["string"],
group_ids=["string"],
incident_role_ids=["string"],
incident_type_ids=["string"],
name="string",
position=0,
repeat_every_duration="string",
repeat_ons=["string"],
service_ids=["string"],
severity_ids=["string"],
slug="string",
trigger_params=rootly.WorkflowAlertTriggerParamsArgs(
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_labels=["string"],
alert_payloads=["string"],
alert_query_payload="string",
alert_sources=["string"],
trigger_type="string",
triggers=["string"],
),
wait="string",
workflow_group_id="string")
const workflowAlertResource = new rootly.WorkflowAlert("workflowAlertResource", {
causeIds: ["string"],
command: "string",
commandFeedbackEnabled: false,
description: "string",
enabled: false,
environmentIds: ["string"],
functionalityIds: ["string"],
groupIds: ["string"],
incidentRoleIds: ["string"],
incidentTypeIds: ["string"],
name: "string",
position: 0,
repeatEveryDuration: "string",
repeatOns: ["string"],
serviceIds: ["string"],
severityIds: ["string"],
slug: "string",
triggerParams: {
alertCondition: "string",
alertConditionLabel: "string",
alertConditionLabelUseRegexp: false,
alertConditionPayload: "string",
alertConditionPayloadUseRegexp: false,
alertConditionSource: "string",
alertConditionSourceUseRegexp: false,
alertLabels: ["string"],
alertPayloads: ["string"],
alertQueryPayload: "string",
alertSources: ["string"],
triggerType: "string",
triggers: ["string"],
},
wait: "string",
workflowGroupId: "string",
});
type: rootly:WorkflowAlert
properties:
causeIds:
- string
command: string
commandFeedbackEnabled: false
description: string
enabled: false
environmentIds:
- string
functionalityIds:
- string
groupIds:
- string
incidentRoleIds:
- string
incidentTypeIds:
- string
name: string
position: 0
repeatEveryDuration: string
repeatOns:
- string
serviceIds:
- string
severityIds:
- string
slug: string
triggerParams:
alertCondition: string
alertConditionLabel: string
alertConditionLabelUseRegexp: false
alertConditionPayload: string
alertConditionPayloadUseRegexp: false
alertConditionSource: string
alertConditionSourceUseRegexp: false
alertLabels:
- string
alertPayloads:
- string
alertQueryPayload: string
alertSources:
- 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
The WorkflowAlert resource accepts the following input properties:
- Cause
Ids List<string> - Command string
- Workflow command
- Command
Feedback boolEnabled - This will notify you back when the workflow is starting. Value must be one of true or false
- Description string
- The description of the workflow
- Enabled bool
- Environment
Ids List<string> - Functionality
Ids List<string> - Group
Ids List<string> - Incident
Role List<string>Ids - Incident
Type List<string>Ids - Name string
- The title of the workflow
- Position int
- The order which the workflow should run with other workflows.
- Repeat
Every stringDuration - Repeat workflow every duration
- Repeat
Ons List<string> - Repeat on weekdays. Value must be one of
S
,M
,T
,W
,R
,F
,U
. - Service
Ids List<string> - Severity
Ids List<string> - Slug string
- The slug of the workflow
- Trigger
Params WorkflowAlert Trigger Params - Wait string
- Wait this duration before executing
- Workflow
Group stringId - The group this workflow belongs to.
- Cause
Ids []string - Command string
- Workflow command
- Command
Feedback boolEnabled - This will notify you back when the workflow is starting. Value must be one of true or false
- Description string
- The description of the workflow
- Enabled bool
- Environment
Ids []string - Functionality
Ids []string - Group
Ids []string - Incident
Role []stringIds - Incident
Type []stringIds - Name string
- The title of the workflow
- Position int
- The order which the workflow should run with other workflows.
- Repeat
Every stringDuration - Repeat workflow every duration
- Repeat
Ons []string - Repeat on weekdays. Value must be one of
S
,M
,T
,W
,R
,F
,U
. - Service
Ids []string - Severity
Ids []string - Slug string
- The slug of the workflow
- Trigger
Params WorkflowAlert Trigger Params Args - Wait string
- Wait this duration before executing
- Workflow
Group stringId - The group this workflow belongs to.
- cause
Ids List<String> - command String
- Workflow command
- command
Feedback BooleanEnabled - This will notify you back when the workflow is starting. Value must be one of true or false
- description String
- The description of the workflow
- enabled Boolean
- environment
Ids List<String> - functionality
Ids List<String> - group
Ids List<String> - incident
Role List<String>Ids - incident
Type List<String>Ids - name String
- The title of the workflow
- position Integer
- The order which the workflow should run with other workflows.
- repeat
Every StringDuration - Repeat workflow every duration
- repeat
Ons List<String> - Repeat on weekdays. Value must be one of
S
,M
,T
,W
,R
,F
,U
. - service
Ids List<String> - severity
Ids List<String> - slug String
- The slug of the workflow
- trigger
Params WorkflowAlert Trigger Params - wait_ String
- Wait this duration before executing
- workflow
Group StringId - The group this workflow belongs to.
- cause
Ids string[] - command string
- Workflow command
- command
Feedback booleanEnabled - This will notify you back when the workflow is starting. Value must be one of true or false
- description string
- The description of the workflow
- enabled boolean
- environment
Ids string[] - functionality
Ids string[] - group
Ids string[] - incident
Role string[]Ids - incident
Type string[]Ids - name string
- The title of the workflow
- position number
- The order which the workflow should run with other workflows.
- repeat
Every stringDuration - Repeat workflow every duration
- repeat
Ons string[] - Repeat on weekdays. Value must be one of
S
,M
,T
,W
,R
,F
,U
. - service
Ids string[] - severity
Ids string[] - slug string
- The slug of the workflow
- trigger
Params WorkflowAlert Trigger Params - wait string
- Wait this duration before executing
- workflow
Group stringId - The group this workflow belongs to.
- cause_
ids Sequence[str] - command str
- Workflow command
- command_
feedback_ boolenabled - This will notify you back when the workflow is starting. 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_ Sequence[str]ids - incident_
type_ Sequence[str]ids - name str
- The title of the workflow
- position int
- The order which the workflow should run with other workflows.
- repeat_
every_ strduration - 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
- trigger_
params WorkflowAlert Trigger Params Args - wait str
- Wait this duration before executing
- workflow_
group_ strid - The group this workflow belongs to.
- cause
Ids List<String> - command String
- Workflow command
- command
Feedback BooleanEnabled - This will notify you back when the workflow is starting. Value must be one of true or false
- description String
- The description of the workflow
- enabled Boolean
- environment
Ids List<String> - functionality
Ids List<String> - group
Ids List<String> - incident
Role List<String>Ids - incident
Type List<String>Ids - name String
- The title of the workflow
- position Number
- The order which the workflow should run with other workflows.
- repeat
Every StringDuration - Repeat workflow every duration
- repeat
Ons List<String> - Repeat on weekdays. Value must be one of
S
,M
,T
,W
,R
,F
,U
. - service
Ids List<String> - severity
Ids List<String> - slug String
- The slug of the workflow
- trigger
Params Property Map - wait String
- Wait this duration before executing
- workflow
Group StringId - 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,
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,
name: Optional[str] = None,
position: 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,
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)
Resource lookup is not supported in YAML
- 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.
- Cause
Ids List<string> - Command string
- Workflow command
- Command
Feedback boolEnabled - This will notify you back when the workflow is starting. Value must be one of true or false
- Description string
- The description of the workflow
- Enabled bool
- Environment
Ids List<string> - Functionality
Ids List<string> - Group
Ids List<string> - Incident
Role List<string>Ids - Incident
Type List<string>Ids - Name string
- The title of the workflow
- Position int
- The order which the workflow should run with other workflows.
- Repeat
Every stringDuration - Repeat workflow every duration
- Repeat
Ons List<string> - Repeat on weekdays. Value must be one of
S
,M
,T
,W
,R
,F
,U
. - Service
Ids List<string> - Severity
Ids List<string> - Slug string
- The slug of the workflow
- Trigger
Params WorkflowAlert Trigger Params - Wait string
- Wait this duration before executing
- Workflow
Group stringId - The group this workflow belongs to.
- Cause
Ids []string - Command string
- Workflow command
- Command
Feedback boolEnabled - This will notify you back when the workflow is starting. Value must be one of true or false
- Description string
- The description of the workflow
- Enabled bool
- Environment
Ids []string - Functionality
Ids []string - Group
Ids []string - Incident
Role []stringIds - Incident
Type []stringIds - Name string
- The title of the workflow
- Position int
- The order which the workflow should run with other workflows.
- Repeat
Every stringDuration - Repeat workflow every duration
- Repeat
Ons []string - Repeat on weekdays. Value must be one of
S
,M
,T
,W
,R
,F
,U
. - Service
Ids []string - Severity
Ids []string - Slug string
- The slug of the workflow
- Trigger
Params WorkflowAlert Trigger Params Args - Wait string
- Wait this duration before executing
- Workflow
Group stringId - The group this workflow belongs to.
- cause
Ids List<String> - command String
- Workflow command
- command
Feedback BooleanEnabled - This will notify you back when the workflow is starting. Value must be one of true or false
- description String
- The description of the workflow
- enabled Boolean
- environment
Ids List<String> - functionality
Ids List<String> - group
Ids List<String> - incident
Role List<String>Ids - incident
Type List<String>Ids - name String
- The title of the workflow
- position Integer
- The order which the workflow should run with other workflows.
- repeat
Every StringDuration - Repeat workflow every duration
- repeat
Ons List<String> - Repeat on weekdays. Value must be one of
S
,M
,T
,W
,R
,F
,U
. - service
Ids List<String> - severity
Ids List<String> - slug String
- The slug of the workflow
- trigger
Params WorkflowAlert Trigger Params - wait_ String
- Wait this duration before executing
- workflow
Group StringId - The group this workflow belongs to.
- cause
Ids string[] - command string
- Workflow command
- command
Feedback booleanEnabled - This will notify you back when the workflow is starting. Value must be one of true or false
- description string
- The description of the workflow
- enabled boolean
- environment
Ids string[] - functionality
Ids string[] - group
Ids string[] - incident
Role string[]Ids - incident
Type string[]Ids - name string
- The title of the workflow
- position number
- The order which the workflow should run with other workflows.
- repeat
Every stringDuration - Repeat workflow every duration
- repeat
Ons string[] - Repeat on weekdays. Value must be one of
S
,M
,T
,W
,R
,F
,U
. - service
Ids string[] - severity
Ids string[] - slug string
- The slug of the workflow
- trigger
Params WorkflowAlert Trigger Params - wait string
- Wait this duration before executing
- workflow
Group stringId - The group this workflow belongs to.
- cause_
ids Sequence[str] - command str
- Workflow command
- command_
feedback_ boolenabled - This will notify you back when the workflow is starting. 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_ Sequence[str]ids - incident_
type_ Sequence[str]ids - name str
- The title of the workflow
- position int
- The order which the workflow should run with other workflows.
- repeat_
every_ strduration - 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
- trigger_
params WorkflowAlert Trigger Params Args - wait str
- Wait this duration before executing
- workflow_
group_ strid - The group this workflow belongs to.
- cause
Ids List<String> - command String
- Workflow command
- command
Feedback BooleanEnabled - This will notify you back when the workflow is starting. Value must be one of true or false
- description String
- The description of the workflow
- enabled Boolean
- environment
Ids List<String> - functionality
Ids List<String> - group
Ids List<String> - incident
Role List<String>Ids - incident
Type List<String>Ids - name String
- The title of the workflow
- position Number
- The order which the workflow should run with other workflows.
- repeat
Every StringDuration - Repeat workflow every duration
- repeat
Ons List<String> - Repeat on weekdays. Value must be one of
S
,M
,T
,W
,R
,F
,U
. - service
Ids List<String> - severity
Ids List<String> - slug String
- The slug of the workflow
- trigger
Params Property Map - wait String
- Wait this duration before executing
- workflow
Group StringId - The group this workflow belongs to.
Supporting Types
WorkflowAlertTriggerParams, WorkflowAlertTriggerParamsArgs
- Alert
Condition string - Value must be one off
ALL
,ANY
,NONE
. - Alert
Condition stringLabel - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Alert
Condition boolLabel Use Regexp - Value must be one of true or false
- Alert
Condition stringPayload - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Alert
Condition boolPayload Use Regexp - Value must be one of true or false
- Alert
Condition stringSource - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Alert
Condition boolSource Use Regexp - Value must be one of true or false
- Alert
Labels List<string> - Alert
Payloads List<string> - Alert
Query stringPayload - You can use jsonpath syntax. eg: $.incident.teams[*]
- Alert
Sources List<string> - Trigger
Type string - Value must be one off
alert
. - Triggers List<string>
- Actions that trigger the workflow. Value must be one of
alert_created
.
- Alert
Condition string - Value must be one off
ALL
,ANY
,NONE
. - Alert
Condition stringLabel - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Alert
Condition boolLabel Use Regexp - Value must be one of true or false
- Alert
Condition stringPayload - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Alert
Condition boolPayload Use Regexp - Value must be one of true or false
- Alert
Condition stringSource - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Alert
Condition boolSource Use Regexp - Value must be one of true or false
- Alert
Labels []string - Alert
Payloads []string - Alert
Query stringPayload - You can use jsonpath syntax. eg: $.incident.teams[*]
- Alert
Sources []string - Trigger
Type string - Value must be one off
alert
. - Triggers []string
- Actions that trigger the workflow. Value must be one of
alert_created
.
- alert
Condition String - Value must be one off
ALL
,ANY
,NONE
. - alert
Condition StringLabel - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - alert
Condition BooleanLabel Use Regexp - Value must be one of true or false
- alert
Condition StringPayload - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - alert
Condition BooleanPayload Use Regexp - Value must be one of true or false
- alert
Condition StringSource - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - alert
Condition BooleanSource Use Regexp - Value must be one of true or false
- alert
Labels List<String> - alert
Payloads List<String> - alert
Query StringPayload - You can use jsonpath syntax. eg: $.incident.teams[*]
- alert
Sources List<String> - trigger
Type String - Value must be one off
alert
. - triggers List<String>
- Actions that trigger the workflow. Value must be one of
alert_created
.
- alert
Condition string - Value must be one off
ALL
,ANY
,NONE
. - alert
Condition stringLabel - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - alert
Condition booleanLabel Use Regexp - Value must be one of true or false
- alert
Condition stringPayload - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - alert
Condition booleanPayload Use Regexp - Value must be one of true or false
- alert
Condition stringSource - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - alert
Condition booleanSource Use Regexp - Value must be one of true or false
- alert
Labels string[] - alert
Payloads string[] - alert
Query stringPayload - You can use jsonpath syntax. eg: $.incident.teams[*]
- alert
Sources string[] - trigger
Type string - Value must be one off
alert
. - triggers string[]
- Actions that trigger the workflow. Value must be one of
alert_created
.
- alert_
condition str - Value must be one off
ALL
,ANY
,NONE
. - alert_
condition_ strlabel - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - alert_
condition_ boollabel_ use_ regexp - Value must be one of true or false
- alert_
condition_ strpayload - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - alert_
condition_ boolpayload_ use_ regexp - Value must be one of true or false
- alert_
condition_ strsource - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - alert_
condition_ boolsource_ use_ regexp - Value must be one of true or false
- alert_
labels Sequence[str] - alert_
payloads Sequence[str] - alert_
query_ strpayload - You can use jsonpath syntax. eg: $.incident.teams[*]
- alert_
sources Sequence[str] - trigger_
type str - Value must be one off
alert
. - triggers Sequence[str]
- Actions that trigger the workflow. Value must be one of
alert_created
.
- alert
Condition String - Value must be one off
ALL
,ANY
,NONE
. - alert
Condition StringLabel - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - alert
Condition BooleanLabel Use Regexp - Value must be one of true or false
- alert
Condition StringPayload - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - alert
Condition BooleanPayload Use Regexp - Value must be one of true or false
- alert
Condition StringSource - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - alert
Condition BooleanSource Use Regexp - Value must be one of true or false
- alert
Labels List<String> - alert
Payloads List<String> - alert
Query StringPayload - You can use jsonpath syntax. eg: $.incident.teams[*]
- alert
Sources List<String> - trigger
Type String - Value must be one off
alert
. - triggers List<String>
- Actions that trigger the workflow. Value must be one of
alert_created
.
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootly
Terraform Provider.