1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. resiliencehub
  6. V2UserJourney
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi

    Resource for managing an AWS Resilience Hub V2 User Journey.

    A user journey describes a critical end-user path or business capability within a system (e.g., “Path to purchase”, “Order fulfillment”). User journeys reference services and can have resilience policies applied at the journey level.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.resiliencehub.V2System("example", {name: "example-system"});
    const exampleV2UserJourney = new aws.resiliencehub.V2UserJourney("example", {
        systemArn: example.arn,
        name: "example-user-journey",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.resiliencehub.V2System("example", name="example-system")
    example_v2_user_journey = aws.resiliencehub.V2UserJourney("example",
        system_arn=example.arn,
        name="example-user-journey")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/resiliencehub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := resiliencehub.NewV2System(ctx, "example", &resiliencehub.V2SystemArgs{
    			Name: pulumi.String("example-system"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = resiliencehub.NewV2UserJourney(ctx, "example", &resiliencehub.V2UserJourneyArgs{
    			SystemArn: example.Arn,
    			Name:      pulumi.String("example-user-journey"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.ResilienceHub.V2System("example", new()
        {
            Name = "example-system",
        });
    
        var exampleV2UserJourney = new Aws.ResilienceHub.V2UserJourney("example", new()
        {
            SystemArn = example.Arn,
            Name = "example-user-journey",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.resiliencehub.V2System;
    import com.pulumi.aws.resiliencehub.V2SystemArgs;
    import com.pulumi.aws.resiliencehub.V2UserJourney;
    import com.pulumi.aws.resiliencehub.V2UserJourneyArgs;
    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 example = new V2System("example", V2SystemArgs.builder()
                .name("example-system")
                .build());
    
            var exampleV2UserJourney = new V2UserJourney("exampleV2UserJourney", V2UserJourneyArgs.builder()
                .systemArn(example.arn())
                .name("example-user-journey")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:resiliencehub:V2System
        properties:
          name: example-system
      exampleV2UserJourney:
        type: aws:resiliencehub:V2UserJourney
        name: example
        properties:
          systemArn: ${example.arn}
          name: example-user-journey
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_resiliencehub_v2system" "example" {
      name = "example-system"
    }
    resource "aws_resiliencehub_v2userjourney" "example" {
      system_arn = aws_resiliencehub_v2system.example.arn
      name       = "example-user-journey"
    }
    

    With Policy

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.resiliencehub.V2System("example", {name: "example-system"});
    const exampleV2Policy = new aws.resiliencehub.V2Policy("example", {
        availabilitySlo: {
            target: 99.9,
        },
        name: "example-policy",
    });
    const exampleV2UserJourney = new aws.resiliencehub.V2UserJourney("example", {
        systemArn: example.arn,
        name: "checkout-flow",
        description: "End-to-end checkout user journey",
        policyArn: exampleV2Policy.arn,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.resiliencehub.V2System("example", name="example-system")
    example_v2_policy = aws.resiliencehub.V2Policy("example",
        availability_slo={
            "target": 99.9,
        },
        name="example-policy")
    example_v2_user_journey = aws.resiliencehub.V2UserJourney("example",
        system_arn=example.arn,
        name="checkout-flow",
        description="End-to-end checkout user journey",
        policy_arn=example_v2_policy.arn)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/resiliencehub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := resiliencehub.NewV2System(ctx, "example", &resiliencehub.V2SystemArgs{
    			Name: pulumi.String("example-system"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleV2Policy, err := resiliencehub.NewV2Policy(ctx, "example", &resiliencehub.V2PolicyArgs{
    			AvailabilitySlo: &resiliencehub.V2PolicyAvailabilitySloArgs{
    				Target: pulumi.Float64(99.9),
    			},
    			Name: pulumi.String("example-policy"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = resiliencehub.NewV2UserJourney(ctx, "example", &resiliencehub.V2UserJourneyArgs{
    			SystemArn:   example.Arn,
    			Name:        pulumi.String("checkout-flow"),
    			Description: pulumi.String("End-to-end checkout user journey"),
    			PolicyArn:   exampleV2Policy.Arn,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.ResilienceHub.V2System("example", new()
        {
            Name = "example-system",
        });
    
        var exampleV2Policy = new Aws.ResilienceHub.V2Policy("example", new()
        {
            AvailabilitySlo = new Aws.ResilienceHub.Inputs.V2PolicyAvailabilitySloArgs
            {
                Target = 99.9,
            },
            Name = "example-policy",
        });
    
        var exampleV2UserJourney = new Aws.ResilienceHub.V2UserJourney("example", new()
        {
            SystemArn = example.Arn,
            Name = "checkout-flow",
            Description = "End-to-end checkout user journey",
            PolicyArn = exampleV2Policy.Arn,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.resiliencehub.V2System;
    import com.pulumi.aws.resiliencehub.V2SystemArgs;
    import com.pulumi.aws.resiliencehub.V2Policy;
    import com.pulumi.aws.resiliencehub.V2PolicyArgs;
    import com.pulumi.aws.resiliencehub.inputs.V2PolicyAvailabilitySloArgs;
    import com.pulumi.aws.resiliencehub.V2UserJourney;
    import com.pulumi.aws.resiliencehub.V2UserJourneyArgs;
    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 example = new V2System("example", V2SystemArgs.builder()
                .name("example-system")
                .build());
    
            var exampleV2Policy = new V2Policy("exampleV2Policy", V2PolicyArgs.builder()
                .availabilitySlo(V2PolicyAvailabilitySloArgs.builder()
                    .target(99.9)
                    .build())
                .name("example-policy")
                .build());
    
            var exampleV2UserJourney = new V2UserJourney("exampleV2UserJourney", V2UserJourneyArgs.builder()
                .systemArn(example.arn())
                .name("checkout-flow")
                .description("End-to-end checkout user journey")
                .policyArn(exampleV2Policy.arn())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:resiliencehub:V2System
        properties:
          name: example-system
      exampleV2Policy:
        type: aws:resiliencehub:V2Policy
        name: example
        properties:
          availabilitySlo:
            target: 99.9
          name: example-policy
      exampleV2UserJourney:
        type: aws:resiliencehub:V2UserJourney
        name: example
        properties:
          systemArn: ${example.arn}
          name: checkout-flow
          description: End-to-end checkout user journey
          policyArn: ${exampleV2Policy.arn}
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_resiliencehub_v2system" "example" {
      name = "example-system"
    }
    resource "aws_resiliencehub_v2policy" "example" {
      availability_slo = {
        target = 99.9
      }
      name = "example-policy"
    }
    resource "aws_resiliencehub_v2userjourney" "example" {
      system_arn  = aws_resiliencehub_v2system.example.arn
      name        = "checkout-flow"
      description = "End-to-end checkout user journey"
      policy_arn  = aws_resiliencehub_v2policy.example.arn
    }
    

    Create V2UserJourney Resource

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

    Constructor syntax

    new V2UserJourney(name: string, args: V2UserJourneyArgs, opts?: CustomResourceOptions);
    @overload
    def V2UserJourney(resource_name: str,
                      args: V2UserJourneyArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def V2UserJourney(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      system_arn: Optional[str] = None,
                      description: Optional[str] = None,
                      name: Optional[str] = None,
                      policy_arn: Optional[str] = None,
                      region: Optional[str] = None)
    func NewV2UserJourney(ctx *Context, name string, args V2UserJourneyArgs, opts ...ResourceOption) (*V2UserJourney, error)
    public V2UserJourney(string name, V2UserJourneyArgs args, CustomResourceOptions? opts = null)
    public V2UserJourney(String name, V2UserJourneyArgs args)
    public V2UserJourney(String name, V2UserJourneyArgs args, CustomResourceOptions options)
    
    type: aws:resiliencehub:V2UserJourney
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_resiliencehub_v2_user_journey" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args V2UserJourneyArgs
    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 V2UserJourneyArgs
    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 V2UserJourneyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args V2UserJourneyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args V2UserJourneyArgs
    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 v2userJourneyResource = new Aws.ResilienceHub.V2UserJourney("v2userJourneyResource", new()
    {
        SystemArn = "string",
        Description = "string",
        Name = "string",
        PolicyArn = "string",
        Region = "string",
    });
    
    example, err := resiliencehub.NewV2UserJourney(ctx, "v2userJourneyResource", &resiliencehub.V2UserJourneyArgs{
    	SystemArn:   pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	PolicyArn:   pulumi.String("string"),
    	Region:      pulumi.String("string"),
    })
    
    resource "aws_resiliencehub_v2_user_journey" "v2userJourneyResource" {
      lifecycle {
        create_before_destroy = true
      }
      system_arn  = "string"
      description = "string"
      name        = "string"
      policy_arn  = "string"
      region      = "string"
    }
    
    var v2userJourneyResource = new V2UserJourney("v2userJourneyResource", V2UserJourneyArgs.builder()
        .systemArn("string")
        .description("string")
        .name("string")
        .policyArn("string")
        .region("string")
        .build());
    
    v2user_journey_resource = aws.resiliencehub.V2UserJourney("v2userJourneyResource",
        system_arn="string",
        description="string",
        name="string",
        policy_arn="string",
        region="string")
    
    const v2userJourneyResource = new aws.resiliencehub.V2UserJourney("v2userJourneyResource", {
        systemArn: "string",
        description: "string",
        name: "string",
        policyArn: "string",
        region: "string",
    });
    
    type: aws:resiliencehub:V2UserJourney
    properties:
        description: string
        name: string
        policyArn: string
        region: string
        systemArn: string
    

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

    SystemArn string

    ARN of the system this user journey belongs to. Changing this value requires creating a new resource.

    The following arguments are optional:

    Description string
    Description of the user journey.
    Name string
    Name of the user journey.
    PolicyArn string
    ARN of the resilience policy to associate with this user journey.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    SystemArn string

    ARN of the system this user journey belongs to. Changing this value requires creating a new resource.

    The following arguments are optional:

    Description string
    Description of the user journey.
    Name string
    Name of the user journey.
    PolicyArn string
    ARN of the resilience policy to associate with this user journey.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    system_arn string

    ARN of the system this user journey belongs to. Changing this value requires creating a new resource.

    The following arguments are optional:

    description string
    Description of the user journey.
    name string
    Name of the user journey.
    policy_arn string
    ARN of the resilience policy to associate with this user journey.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    systemArn String

    ARN of the system this user journey belongs to. Changing this value requires creating a new resource.

    The following arguments are optional:

    description String
    Description of the user journey.
    name String
    Name of the user journey.
    policyArn String
    ARN of the resilience policy to associate with this user journey.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    systemArn string

    ARN of the system this user journey belongs to. Changing this value requires creating a new resource.

    The following arguments are optional:

    description string
    Description of the user journey.
    name string
    Name of the user journey.
    policyArn string
    ARN of the resilience policy to associate with this user journey.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    system_arn str

    ARN of the system this user journey belongs to. Changing this value requires creating a new resource.

    The following arguments are optional:

    description str
    Description of the user journey.
    name str
    Name of the user journey.
    policy_arn str
    ARN of the resilience policy to associate with this user journey.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    systemArn String

    ARN of the system this user journey belongs to. Changing this value requires creating a new resource.

    The following arguments are optional:

    description String
    Description of the user journey.
    name String
    Name of the user journey.
    policyArn String
    ARN of the resilience policy to associate with this user journey.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    UserJourneyId string
    Unique identifier of the user journey.
    Id string
    The provider-assigned unique ID for this managed resource.
    UserJourneyId string
    Unique identifier of the user journey.
    id string
    The provider-assigned unique ID for this managed resource.
    user_journey_id string
    Unique identifier of the user journey.
    id String
    The provider-assigned unique ID for this managed resource.
    userJourneyId String
    Unique identifier of the user journey.
    id string
    The provider-assigned unique ID for this managed resource.
    userJourneyId string
    Unique identifier of the user journey.
    id str
    The provider-assigned unique ID for this managed resource.
    user_journey_id str
    Unique identifier of the user journey.
    id String
    The provider-assigned unique ID for this managed resource.
    userJourneyId String
    Unique identifier of the user journey.

    Look up Existing V2UserJourney Resource

    Get an existing V2UserJourney 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?: V2UserJourneyState, opts?: CustomResourceOptions): V2UserJourney
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            policy_arn: Optional[str] = None,
            region: Optional[str] = None,
            system_arn: Optional[str] = None,
            user_journey_id: Optional[str] = None) -> V2UserJourney
    func GetV2UserJourney(ctx *Context, name string, id IDInput, state *V2UserJourneyState, opts ...ResourceOption) (*V2UserJourney, error)
    public static V2UserJourney Get(string name, Input<string> id, V2UserJourneyState? state, CustomResourceOptions? opts = null)
    public static V2UserJourney get(String name, Output<String> id, V2UserJourneyState state, CustomResourceOptions options)
    resources:  _:    type: aws:resiliencehub:V2UserJourney    get:      id: ${id}
    import {
      to = aws_resiliencehub_v2_user_journey.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:
    Description string
    Description of the user journey.
    Name string
    Name of the user journey.
    PolicyArn string
    ARN of the resilience policy to associate with this user journey.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    SystemArn string

    ARN of the system this user journey belongs to. Changing this value requires creating a new resource.

    The following arguments are optional:

    UserJourneyId string
    Unique identifier of the user journey.
    Description string
    Description of the user journey.
    Name string
    Name of the user journey.
    PolicyArn string
    ARN of the resilience policy to associate with this user journey.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    SystemArn string

    ARN of the system this user journey belongs to. Changing this value requires creating a new resource.

    The following arguments are optional:

    UserJourneyId string
    Unique identifier of the user journey.
    description string
    Description of the user journey.
    name string
    Name of the user journey.
    policy_arn string
    ARN of the resilience policy to associate with this user journey.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    system_arn string

    ARN of the system this user journey belongs to. Changing this value requires creating a new resource.

    The following arguments are optional:

    user_journey_id string
    Unique identifier of the user journey.
    description String
    Description of the user journey.
    name String
    Name of the user journey.
    policyArn String
    ARN of the resilience policy to associate with this user journey.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    systemArn String

    ARN of the system this user journey belongs to. Changing this value requires creating a new resource.

    The following arguments are optional:

    userJourneyId String
    Unique identifier of the user journey.
    description string
    Description of the user journey.
    name string
    Name of the user journey.
    policyArn string
    ARN of the resilience policy to associate with this user journey.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    systemArn string

    ARN of the system this user journey belongs to. Changing this value requires creating a new resource.

    The following arguments are optional:

    userJourneyId string
    Unique identifier of the user journey.
    description str
    Description of the user journey.
    name str
    Name of the user journey.
    policy_arn str
    ARN of the resilience policy to associate with this user journey.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    system_arn str

    ARN of the system this user journey belongs to. Changing this value requires creating a new resource.

    The following arguments are optional:

    user_journey_id str
    Unique identifier of the user journey.
    description String
    Description of the user journey.
    name String
    Name of the user journey.
    policyArn String
    ARN of the resilience policy to associate with this user journey.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    systemArn String

    ARN of the system this user journey belongs to. Changing this value requires creating a new resource.

    The following arguments are optional:

    userJourneyId String
    Unique identifier of the user journey.

    Import

    Identity Schema

    Required

    • systemArn (String) ARN of the system this user journey belongs to.
    • userJourneyId (String) Unique identifier of the user journey.

    Optional

    • accountId (String) AWS Account where this resource is managed.
    • region (String) Region where this resource is managed.

    Using pulumi import, import Resilience Hub V2 User Journey using the systemArn and userJourneyId separated by a comma (,). For example:

    $ pulumi import aws:resiliencehub/v2UserJourney:V2UserJourney example arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123,12345678-1234-1234-1234-123456789012
    

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

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.46.0
    published on Thursday, Sep 10, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial