1. Packages
  2. PagerDuty
  3. API Docs
  4. EventOrchestrationUnrouted
PagerDuty v4.11.4 published on Wednesday, Apr 17, 2024 by Pulumi

pagerduty.EventOrchestrationUnrouted

Explore with Pulumi AI

pagerduty logo
PagerDuty v4.11.4 published on Wednesday, Apr 17, 2024 by Pulumi

    An Unrouted Orchestration allows users to create a set of Event Rules that will be evaluated against all events that don’t match any rules in the Orchestration’s Router.

    The Unrouted Orchestration evaluates events sent to it against each of its rules, beginning with the rules in the “start” set. When a matching rule is found, it can modify and enhance the event and can route the event to another set of rules within this Unrouted Orchestration for further processing.

    Example of configuring Unrouted Rules for an Orchestration

    In this example of an Unrouted Orchestration, the rule matches only if the condition is matched. Alerts created for events that do not match the rule will have severity level set to info as defined in catch_all block.

    import * as pulumi from "@pulumi/pulumi";
    import * as pagerduty from "@pulumi/pagerduty";
    
    const unrouted = new pagerduty.EventOrchestrationUnrouted("unrouted", {
        eventOrchestration: pagerduty_event_orchestration.my_monitor.id,
        sets: [{
            id: "start",
            rules: [{
                label: "Update the summary of un-matched Critical alerts so they're easier to spot",
                conditions: [{
                    expression: "event.severity matches 'critical'",
                }],
                actions: {
                    severity: "critical",
                    extractions: [{
                        target: "event.summary",
                        template: "[Critical Unrouted] {{event.summary}}",
                    }],
                },
            }],
        }],
        catchAll: {
            actions: {
                severity: "info",
            },
        },
    });
    
    import pulumi
    import pulumi_pagerduty as pagerduty
    
    unrouted = pagerduty.EventOrchestrationUnrouted("unrouted",
        event_orchestration=pagerduty_event_orchestration["my_monitor"]["id"],
        sets=[pagerduty.EventOrchestrationUnroutedSetArgs(
            id="start",
            rules=[pagerduty.EventOrchestrationUnroutedSetRuleArgs(
                label="Update the summary of un-matched Critical alerts so they're easier to spot",
                conditions=[pagerduty.EventOrchestrationUnroutedSetRuleConditionArgs(
                    expression="event.severity matches 'critical'",
                )],
                actions=pagerduty.EventOrchestrationUnroutedSetRuleActionsArgs(
                    severity="critical",
                    extractions=[pagerduty.EventOrchestrationUnroutedSetRuleActionsExtractionArgs(
                        target="event.summary",
                        template="[Critical Unrouted] {{event.summary}}",
                    )],
                ),
            )],
        )],
        catch_all=pagerduty.EventOrchestrationUnroutedCatchAllArgs(
            actions=pagerduty.EventOrchestrationUnroutedCatchAllActionsArgs(
                severity="info",
            ),
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-pagerduty/sdk/v4/go/pagerduty"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := pagerduty.NewEventOrchestrationUnrouted(ctx, "unrouted", &pagerduty.EventOrchestrationUnroutedArgs{
    			EventOrchestration: pulumi.Any(pagerduty_event_orchestration.My_monitor.Id),
    			Sets: pagerduty.EventOrchestrationUnroutedSetArray{
    				&pagerduty.EventOrchestrationUnroutedSetArgs{
    					Id: pulumi.String("start"),
    					Rules: pagerduty.EventOrchestrationUnroutedSetRuleArray{
    						&pagerduty.EventOrchestrationUnroutedSetRuleArgs{
    							Label: pulumi.String("Update the summary of un-matched Critical alerts so they're easier to spot"),
    							Conditions: pagerduty.EventOrchestrationUnroutedSetRuleConditionArray{
    								&pagerduty.EventOrchestrationUnroutedSetRuleConditionArgs{
    									Expression: pulumi.String("event.severity matches 'critical'"),
    								},
    							},
    							Actions: &pagerduty.EventOrchestrationUnroutedSetRuleActionsArgs{
    								Severity: pulumi.String("critical"),
    								Extractions: pagerduty.EventOrchestrationUnroutedSetRuleActionsExtractionArray{
    									&pagerduty.EventOrchestrationUnroutedSetRuleActionsExtractionArgs{
    										Target:   pulumi.String("event.summary"),
    										Template: pulumi.String("[Critical Unrouted] {{event.summary}}"),
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			CatchAll: &pagerduty.EventOrchestrationUnroutedCatchAllArgs{
    				Actions: &pagerduty.EventOrchestrationUnroutedCatchAllActionsArgs{
    					Severity: pulumi.String("info"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pagerduty = Pulumi.Pagerduty;
    
    return await Deployment.RunAsync(() => 
    {
        var unrouted = new Pagerduty.EventOrchestrationUnrouted("unrouted", new()
        {
            EventOrchestration = pagerduty_event_orchestration.My_monitor.Id,
            Sets = new[]
            {
                new Pagerduty.Inputs.EventOrchestrationUnroutedSetArgs
                {
                    Id = "start",
                    Rules = new[]
                    {
                        new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleArgs
                        {
                            Label = "Update the summary of un-matched Critical alerts so they're easier to spot",
                            Conditions = new[]
                            {
                                new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleConditionArgs
                                {
                                    Expression = "event.severity matches 'critical'",
                                },
                            },
                            Actions = new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleActionsArgs
                            {
                                Severity = "critical",
                                Extractions = new[]
                                {
                                    new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleActionsExtractionArgs
                                    {
                                        Target = "event.summary",
                                        Template = "[Critical Unrouted] {{event.summary}}",
                                    },
                                },
                            },
                        },
                    },
                },
            },
            CatchAll = new Pagerduty.Inputs.EventOrchestrationUnroutedCatchAllArgs
            {
                Actions = new Pagerduty.Inputs.EventOrchestrationUnroutedCatchAllActionsArgs
                {
                    Severity = "info",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.pagerduty.EventOrchestrationUnrouted;
    import com.pulumi.pagerduty.EventOrchestrationUnroutedArgs;
    import com.pulumi.pagerduty.inputs.EventOrchestrationUnroutedSetArgs;
    import com.pulumi.pagerduty.inputs.EventOrchestrationUnroutedCatchAllArgs;
    import com.pulumi.pagerduty.inputs.EventOrchestrationUnroutedCatchAllActionsArgs;
    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 unrouted = new EventOrchestrationUnrouted("unrouted", EventOrchestrationUnroutedArgs.builder()        
                .eventOrchestration(pagerduty_event_orchestration.my_monitor().id())
                .sets(EventOrchestrationUnroutedSetArgs.builder()
                    .id("start")
                    .rules(EventOrchestrationUnroutedSetRuleArgs.builder()
                        .label("Update the summary of un-matched Critical alerts so they're easier to spot")
                        .conditions(EventOrchestrationUnroutedSetRuleConditionArgs.builder()
                            .expression("event.severity matches 'critical'")
                            .build())
                        .actions(EventOrchestrationUnroutedSetRuleActionsArgs.builder()
                            .severity("critical")
                            .extractions(EventOrchestrationUnroutedSetRuleActionsExtractionArgs.builder()
                                .target("event.summary")
                                .template("[Critical Unrouted] {{event.summary}}")
                                .build())
                            .build())
                        .build())
                    .build())
                .catchAll(EventOrchestrationUnroutedCatchAllArgs.builder()
                    .actions(EventOrchestrationUnroutedCatchAllActionsArgs.builder()
                        .severity("info")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      unrouted:
        type: pagerduty:EventOrchestrationUnrouted
        properties:
          eventOrchestration: ${pagerduty_event_orchestration.my_monitor.id}
          sets:
            - id: start
              rules:
                - label: Update the summary of un-matched Critical alerts so they're easier to spot
                  conditions:
                    - expression: event.severity matches 'critical'
                  actions:
                    severity: critical
                    extractions:
                      - target: event.summary
                        template: '[Critical Unrouted] {{event.summary}}'
          catchAll:
            actions:
              severity: info
    

    Create EventOrchestrationUnrouted Resource

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

    Constructor syntax

    new EventOrchestrationUnrouted(name: string, args: EventOrchestrationUnroutedArgs, opts?: CustomResourceOptions);
    @overload
    def EventOrchestrationUnrouted(resource_name: str,
                                   args: EventOrchestrationUnroutedArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def EventOrchestrationUnrouted(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   catch_all: Optional[EventOrchestrationUnroutedCatchAllArgs] = None,
                                   event_orchestration: Optional[str] = None,
                                   sets: Optional[Sequence[EventOrchestrationUnroutedSetArgs]] = None)
    func NewEventOrchestrationUnrouted(ctx *Context, name string, args EventOrchestrationUnroutedArgs, opts ...ResourceOption) (*EventOrchestrationUnrouted, error)
    public EventOrchestrationUnrouted(string name, EventOrchestrationUnroutedArgs args, CustomResourceOptions? opts = null)
    public EventOrchestrationUnrouted(String name, EventOrchestrationUnroutedArgs args)
    public EventOrchestrationUnrouted(String name, EventOrchestrationUnroutedArgs args, CustomResourceOptions options)
    
    type: pagerduty:EventOrchestrationUnrouted
    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 EventOrchestrationUnroutedArgs
    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 EventOrchestrationUnroutedArgs
    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 EventOrchestrationUnroutedArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventOrchestrationUnroutedArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EventOrchestrationUnroutedArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var eventOrchestrationUnroutedResource = new Pagerduty.EventOrchestrationUnrouted("eventOrchestrationUnroutedResource", new()
    {
        CatchAll = new Pagerduty.Inputs.EventOrchestrationUnroutedCatchAllArgs
        {
            Actions = new Pagerduty.Inputs.EventOrchestrationUnroutedCatchAllActionsArgs
            {
                EventAction = "string",
                Extractions = new[]
                {
                    new Pagerduty.Inputs.EventOrchestrationUnroutedCatchAllActionsExtractionArgs
                    {
                        Target = "string",
                        Regex = "string",
                        Source = "string",
                        Template = "string",
                    },
                },
                Severity = "string",
                Suppress = false,
                Variables = new[]
                {
                    new Pagerduty.Inputs.EventOrchestrationUnroutedCatchAllActionsVariableArgs
                    {
                        Name = "string",
                        Path = "string",
                        Type = "string",
                        Value = "string",
                    },
                },
            },
        },
        EventOrchestration = "string",
        Sets = new[]
        {
            new Pagerduty.Inputs.EventOrchestrationUnroutedSetArgs
            {
                Id = "string",
                Rules = new[]
                {
                    new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleArgs
                    {
                        Actions = new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleActionsArgs
                        {
                            EventAction = "string",
                            Extractions = new[]
                            {
                                new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleActionsExtractionArgs
                                {
                                    Target = "string",
                                    Regex = "string",
                                    Source = "string",
                                    Template = "string",
                                },
                            },
                            RouteTo = "string",
                            Severity = "string",
                            Variables = new[]
                            {
                                new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleActionsVariableArgs
                                {
                                    Name = "string",
                                    Path = "string",
                                    Type = "string",
                                    Value = "string",
                                },
                            },
                        },
                        Conditions = new[]
                        {
                            new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleConditionArgs
                            {
                                Expression = "string",
                            },
                        },
                        Disabled = false,
                        Id = "string",
                        Label = "string",
                    },
                },
            },
        },
    });
    
    example, err := pagerduty.NewEventOrchestrationUnrouted(ctx, "eventOrchestrationUnroutedResource", &pagerduty.EventOrchestrationUnroutedArgs{
    	CatchAll: &pagerduty.EventOrchestrationUnroutedCatchAllArgs{
    		Actions: &pagerduty.EventOrchestrationUnroutedCatchAllActionsArgs{
    			EventAction: pulumi.String("string"),
    			Extractions: pagerduty.EventOrchestrationUnroutedCatchAllActionsExtractionArray{
    				&pagerduty.EventOrchestrationUnroutedCatchAllActionsExtractionArgs{
    					Target:   pulumi.String("string"),
    					Regex:    pulumi.String("string"),
    					Source:   pulumi.String("string"),
    					Template: pulumi.String("string"),
    				},
    			},
    			Severity: pulumi.String("string"),
    			Suppress: pulumi.Bool(false),
    			Variables: pagerduty.EventOrchestrationUnroutedCatchAllActionsVariableArray{
    				&pagerduty.EventOrchestrationUnroutedCatchAllActionsVariableArgs{
    					Name:  pulumi.String("string"),
    					Path:  pulumi.String("string"),
    					Type:  pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	EventOrchestration: pulumi.String("string"),
    	Sets: pagerduty.EventOrchestrationUnroutedSetArray{
    		&pagerduty.EventOrchestrationUnroutedSetArgs{
    			Id: pulumi.String("string"),
    			Rules: pagerduty.EventOrchestrationUnroutedSetRuleArray{
    				&pagerduty.EventOrchestrationUnroutedSetRuleArgs{
    					Actions: &pagerduty.EventOrchestrationUnroutedSetRuleActionsArgs{
    						EventAction: pulumi.String("string"),
    						Extractions: pagerduty.EventOrchestrationUnroutedSetRuleActionsExtractionArray{
    							&pagerduty.EventOrchestrationUnroutedSetRuleActionsExtractionArgs{
    								Target:   pulumi.String("string"),
    								Regex:    pulumi.String("string"),
    								Source:   pulumi.String("string"),
    								Template: pulumi.String("string"),
    							},
    						},
    						RouteTo:  pulumi.String("string"),
    						Severity: pulumi.String("string"),
    						Variables: pagerduty.EventOrchestrationUnroutedSetRuleActionsVariableArray{
    							&pagerduty.EventOrchestrationUnroutedSetRuleActionsVariableArgs{
    								Name:  pulumi.String("string"),
    								Path:  pulumi.String("string"),
    								Type:  pulumi.String("string"),
    								Value: pulumi.String("string"),
    							},
    						},
    					},
    					Conditions: pagerduty.EventOrchestrationUnroutedSetRuleConditionArray{
    						&pagerduty.EventOrchestrationUnroutedSetRuleConditionArgs{
    							Expression: pulumi.String("string"),
    						},
    					},
    					Disabled: pulumi.Bool(false),
    					Id:       pulumi.String("string"),
    					Label:    pulumi.String("string"),
    				},
    			},
    		},
    	},
    })
    
    var eventOrchestrationUnroutedResource = new EventOrchestrationUnrouted("eventOrchestrationUnroutedResource", EventOrchestrationUnroutedArgs.builder()        
        .catchAll(EventOrchestrationUnroutedCatchAllArgs.builder()
            .actions(EventOrchestrationUnroutedCatchAllActionsArgs.builder()
                .eventAction("string")
                .extractions(EventOrchestrationUnroutedCatchAllActionsExtractionArgs.builder()
                    .target("string")
                    .regex("string")
                    .source("string")
                    .template("string")
                    .build())
                .severity("string")
                .suppress(false)
                .variables(EventOrchestrationUnroutedCatchAllActionsVariableArgs.builder()
                    .name("string")
                    .path("string")
                    .type("string")
                    .value("string")
                    .build())
                .build())
            .build())
        .eventOrchestration("string")
        .sets(EventOrchestrationUnroutedSetArgs.builder()
            .id("string")
            .rules(EventOrchestrationUnroutedSetRuleArgs.builder()
                .actions(EventOrchestrationUnroutedSetRuleActionsArgs.builder()
                    .eventAction("string")
                    .extractions(EventOrchestrationUnroutedSetRuleActionsExtractionArgs.builder()
                        .target("string")
                        .regex("string")
                        .source("string")
                        .template("string")
                        .build())
                    .routeTo("string")
                    .severity("string")
                    .variables(EventOrchestrationUnroutedSetRuleActionsVariableArgs.builder()
                        .name("string")
                        .path("string")
                        .type("string")
                        .value("string")
                        .build())
                    .build())
                .conditions(EventOrchestrationUnroutedSetRuleConditionArgs.builder()
                    .expression("string")
                    .build())
                .disabled(false)
                .id("string")
                .label("string")
                .build())
            .build())
        .build());
    
    event_orchestration_unrouted_resource = pagerduty.EventOrchestrationUnrouted("eventOrchestrationUnroutedResource",
        catch_all=pagerduty.EventOrchestrationUnroutedCatchAllArgs(
            actions=pagerduty.EventOrchestrationUnroutedCatchAllActionsArgs(
                event_action="string",
                extractions=[pagerduty.EventOrchestrationUnroutedCatchAllActionsExtractionArgs(
                    target="string",
                    regex="string",
                    source="string",
                    template="string",
                )],
                severity="string",
                suppress=False,
                variables=[pagerduty.EventOrchestrationUnroutedCatchAllActionsVariableArgs(
                    name="string",
                    path="string",
                    type="string",
                    value="string",
                )],
            ),
        ),
        event_orchestration="string",
        sets=[pagerduty.EventOrchestrationUnroutedSetArgs(
            id="string",
            rules=[pagerduty.EventOrchestrationUnroutedSetRuleArgs(
                actions=pagerduty.EventOrchestrationUnroutedSetRuleActionsArgs(
                    event_action="string",
                    extractions=[pagerduty.EventOrchestrationUnroutedSetRuleActionsExtractionArgs(
                        target="string",
                        regex="string",
                        source="string",
                        template="string",
                    )],
                    route_to="string",
                    severity="string",
                    variables=[pagerduty.EventOrchestrationUnroutedSetRuleActionsVariableArgs(
                        name="string",
                        path="string",
                        type="string",
                        value="string",
                    )],
                ),
                conditions=[pagerduty.EventOrchestrationUnroutedSetRuleConditionArgs(
                    expression="string",
                )],
                disabled=False,
                id="string",
                label="string",
            )],
        )])
    
    const eventOrchestrationUnroutedResource = new pagerduty.EventOrchestrationUnrouted("eventOrchestrationUnroutedResource", {
        catchAll: {
            actions: {
                eventAction: "string",
                extractions: [{
                    target: "string",
                    regex: "string",
                    source: "string",
                    template: "string",
                }],
                severity: "string",
                suppress: false,
                variables: [{
                    name: "string",
                    path: "string",
                    type: "string",
                    value: "string",
                }],
            },
        },
        eventOrchestration: "string",
        sets: [{
            id: "string",
            rules: [{
                actions: {
                    eventAction: "string",
                    extractions: [{
                        target: "string",
                        regex: "string",
                        source: "string",
                        template: "string",
                    }],
                    routeTo: "string",
                    severity: "string",
                    variables: [{
                        name: "string",
                        path: "string",
                        type: "string",
                        value: "string",
                    }],
                },
                conditions: [{
                    expression: "string",
                }],
                disabled: false,
                id: "string",
                label: "string",
            }],
        }],
    });
    
    type: pagerduty:EventOrchestrationUnrouted
    properties:
        catchAll:
            actions:
                eventAction: string
                extractions:
                    - regex: string
                      source: string
                      target: string
                      template: string
                severity: string
                suppress: false
                variables:
                    - name: string
                      path: string
                      type: string
                      value: string
        eventOrchestration: string
        sets:
            - id: string
              rules:
                - actions:
                    eventAction: string
                    extractions:
                        - regex: string
                          source: string
                          target: string
                          template: string
                    routeTo: string
                    severity: string
                    variables:
                        - name: string
                          path: string
                          type: string
                          value: string
                  conditions:
                    - expression: string
                  disabled: false
                  id: string
                  label: string
    

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

    CatchAll EventOrchestrationUnroutedCatchAll
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    EventOrchestration string
    The Event Orchestration to which this Unrouted Orchestration belongs to.
    Sets List<EventOrchestrationUnroutedSet>
    An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    CatchAll EventOrchestrationUnroutedCatchAllArgs
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    EventOrchestration string
    The Event Orchestration to which this Unrouted Orchestration belongs to.
    Sets []EventOrchestrationUnroutedSetArgs
    An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    catchAll EventOrchestrationUnroutedCatchAll
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    eventOrchestration String
    The Event Orchestration to which this Unrouted Orchestration belongs to.
    sets List<EventOrchestrationUnroutedSet>
    An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    catchAll EventOrchestrationUnroutedCatchAll
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    eventOrchestration string
    The Event Orchestration to which this Unrouted Orchestration belongs to.
    sets EventOrchestrationUnroutedSet[]
    An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    catch_all EventOrchestrationUnroutedCatchAllArgs
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    event_orchestration str
    The Event Orchestration to which this Unrouted Orchestration belongs to.
    sets Sequence[EventOrchestrationUnroutedSetArgs]
    An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    catchAll Property Map
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    eventOrchestration String
    The Event Orchestration to which this Unrouted Orchestration belongs to.
    sets List<Property Map>
    An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.

    Outputs

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

    Get an existing EventOrchestrationUnrouted 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?: EventOrchestrationUnroutedState, opts?: CustomResourceOptions): EventOrchestrationUnrouted
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            catch_all: Optional[EventOrchestrationUnroutedCatchAllArgs] = None,
            event_orchestration: Optional[str] = None,
            sets: Optional[Sequence[EventOrchestrationUnroutedSetArgs]] = None) -> EventOrchestrationUnrouted
    func GetEventOrchestrationUnrouted(ctx *Context, name string, id IDInput, state *EventOrchestrationUnroutedState, opts ...ResourceOption) (*EventOrchestrationUnrouted, error)
    public static EventOrchestrationUnrouted Get(string name, Input<string> id, EventOrchestrationUnroutedState? state, CustomResourceOptions? opts = null)
    public static EventOrchestrationUnrouted get(String name, Output<String> id, EventOrchestrationUnroutedState 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.
    The following state arguments are supported:
    CatchAll EventOrchestrationUnroutedCatchAll
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    EventOrchestration string
    The Event Orchestration to which this Unrouted Orchestration belongs to.
    Sets List<EventOrchestrationUnroutedSet>
    An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    CatchAll EventOrchestrationUnroutedCatchAllArgs
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    EventOrchestration string
    The Event Orchestration to which this Unrouted Orchestration belongs to.
    Sets []EventOrchestrationUnroutedSetArgs
    An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    catchAll EventOrchestrationUnroutedCatchAll
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    eventOrchestration String
    The Event Orchestration to which this Unrouted Orchestration belongs to.
    sets List<EventOrchestrationUnroutedSet>
    An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    catchAll EventOrchestrationUnroutedCatchAll
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    eventOrchestration string
    The Event Orchestration to which this Unrouted Orchestration belongs to.
    sets EventOrchestrationUnroutedSet[]
    An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    catch_all EventOrchestrationUnroutedCatchAllArgs
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    event_orchestration str
    The Event Orchestration to which this Unrouted Orchestration belongs to.
    sets Sequence[EventOrchestrationUnroutedSetArgs]
    An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
    catchAll Property Map
    the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.
    eventOrchestration String
    The Event Orchestration to which this Unrouted Orchestration belongs to.
    sets List<Property Map>
    An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.

    Supporting Types

    EventOrchestrationUnroutedCatchAll, EventOrchestrationUnroutedCatchAllArgs

    Actions EventOrchestrationUnroutedCatchAllActions
    These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.
    Actions EventOrchestrationUnroutedCatchAllActions
    These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.
    actions EventOrchestrationUnroutedCatchAllActions
    These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.
    actions EventOrchestrationUnroutedCatchAllActions
    These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.
    actions EventOrchestrationUnroutedCatchAllActions
    These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.
    actions Property Map
    These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.

    EventOrchestrationUnroutedCatchAllActions, EventOrchestrationUnroutedCatchAllActionsArgs

    EventAction string
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    Extractions List<EventOrchestrationUnroutedCatchAllActionsExtraction>
    Replace any CEF field or Custom Details object field using custom variables.
    Severity string
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    Suppress bool
    Variables List<EventOrchestrationUnroutedCatchAllActionsVariable>
    Populate variables from event payloads and use those variables in other event actions.
    EventAction string
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    Extractions []EventOrchestrationUnroutedCatchAllActionsExtraction
    Replace any CEF field or Custom Details object field using custom variables.
    Severity string
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    Suppress bool
    Variables []EventOrchestrationUnroutedCatchAllActionsVariable
    Populate variables from event payloads and use those variables in other event actions.
    eventAction String
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    extractions List<EventOrchestrationUnroutedCatchAllActionsExtraction>
    Replace any CEF field or Custom Details object field using custom variables.
    severity String
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    suppress Boolean
    variables List<EventOrchestrationUnroutedCatchAllActionsVariable>
    Populate variables from event payloads and use those variables in other event actions.
    eventAction string
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    extractions EventOrchestrationUnroutedCatchAllActionsExtraction[]
    Replace any CEF field or Custom Details object field using custom variables.
    severity string
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    suppress boolean
    variables EventOrchestrationUnroutedCatchAllActionsVariable[]
    Populate variables from event payloads and use those variables in other event actions.
    event_action str
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    extractions Sequence[EventOrchestrationUnroutedCatchAllActionsExtraction]
    Replace any CEF field or Custom Details object field using custom variables.
    severity str
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    suppress bool
    variables Sequence[EventOrchestrationUnroutedCatchAllActionsVariable]
    Populate variables from event payloads and use those variables in other event actions.
    eventAction String
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    extractions List<Property Map>
    Replace any CEF field or Custom Details object field using custom variables.
    severity String
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    suppress Boolean
    variables List<Property Map>
    Populate variables from event payloads and use those variables in other event actions.

    EventOrchestrationUnroutedCatchAllActionsExtraction, EventOrchestrationUnroutedCatchAllActionsExtractionArgs

    Target string
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    Regex string
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    Source string
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    Template string
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    Target string
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    Regex string
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    Source string
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    Template string
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    target String
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    regex String
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    source String
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    template String
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    target string
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    regex string
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    source string
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    template string
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    target str
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    regex str
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    source str
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    template str
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    target String
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    regex String
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    source String
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    template String
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}

    EventOrchestrationUnroutedCatchAllActionsVariable, EventOrchestrationUnroutedCatchAllActionsVariableArgs

    Name string
    The name of the variable
    Path string
    Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
    Type string
    Only regex is supported
    Value string
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    Name string
    The name of the variable
    Path string
    Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
    Type string
    Only regex is supported
    Value string
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    name String
    The name of the variable
    path String
    Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
    type String
    Only regex is supported
    value String
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    name string
    The name of the variable
    path string
    Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
    type string
    Only regex is supported
    value string
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    name str
    The name of the variable
    path str
    Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
    type str
    Only regex is supported
    value str
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    name String
    The name of the variable
    path String
    Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
    type String
    Only regex is supported
    value String
    The Regex expression to match against. Must use valid RE2 regular expression syntax.

    EventOrchestrationUnroutedSet, EventOrchestrationUnroutedSetArgs

    Id string
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    Rules List<EventOrchestrationUnroutedSetRule>
    Id string
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    Rules []EventOrchestrationUnroutedSetRule
    id String
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    rules List<EventOrchestrationUnroutedSetRule>
    id string
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    rules EventOrchestrationUnroutedSetRule[]
    id str
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    rules Sequence[EventOrchestrationUnroutedSetRule]
    id String
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    rules List<Property Map>

    EventOrchestrationUnroutedSetRule, EventOrchestrationUnroutedSetRuleArgs

    Actions EventOrchestrationUnroutedSetRuleActions
    Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
    Conditions List<EventOrchestrationUnroutedSetRuleCondition>
    Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.
    Disabled bool
    Indicates whether the rule is disabled and would therefore not be evaluated.
    Id string
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    Label string
    A description of this rule's purpose.
    Actions EventOrchestrationUnroutedSetRuleActions
    Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
    Conditions []EventOrchestrationUnroutedSetRuleCondition
    Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.
    Disabled bool
    Indicates whether the rule is disabled and would therefore not be evaluated.
    Id string
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    Label string
    A description of this rule's purpose.
    actions EventOrchestrationUnroutedSetRuleActions
    Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
    conditions List<EventOrchestrationUnroutedSetRuleCondition>
    Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.
    disabled Boolean
    Indicates whether the rule is disabled and would therefore not be evaluated.
    id String
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    label String
    A description of this rule's purpose.
    actions EventOrchestrationUnroutedSetRuleActions
    Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
    conditions EventOrchestrationUnroutedSetRuleCondition[]
    Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.
    disabled boolean
    Indicates whether the rule is disabled and would therefore not be evaluated.
    id string
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    label string
    A description of this rule's purpose.
    actions EventOrchestrationUnroutedSetRuleActions
    Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
    conditions Sequence[EventOrchestrationUnroutedSetRuleCondition]
    Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.
    disabled bool
    Indicates whether the rule is disabled and would therefore not be evaluated.
    id str
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    label str
    A description of this rule's purpose.
    actions Property Map
    Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
    conditions List<Property Map>
    Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.
    disabled Boolean
    Indicates whether the rule is disabled and would therefore not be evaluated.
    id String
    The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.
    label String
    A description of this rule's purpose.

    EventOrchestrationUnroutedSetRuleActions, EventOrchestrationUnroutedSetRuleActionsArgs

    EventAction string
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    Extractions List<EventOrchestrationUnroutedSetRuleActionsExtraction>
    Replace any CEF field or Custom Details object field using custom variables.
    RouteTo string
    The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.
    Severity string
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    Variables List<EventOrchestrationUnroutedSetRuleActionsVariable>
    Populate variables from event payloads and use those variables in other event actions.
    EventAction string
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    Extractions []EventOrchestrationUnroutedSetRuleActionsExtraction
    Replace any CEF field or Custom Details object field using custom variables.
    RouteTo string
    The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.
    Severity string
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    Variables []EventOrchestrationUnroutedSetRuleActionsVariable
    Populate variables from event payloads and use those variables in other event actions.
    eventAction String
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    extractions List<EventOrchestrationUnroutedSetRuleActionsExtraction>
    Replace any CEF field or Custom Details object field using custom variables.
    routeTo String
    The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.
    severity String
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    variables List<EventOrchestrationUnroutedSetRuleActionsVariable>
    Populate variables from event payloads and use those variables in other event actions.
    eventAction string
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    extractions EventOrchestrationUnroutedSetRuleActionsExtraction[]
    Replace any CEF field or Custom Details object field using custom variables.
    routeTo string
    The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.
    severity string
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    variables EventOrchestrationUnroutedSetRuleActionsVariable[]
    Populate variables from event payloads and use those variables in other event actions.
    event_action str
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    extractions Sequence[EventOrchestrationUnroutedSetRuleActionsExtraction]
    Replace any CEF field or Custom Details object field using custom variables.
    route_to str
    The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.
    severity str
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    variables Sequence[EventOrchestrationUnroutedSetRuleActionsVariable]
    Populate variables from event payloads and use those variables in other event actions.
    eventAction String
    sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve
    extractions List<Property Map>
    Replace any CEF field or Custom Details object field using custom variables.
    routeTo String
    The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.
    severity String
    sets Severity of the resulting alert. Allowed values are: info, error, warning, critical
    variables List<Property Map>
    Populate variables from event payloads and use those variables in other event actions.

    EventOrchestrationUnroutedSetRuleActionsExtraction, EventOrchestrationUnroutedSetRuleActionsExtractionArgs

    Target string
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    Regex string
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    Source string
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    Template string
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    Target string
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    Regex string
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    Source string
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    Template string
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    target String
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    regex String
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    source String
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    template String
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    target string
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    regex string
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    source string
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    template string
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    target str
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    regex str
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    source str
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    template str
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
    target String
    The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.
    regex String
    A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.
    source String
    The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.
    template String
    A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

    • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
    • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}

    EventOrchestrationUnroutedSetRuleActionsVariable, EventOrchestrationUnroutedSetRuleActionsVariableArgs

    Name string
    The name of the variable
    Path string
    Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
    Type string
    Only regex is supported
    Value string
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    Name string
    The name of the variable
    Path string
    Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
    Type string
    Only regex is supported
    Value string
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    name String
    The name of the variable
    path String
    Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
    type String
    Only regex is supported
    value String
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    name string
    The name of the variable
    path string
    Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
    type string
    Only regex is supported
    value string
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    name str
    The name of the variable
    path str
    Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
    type str
    Only regex is supported
    value str
    The Regex expression to match against. Must use valid RE2 regular expression syntax.
    name String
    The name of the variable
    path String
    Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.
    type String
    Only regex is supported
    value String
    The Regex expression to match against. Must use valid RE2 regular expression syntax.

    EventOrchestrationUnroutedSetRuleCondition, EventOrchestrationUnroutedSetRuleConditionArgs

    Expression string
    A PCL condition string.
    Expression string
    A PCL condition string.
    expression String
    A PCL condition string.
    expression string
    A PCL condition string.
    expression String
    A PCL condition string.

    Import

    Unrouted Orchestration can be imported using the id of the Event Orchestration, e.g.

    $ pulumi import pagerduty:index/eventOrchestrationUnrouted:EventOrchestrationUnrouted unrouted 1b49abe7-26db-4439-a715-c6d883acfb3e
    

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

    Package Details

    Repository
    PagerDuty pulumi/pulumi-pagerduty
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the pagerduty Terraform Provider.
    pagerduty logo
    PagerDuty v4.11.4 published on Wednesday, Apr 17, 2024 by Pulumi