Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly
rootly.WorkflowIncident
Explore with Pulumi AI
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rootly = Pulumi.Rootly;
return await Deployment.RunAsync(() =>
{
var critical = Rootly.GetSeverity.Invoke(new()
{
Slug = "sev0",
});
var my_workflow = new Rootly.WorkflowIncident("my-workflow", new()
{
Description = "This workflow will trigger when an incident is created and severity is critical",
TriggerParams = new Rootly.Inputs.WorkflowIncidentTriggerParamsArgs
{
Triggers = new[]
{
"incident_created",
},
IncidentConditionKind = "IS",
IncidentKinds = new[]
{
"normal",
},
IncidentConditionStatus = "IS",
IncidentStatuses = new[]
{
"started",
},
IncidentConditionSeverity = "IS",
},
SeverityIds = new[]
{
critical.Apply(getSeverityResult => getSeverityResult.Id),
},
Enabled = true,
});
});
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 {
critical, err := rootly.LookupSeverity(ctx, &rootly.LookupSeverityArgs{
Slug: pulumi.StringRef("sev0"),
}, nil)
if err != nil {
return err
}
_, err = rootly.NewWorkflowIncident(ctx, "my-workflow", &rootly.WorkflowIncidentArgs{
Description: pulumi.String("This workflow will trigger when an incident is created and severity is critical"),
TriggerParams: &rootly.WorkflowIncidentTriggerParamsArgs{
Triggers: pulumi.StringArray{
pulumi.String("incident_created"),
},
IncidentConditionKind: pulumi.String("IS"),
IncidentKinds: pulumi.StringArray{
pulumi.String("normal"),
},
IncidentConditionStatus: pulumi.String("IS"),
IncidentStatuses: pulumi.StringArray{
pulumi.String("started"),
},
IncidentConditionSeverity: pulumi.String("IS"),
},
SeverityIds: pulumi.StringArray{
*pulumi.String(critical.Id),
},
Enabled: pulumi.Bool(true),
})
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.RootlyFunctions;
import com.pulumi.rootly.inputs.GetSeverityArgs;
import com.pulumi.rootly.WorkflowIncident;
import com.pulumi.rootly.WorkflowIncidentArgs;
import com.pulumi.rootly.inputs.WorkflowIncidentTriggerParamsArgs;
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) {
final var critical = RootlyFunctions.getSeverity(GetSeverityArgs.builder()
.slug("sev0")
.build());
var my_workflow = new WorkflowIncident("my-workflow", WorkflowIncidentArgs.builder()
.description("This workflow will trigger when an incident is created and severity is critical")
.triggerParams(WorkflowIncidentTriggerParamsArgs.builder()
.triggers("incident_created")
.incidentConditionKind("IS")
.incidentKinds("normal")
.incidentConditionStatus("IS")
.incidentStatuses("started")
.incidentConditionSeverity("IS")
.build())
.severityIds(critical.applyValue(getSeverityResult -> getSeverityResult.id()))
.enabled(true)
.build());
}
}
import pulumi
import pulumi_rootly as rootly
critical = rootly.get_severity(slug="sev0")
my_workflow = rootly.WorkflowIncident("my-workflow",
description="This workflow will trigger when an incident is created and severity is critical",
trigger_params=rootly.WorkflowIncidentTriggerParamsArgs(
triggers=["incident_created"],
incident_condition_kind="IS",
incident_kinds=["normal"],
incident_condition_status="IS",
incident_statuses=["started"],
incident_condition_severity="IS",
),
severity_ids=[critical.id],
enabled=True)
import * as pulumi from "@pulumi/pulumi";
import * as rootly from "@pulumi/rootly";
const critical = rootly.getSeverity({
slug: "sev0",
});
const my_workflow = new rootly.WorkflowIncident("my-workflow", {
description: "This workflow will trigger when an incident is created and severity is critical",
triggerParams: {
triggers: ["incident_created"],
incidentConditionKind: "IS",
incidentKinds: ["normal"],
incidentConditionStatus: "IS",
incidentStatuses: ["started"],
incidentConditionSeverity: "IS",
},
severityIds: [critical.then(critical => critical.id)],
enabled: true,
});
resources:
my-workflow:
type: rootly:WorkflowIncident
properties:
description: This workflow will trigger when an incident is created and severity is critical
triggerParams:
triggers:
- incident_created
incidentConditionKind: IS
incidentKinds:
- normal
incidentConditionStatus: IS
incidentStatuses:
- started
incidentConditionSeverity: IS
severityIds:
- ${critical.id}
enabled: true
variables:
critical:
fn::invoke:
Function: rootly:getSeverity
Arguments:
slug: sev0
Create WorkflowIncident Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkflowIncident(name: string, args?: WorkflowIncidentArgs, opts?: CustomResourceOptions);
@overload
def WorkflowIncident(resource_name: str,
args: Optional[WorkflowIncidentArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def WorkflowIncident(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[WorkflowIncidentTriggerParamsArgs] = None,
wait: Optional[str] = None,
workflow_group_id: Optional[str] = None)
func NewWorkflowIncident(ctx *Context, name string, args *WorkflowIncidentArgs, opts ...ResourceOption) (*WorkflowIncident, error)
public WorkflowIncident(string name, WorkflowIncidentArgs? args = null, CustomResourceOptions? opts = null)
public WorkflowIncident(String name, WorkflowIncidentArgs args)
public WorkflowIncident(String name, WorkflowIncidentArgs args, CustomResourceOptions options)
type: rootly:WorkflowIncident
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 WorkflowIncidentArgs
- 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 WorkflowIncidentArgs
- 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 WorkflowIncidentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkflowIncidentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkflowIncidentArgs
- 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 workflowIncidentResource = new Rootly.WorkflowIncident("workflowIncidentResource", 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.WorkflowIncidentTriggerParamsArgs
{
IncidentCondition = "string",
IncidentConditionAcknowledgedAt = "string",
IncidentConditionCause = "string",
IncidentConditionDetectedAt = "string",
IncidentConditionEnvironment = "string",
IncidentConditionFunctionality = "string",
IncidentConditionGroup = "string",
IncidentConditionIncidentRoles = "string",
IncidentConditionIncidentType = "string",
IncidentConditionKind = "string",
IncidentConditionMitigatedAt = "string",
IncidentConditionResolvedAt = "string",
IncidentConditionService = "string",
IncidentConditionSeverity = "string",
IncidentConditionStartedAt = "string",
IncidentConditionStatus = "string",
IncidentConditionSummary = "string",
IncidentConditionVisibility = "string",
IncidentConditionalInactivity = "string",
IncidentInactivityDuration = "string",
IncidentKinds = new[]
{
"string",
},
IncidentPostMortemConditionCause = "string",
IncidentStatuses = new[]
{
"string",
},
IncidentVisibilities = new[]
{
"string",
},
TriggerType = "string",
Triggers = new[]
{
"string",
},
},
Wait = "string",
WorkflowGroupId = "string",
});
example, err := rootly.NewWorkflowIncident(ctx, "workflowIncidentResource", &rootly.WorkflowIncidentArgs{
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.WorkflowIncidentTriggerParamsArgs{
IncidentCondition: pulumi.String("string"),
IncidentConditionAcknowledgedAt: pulumi.String("string"),
IncidentConditionCause: pulumi.String("string"),
IncidentConditionDetectedAt: pulumi.String("string"),
IncidentConditionEnvironment: pulumi.String("string"),
IncidentConditionFunctionality: pulumi.String("string"),
IncidentConditionGroup: pulumi.String("string"),
IncidentConditionIncidentRoles: pulumi.String("string"),
IncidentConditionIncidentType: pulumi.String("string"),
IncidentConditionKind: pulumi.String("string"),
IncidentConditionMitigatedAt: pulumi.String("string"),
IncidentConditionResolvedAt: pulumi.String("string"),
IncidentConditionService: pulumi.String("string"),
IncidentConditionSeverity: pulumi.String("string"),
IncidentConditionStartedAt: pulumi.String("string"),
IncidentConditionStatus: pulumi.String("string"),
IncidentConditionSummary: pulumi.String("string"),
IncidentConditionVisibility: pulumi.String("string"),
IncidentConditionalInactivity: pulumi.String("string"),
IncidentInactivityDuration: pulumi.String("string"),
IncidentKinds: pulumi.StringArray{
pulumi.String("string"),
},
IncidentPostMortemConditionCause: pulumi.String("string"),
IncidentStatuses: pulumi.StringArray{
pulumi.String("string"),
},
IncidentVisibilities: pulumi.StringArray{
pulumi.String("string"),
},
TriggerType: pulumi.String("string"),
Triggers: pulumi.StringArray{
pulumi.String("string"),
},
},
Wait: pulumi.String("string"),
WorkflowGroupId: pulumi.String("string"),
})
var workflowIncidentResource = new WorkflowIncident("workflowIncidentResource", WorkflowIncidentArgs.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(WorkflowIncidentTriggerParamsArgs.builder()
.incidentCondition("string")
.incidentConditionAcknowledgedAt("string")
.incidentConditionCause("string")
.incidentConditionDetectedAt("string")
.incidentConditionEnvironment("string")
.incidentConditionFunctionality("string")
.incidentConditionGroup("string")
.incidentConditionIncidentRoles("string")
.incidentConditionIncidentType("string")
.incidentConditionKind("string")
.incidentConditionMitigatedAt("string")
.incidentConditionResolvedAt("string")
.incidentConditionService("string")
.incidentConditionSeverity("string")
.incidentConditionStartedAt("string")
.incidentConditionStatus("string")
.incidentConditionSummary("string")
.incidentConditionVisibility("string")
.incidentConditionalInactivity("string")
.incidentInactivityDuration("string")
.incidentKinds("string")
.incidentPostMortemConditionCause("string")
.incidentStatuses("string")
.incidentVisibilities("string")
.triggerType("string")
.triggers("string")
.build())
.wait("string")
.workflowGroupId("string")
.build());
workflow_incident_resource = rootly.WorkflowIncident("workflowIncidentResource",
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.WorkflowIncidentTriggerParamsArgs(
incident_condition="string",
incident_condition_acknowledged_at="string",
incident_condition_cause="string",
incident_condition_detected_at="string",
incident_condition_environment="string",
incident_condition_functionality="string",
incident_condition_group="string",
incident_condition_incident_roles="string",
incident_condition_incident_type="string",
incident_condition_kind="string",
incident_condition_mitigated_at="string",
incident_condition_resolved_at="string",
incident_condition_service="string",
incident_condition_severity="string",
incident_condition_started_at="string",
incident_condition_status="string",
incident_condition_summary="string",
incident_condition_visibility="string",
incident_conditional_inactivity="string",
incident_inactivity_duration="string",
incident_kinds=["string"],
incident_post_mortem_condition_cause="string",
incident_statuses=["string"],
incident_visibilities=["string"],
trigger_type="string",
triggers=["string"],
),
wait="string",
workflow_group_id="string")
const workflowIncidentResource = new rootly.WorkflowIncident("workflowIncidentResource", {
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: {
incidentCondition: "string",
incidentConditionAcknowledgedAt: "string",
incidentConditionCause: "string",
incidentConditionDetectedAt: "string",
incidentConditionEnvironment: "string",
incidentConditionFunctionality: "string",
incidentConditionGroup: "string",
incidentConditionIncidentRoles: "string",
incidentConditionIncidentType: "string",
incidentConditionKind: "string",
incidentConditionMitigatedAt: "string",
incidentConditionResolvedAt: "string",
incidentConditionService: "string",
incidentConditionSeverity: "string",
incidentConditionStartedAt: "string",
incidentConditionStatus: "string",
incidentConditionSummary: "string",
incidentConditionVisibility: "string",
incidentConditionalInactivity: "string",
incidentInactivityDuration: "string",
incidentKinds: ["string"],
incidentPostMortemConditionCause: "string",
incidentStatuses: ["string"],
incidentVisibilities: ["string"],
triggerType: "string",
triggers: ["string"],
},
wait: "string",
workflowGroupId: "string",
});
type: rootly:WorkflowIncident
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:
incidentCondition: string
incidentConditionAcknowledgedAt: string
incidentConditionCause: string
incidentConditionDetectedAt: string
incidentConditionEnvironment: string
incidentConditionFunctionality: string
incidentConditionGroup: string
incidentConditionIncidentRoles: string
incidentConditionIncidentType: string
incidentConditionKind: string
incidentConditionMitigatedAt: string
incidentConditionResolvedAt: string
incidentConditionService: string
incidentConditionSeverity: string
incidentConditionStartedAt: string
incidentConditionStatus: string
incidentConditionSummary: string
incidentConditionVisibility: string
incidentConditionalInactivity: string
incidentInactivityDuration: string
incidentKinds:
- string
incidentPostMortemConditionCause: string
incidentStatuses:
- string
incidentVisibilities:
- string
triggerType: string
triggers:
- string
wait: string
workflowGroupId: string
WorkflowIncident 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 WorkflowIncident 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 WorkflowIncident 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 WorkflowIncident 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 WorkflowIncident 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 WorkflowIncident 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 WorkflowIncident 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 WorkflowIncident 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 WorkflowIncident Resource
Get an existing WorkflowIncident 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?: WorkflowIncidentState, opts?: CustomResourceOptions): WorkflowIncident
@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[WorkflowIncidentTriggerParamsArgs] = None,
wait: Optional[str] = None,
workflow_group_id: Optional[str] = None) -> WorkflowIncident
func GetWorkflowIncident(ctx *Context, name string, id IDInput, state *WorkflowIncidentState, opts ...ResourceOption) (*WorkflowIncident, error)
public static WorkflowIncident Get(string name, Input<string> id, WorkflowIncidentState? state, CustomResourceOptions? opts = null)
public static WorkflowIncident get(String name, Output<String> id, WorkflowIncidentState 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 WorkflowIncident 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 WorkflowIncident 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 WorkflowIncident 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 WorkflowIncident 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 WorkflowIncident 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
WorkflowIncidentTriggerParams, WorkflowIncidentTriggerParamsArgs
- Incident
Condition string - Value must be one off
ALL
,ANY
,NONE
. - Incident
Condition stringAcknowledged At - Incident
Condition stringCause - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringDetected At - Incident
Condition stringEnvironment - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringFunctionality - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringGroup - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringIncident Roles - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringIncident Type - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringKind - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringMitigated At - Incident
Condition stringResolved At - Incident
Condition stringService - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringSeverity - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringStarted At - Incident
Condition stringStatus - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringSummary - Incident
Condition stringVisibility - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Conditional stringInactivity - Incident
Inactivity stringDuration - ex. 10 min, 1h, 3 days, 2 weeks
- Incident
Kinds List<string> - Value must be one of
test
,test_sub
,example
,example_sub
,normal
,normal_sub
,backfilled
,scheduled
. - Incident
Post stringMortem Condition Cause - [DEPRECATED] Use incidentconditioncause instead. Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Statuses List<string> - Value must be one of
in_triage
,started
,detected
,acknowledged
,mitigated
,resolved
,cancelled
,scheduled
,in_progress
,completed
. - Incident
Visibilities List<string> - Trigger
Type string - Value must be one off
incident
. - Triggers List<string>
- Actions that trigger the workflow. One of customfields.\n\n.updated, incidentintriage, incidentcreated, incidentstarted, incidentupdated, titleupdated, summaryupdated, statusupdated, severityupdated, environmentsadded, environmentsremoved, environmentsupdated, incidenttypesadded, incidenttypesremoved, incidenttypesupdated, servicesadded, servicesremoved, servicesupdated, functionalitiesadded, functionalitiesremoved, functionalitiesupdated, teamsadded, teamsremoved, teamsupdated, causesadded, causesremoved, causesupdated, timelineupdated, statuspagetimelineupdated, roleassignmentsupdated, roleassignmentsadded, roleassignmentsremoved, slackcommand, slackchannelcreated, slackchannelconverted, subscribersupdated, subscribersadded, subscribersremoved, userjoinedslackchannel, userleftslack_channel
- Incident
Condition string - Value must be one off
ALL
,ANY
,NONE
. - Incident
Condition stringAcknowledged At - Incident
Condition stringCause - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringDetected At - Incident
Condition stringEnvironment - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringFunctionality - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringGroup - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringIncident Roles - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringIncident Type - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringKind - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringMitigated At - Incident
Condition stringResolved At - Incident
Condition stringService - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringSeverity - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringStarted At - Incident
Condition stringStatus - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Condition stringSummary - Incident
Condition stringVisibility - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Conditional stringInactivity - Incident
Inactivity stringDuration - ex. 10 min, 1h, 3 days, 2 weeks
- Incident
Kinds []string - Value must be one of
test
,test_sub
,example
,example_sub
,normal
,normal_sub
,backfilled
,scheduled
. - Incident
Post stringMortem Condition Cause - [DEPRECATED] Use incidentconditioncause instead. Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Incident
Statuses []string - Value must be one of
in_triage
,started
,detected
,acknowledged
,mitigated
,resolved
,cancelled
,scheduled
,in_progress
,completed
. - Incident
Visibilities []string - Trigger
Type string - Value must be one off
incident
. - Triggers []string
- Actions that trigger the workflow. One of customfields.\n\n.updated, incidentintriage, incidentcreated, incidentstarted, incidentupdated, titleupdated, summaryupdated, statusupdated, severityupdated, environmentsadded, environmentsremoved, environmentsupdated, incidenttypesadded, incidenttypesremoved, incidenttypesupdated, servicesadded, servicesremoved, servicesupdated, functionalitiesadded, functionalitiesremoved, functionalitiesupdated, teamsadded, teamsremoved, teamsupdated, causesadded, causesremoved, causesupdated, timelineupdated, statuspagetimelineupdated, roleassignmentsupdated, roleassignmentsadded, roleassignmentsremoved, slackcommand, slackchannelcreated, slackchannelconverted, subscribersupdated, subscribersadded, subscribersremoved, userjoinedslackchannel, userleftslack_channel
- incident
Condition String - Value must be one off
ALL
,ANY
,NONE
. - incident
Condition StringAcknowledged At - incident
Condition StringCause - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringDetected At - incident
Condition StringEnvironment - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringFunctionality - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringGroup - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringIncident Roles - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringIncident Type - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringKind - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringMitigated At - incident
Condition StringResolved At - incident
Condition StringService - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringSeverity - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringStarted At - incident
Condition StringStatus - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringSummary - incident
Condition StringVisibility - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Conditional StringInactivity - incident
Inactivity StringDuration - ex. 10 min, 1h, 3 days, 2 weeks
- incident
Kinds List<String> - Value must be one of
test
,test_sub
,example
,example_sub
,normal
,normal_sub
,backfilled
,scheduled
. - incident
Post StringMortem Condition Cause - [DEPRECATED] Use incidentconditioncause instead. Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Statuses List<String> - Value must be one of
in_triage
,started
,detected
,acknowledged
,mitigated
,resolved
,cancelled
,scheduled
,in_progress
,completed
. - incident
Visibilities List<String> - trigger
Type String - Value must be one off
incident
. - triggers List<String>
- Actions that trigger the workflow. One of customfields.\n\n.updated, incidentintriage, incidentcreated, incidentstarted, incidentupdated, titleupdated, summaryupdated, statusupdated, severityupdated, environmentsadded, environmentsremoved, environmentsupdated, incidenttypesadded, incidenttypesremoved, incidenttypesupdated, servicesadded, servicesremoved, servicesupdated, functionalitiesadded, functionalitiesremoved, functionalitiesupdated, teamsadded, teamsremoved, teamsupdated, causesadded, causesremoved, causesupdated, timelineupdated, statuspagetimelineupdated, roleassignmentsupdated, roleassignmentsadded, roleassignmentsremoved, slackcommand, slackchannelcreated, slackchannelconverted, subscribersupdated, subscribersadded, subscribersremoved, userjoinedslackchannel, userleftslack_channel
- incident
Condition string - Value must be one off
ALL
,ANY
,NONE
. - incident
Condition stringAcknowledged At - incident
Condition stringCause - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition stringDetected At - incident
Condition stringEnvironment - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition stringFunctionality - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition stringGroup - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition stringIncident Roles - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition stringIncident Type - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition stringKind - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition stringMitigated At - incident
Condition stringResolved At - incident
Condition stringService - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition stringSeverity - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition stringStarted At - incident
Condition stringStatus - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition stringSummary - incident
Condition stringVisibility - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Conditional stringInactivity - incident
Inactivity stringDuration - ex. 10 min, 1h, 3 days, 2 weeks
- incident
Kinds string[] - Value must be one of
test
,test_sub
,example
,example_sub
,normal
,normal_sub
,backfilled
,scheduled
. - incident
Post stringMortem Condition Cause - [DEPRECATED] Use incidentconditioncause instead. Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Statuses string[] - Value must be one of
in_triage
,started
,detected
,acknowledged
,mitigated
,resolved
,cancelled
,scheduled
,in_progress
,completed
. - incident
Visibilities string[] - trigger
Type string - Value must be one off
incident
. - triggers string[]
- Actions that trigger the workflow. One of customfields.\n\n.updated, incidentintriage, incidentcreated, incidentstarted, incidentupdated, titleupdated, summaryupdated, statusupdated, severityupdated, environmentsadded, environmentsremoved, environmentsupdated, incidenttypesadded, incidenttypesremoved, incidenttypesupdated, servicesadded, servicesremoved, servicesupdated, functionalitiesadded, functionalitiesremoved, functionalitiesupdated, teamsadded, teamsremoved, teamsupdated, causesadded, causesremoved, causesupdated, timelineupdated, statuspagetimelineupdated, roleassignmentsupdated, roleassignmentsadded, roleassignmentsremoved, slackcommand, slackchannelcreated, slackchannelconverted, subscribersupdated, subscribersadded, subscribersremoved, userjoinedslackchannel, userleftslack_channel
- incident_
condition str - Value must be one off
ALL
,ANY
,NONE
. - incident_
condition_ stracknowledged_ at - incident_
condition_ strcause - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident_
condition_ strdetected_ at - incident_
condition_ strenvironment - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident_
condition_ strfunctionality - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident_
condition_ strgroup - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident_
condition_ strincident_ roles - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident_
condition_ strincident_ type - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident_
condition_ strkind - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident_
condition_ strmitigated_ at - incident_
condition_ strresolved_ at - incident_
condition_ strservice - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident_
condition_ strseverity - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident_
condition_ strstarted_ at - incident_
condition_ strstatus - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident_
condition_ strsummary - incident_
condition_ strvisibility - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident_
conditional_ strinactivity - incident_
inactivity_ strduration - ex. 10 min, 1h, 3 days, 2 weeks
- incident_
kinds Sequence[str] - Value must be one of
test
,test_sub
,example
,example_sub
,normal
,normal_sub
,backfilled
,scheduled
. - incident_
post_ strmortem_ condition_ cause - [DEPRECATED] Use incidentconditioncause instead. Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident_
statuses Sequence[str] - Value must be one of
in_triage
,started
,detected
,acknowledged
,mitigated
,resolved
,cancelled
,scheduled
,in_progress
,completed
. - incident_
visibilities Sequence[str] - trigger_
type str - Value must be one off
incident
. - triggers Sequence[str]
- Actions that trigger the workflow. One of customfields.\n\n.updated, incidentintriage, incidentcreated, incidentstarted, incidentupdated, titleupdated, summaryupdated, statusupdated, severityupdated, environmentsadded, environmentsremoved, environmentsupdated, incidenttypesadded, incidenttypesremoved, incidenttypesupdated, servicesadded, servicesremoved, servicesupdated, functionalitiesadded, functionalitiesremoved, functionalitiesupdated, teamsadded, teamsremoved, teamsupdated, causesadded, causesremoved, causesupdated, timelineupdated, statuspagetimelineupdated, roleassignmentsupdated, roleassignmentsadded, roleassignmentsremoved, slackcommand, slackchannelcreated, slackchannelconverted, subscribersupdated, subscribersadded, subscribersremoved, userjoinedslackchannel, userleftslack_channel
- incident
Condition String - Value must be one off
ALL
,ANY
,NONE
. - incident
Condition StringAcknowledged At - incident
Condition StringCause - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringDetected At - incident
Condition StringEnvironment - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringFunctionality - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringGroup - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringIncident Roles - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringIncident Type - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringKind - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringMitigated At - incident
Condition StringResolved At - incident
Condition StringService - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringSeverity - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringStarted At - incident
Condition StringStatus - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Condition StringSummary - incident
Condition StringVisibility - Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Conditional StringInactivity - incident
Inactivity StringDuration - ex. 10 min, 1h, 3 days, 2 weeks
- incident
Kinds List<String> - Value must be one of
test
,test_sub
,example
,example_sub
,normal
,normal_sub
,backfilled
,scheduled
. - incident
Post StringMortem Condition Cause - [DEPRECATED] Use incidentconditioncause instead. Value must be one off
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - incident
Statuses List<String> - Value must be one of
in_triage
,started
,detected
,acknowledged
,mitigated
,resolved
,cancelled
,scheduled
,in_progress
,completed
. - incident
Visibilities List<String> - trigger
Type String - Value must be one off
incident
. - triggers List<String>
- Actions that trigger the workflow. One of customfields.\n\n.updated, incidentintriage, incidentcreated, incidentstarted, incidentupdated, titleupdated, summaryupdated, statusupdated, severityupdated, environmentsadded, environmentsremoved, environmentsupdated, incidenttypesadded, incidenttypesremoved, incidenttypesupdated, servicesadded, servicesremoved, servicesupdated, functionalitiesadded, functionalitiesremoved, functionalitiesupdated, teamsadded, teamsremoved, teamsupdated, causesadded, causesremoved, causesupdated, timelineupdated, statuspagetimelineupdated, roleassignmentsupdated, roleassignmentsadded, roleassignmentsremoved, slackcommand, slackchannelcreated, slackchannelconverted, subscribersupdated, subscribersadded, subscribersremoved, userjoinedslackchannel, userleftslack_channel
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootly
Terraform Provider.