1. Registry
  2. Packages
  3. Datadog Provider
  4. API Docs
  5. RumOperationJourneyLink
Viewing docs for Datadog v5.17.1
published on Tuesday, Oct 27, 2026 by Pulumi
datadog logo
Viewing docs for Datadog v5.17.1
published on Tuesday, Oct 27, 2026 by Pulumi

    Provides a Datadog RUM Operation journey link resource. This links a RUM operation to a journey. Links managed by this resource are always confirmed; an existing draft or rejected link between the same operation and journey is confirmed on creation.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as datadog from "@pulumi/datadog";
    
    const checkout = new datadog.RumOperationJourneyLink("checkout", {
        operationId: checkoutDatadogRumOperation.id,
        journeyId: "<journey_id>",
    });
    
    import pulumi
    import pulumi_datadog as datadog
    
    checkout = datadog.RumOperationJourneyLink("checkout",
        operation_id=checkout_datadog_rum_operation["id"],
        journey_id="<journey_id>")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-datadog/sdk/v5/go/datadog"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datadog.NewRumOperationJourneyLink(ctx, "checkout", &datadog.RumOperationJourneyLinkArgs{
    			OperationId: pulumi.Any(checkoutDatadogRumOperation.Id),
    			JourneyId:   pulumi.String("<journey_id>"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Datadog = Pulumi.Datadog;
    
    return await Deployment.RunAsync(() => 
    {
        var checkout = new Datadog.RumOperationJourneyLink("checkout", new()
        {
            OperationId = checkoutDatadogRumOperation.Id,
            JourneyId = "<journey_id>",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.datadog.RumOperationJourneyLink;
    import com.pulumi.datadog.RumOperationJourneyLinkArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 checkout = new RumOperationJourneyLink("checkout", RumOperationJourneyLinkArgs.builder()
                .operationId(checkoutDatadogRumOperation.get("id"))
                .journeyId("<journey_id>")
                .build());
    
        }
    }
    
    resources:
      checkout:
        type: datadog:RumOperationJourneyLink
        properties:
          operationId: ${checkoutDatadogRumOperation.id}
          journeyId: <journey_id>
    
    terraform {
      required_providers {
        datadog = {
          source = "pulumi/datadog"
        }
      }
    }
    
    resource "datadog_rum_operation_journey_link" "checkout" {
      lifecycle {
        create_before_destroy = true
      }
      operation_id = checkoutDatadogRumOperation.id
      journey_id   = "<journey_id>"
    }
    

    Create RumOperationJourneyLink Resource

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

    Constructor syntax

    new RumOperationJourneyLink(name: string, args: RumOperationJourneyLinkArgs, opts?: CustomResourceOptions);
    @overload
    def RumOperationJourneyLink(resource_name: str,
                                args: RumOperationJourneyLinkArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def RumOperationJourneyLink(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                journey_id: Optional[str] = None,
                                operation_id: Optional[str] = None)
    func NewRumOperationJourneyLink(ctx *Context, name string, args RumOperationJourneyLinkArgs, opts ...ResourceOption) (*RumOperationJourneyLink, error)
    public RumOperationJourneyLink(string name, RumOperationJourneyLinkArgs args, CustomResourceOptions? opts = null)
    public RumOperationJourneyLink(String name, RumOperationJourneyLinkArgs args)
    public RumOperationJourneyLink(String name, RumOperationJourneyLinkArgs args, CustomResourceOptions options)
    
    type: datadog:RumOperationJourneyLink
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "datadog_rum_operation_journey_link" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args RumOperationJourneyLinkArgs
    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 RumOperationJourneyLinkArgs
    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 RumOperationJourneyLinkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RumOperationJourneyLinkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RumOperationJourneyLinkArgs
    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 rumOperationJourneyLinkResource = new Datadog.RumOperationJourneyLink("rumOperationJourneyLinkResource", new()
    {
        JourneyId = "string",
        OperationId = "string",
    });
    
    example, err := datadog.NewRumOperationJourneyLink(ctx, "rumOperationJourneyLinkResource", &datadog.RumOperationJourneyLinkArgs{
    	JourneyId:   pulumi.String("string"),
    	OperationId: pulumi.String("string"),
    })
    
    resource "datadog_rum_operation_journey_link" "rumOperationJourneyLinkResource" {
      lifecycle {
        create_before_destroy = true
      }
      journey_id   = "string"
      operation_id = "string"
    }
    
    var rumOperationJourneyLinkResource = new RumOperationJourneyLink("rumOperationJourneyLinkResource", RumOperationJourneyLinkArgs.builder()
        .journeyId("string")
        .operationId("string")
        .build());
    
    rum_operation_journey_link_resource = datadog.RumOperationJourneyLink("rumOperationJourneyLinkResource",
        journey_id="string",
        operation_id="string")
    
    const rumOperationJourneyLinkResource = new datadog.RumOperationJourneyLink("rumOperationJourneyLinkResource", {
        journeyId: "string",
        operationId: "string",
    });
    
    type: datadog:RumOperationJourneyLink
    properties:
        journeyId: string
        operationId: string
    

    RumOperationJourneyLink Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RumOperationJourneyLink resource accepts the following input properties:

    JourneyId string
    ID of the journey.
    OperationId string
    ID of the RUM operation.
    JourneyId string
    ID of the journey.
    OperationId string
    ID of the RUM operation.
    journey_id string
    ID of the journey.
    operation_id string
    ID of the RUM operation.
    journeyId String
    ID of the journey.
    operationId String
    ID of the RUM operation.
    journeyId string
    ID of the journey.
    operationId string
    ID of the RUM operation.
    journey_id str
    ID of the journey.
    operation_id str
    ID of the RUM operation.
    journeyId String
    ID of the journey.
    operationId String
    ID of the RUM operation.

    Outputs

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

    Get an existing RumOperationJourneyLink 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?: RumOperationJourneyLinkState, opts?: CustomResourceOptions): RumOperationJourneyLink
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            journey_id: Optional[str] = None,
            operation_id: Optional[str] = None) -> RumOperationJourneyLink
    func GetRumOperationJourneyLink(ctx *Context, name string, id IDInput, state *RumOperationJourneyLinkState, opts ...ResourceOption) (*RumOperationJourneyLink, error)
    public static RumOperationJourneyLink Get(string name, Input<string> id, RumOperationJourneyLinkState? state, CustomResourceOptions? opts = null)
    public static RumOperationJourneyLink get(String name, Output<String> id, RumOperationJourneyLinkState state, CustomResourceOptions options)
    resources:  _:    type: datadog:RumOperationJourneyLink    get:      id: ${id}
    import {
      to = datadog_rum_operation_journey_link.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    JourneyId string
    ID of the journey.
    OperationId string
    ID of the RUM operation.
    JourneyId string
    ID of the journey.
    OperationId string
    ID of the RUM operation.
    journey_id string
    ID of the journey.
    operation_id string
    ID of the RUM operation.
    journeyId String
    ID of the journey.
    operationId String
    ID of the RUM operation.
    journeyId string
    ID of the journey.
    operationId string
    ID of the RUM operation.
    journey_id str
    ID of the journey.
    operation_id str
    ID of the RUM operation.
    journeyId String
    ID of the journey.
    operationId String
    ID of the RUM operation.

    Import

    The pulumi import command can be used, for example:

    $ pulumi import datadog:index/rumOperationJourneyLink:RumOperationJourneyLink checkout "<operation_id>:<journey_id>"
    

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

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the datadog Terraform Provider.
    datadog logo
    Viewing docs for Datadog v5.17.1
    published on Tuesday, Oct 27, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial